Hanqing Li Hanqing Li 李汉青


Model selection chooses among candidate procedures; aggregation combines them. Both aim to mimic the best candidate while paying only a controlled complexity price.

Penalized selection

A penalty should compensate for searching over many models.

Definition. Given models \(\mathcal F_m\), a penalized selector chooses \[ \hat m\in\operatorname*{argmin}_m\left\{\inf_{f\in\mathcal F_m}P_n\ell_f+\operatorname{pen}(m)\right\}. \]

Proposition. If \(\operatorname{pen}(m)\) dominates the stochastic fluctuation of model \(m\), then the selected estimator satisfies an oracle inequality of the form \[ R(\hat f_{\hat m})\le C\inf_m\{\inf_{f\in\mathcal F_m}R(f)+\operatorname{pen}(m)\} \] with high probability.

Proof. The penalized optimality inequality compares \(\hat m\) with an arbitrary \(m\). Add and subtract population risks in both selected and comparison models. The penalty domination absorbs the empirical-process fluctuations, leaving the population oracle expression.

Holdout and cross-validation

Sample splitting estimates risk on data not used for fitting.

Definition. In holdout selection, train candidate estimators \(\hat f_m^{\mathrm{tr}}\) on a training split and select the one minimizing validation risk on an independent validation split.

Proposition. Conditional on the training data, finite-class concentration applies to validation losses and yields an oracle inequality over the trained candidates.

Proof. Once the training data are fixed, the candidates are fixed functions of the validation observations. Apply the finite-class Hoeffding union bound to their validation risks and then compare the validation minimizer with the best candidate.

Exponential weights

Aggregation can average predictors instead of selecting a single one.

Definition. For candidate predictors \(f_1,\ldots,f_M\), exponential weights take \[ w_j=\frac{\exp(-\eta nR_n(f_j))}{\sum_{k=1}^M\exp(-\eta nR_n(f_k))} \] and aggregate by \(\bar f=\sum_jw_jf_j\) when the prediction space is convex.

Theorem. For convex losses, exponential weighting satisfies oracle bounds of order \((\log M)/n\) under exp-concavity or related curvature conditions.

Proof. The log-sum-exp variational identity gives \[ -\eta^{-1}n^{-1}\log\sum_j\pi_j e^{-\eta nR_n(f_j)} =\inf_Q\left\{Q R_n+\frac{\operatorname{KL}(Q\|\pi)}{\eta n}\right\}. \] Concentration or exp-concavity transfers this empirical variational inequality to population risk, producing the \(\log M/n\) term for point-mass \(Q\).

AIC, BIC, and prediction

Information criteria encode different asymptotic goals.

Remark. AIC estimates predictive risk and tends to favor models with good out-of-sample prediction. BIC approximates marginal likelihood under fixed-dimensional parametric assumptions and is oriented toward model identification when the true model is among the candidates.

A finite-family penalized oracle inequality

Theorem. Let \(\widehat f_m\) be fixed conditional on a training sample, and evaluate the candidates on an independent sample of size \(n\) under losses in \([0,1]\). Given prior weights \(\pi_m>0\), \(\sum_m\pi_m=1\), define \[ \widehat m\in\arg\min_m \left\{P_n\ell_{\widehat f_m} \sqrt{\frac{\log(2/\pi_m\delta)}{2n}}\right\}. \] Then with probability at least \(1-\delta\), \[ R(\widehat f_{\widehat m}) \le\inf_m\left\{ R(\widehat f_m)+ 2\sqrt{\frac{\log(2/\pi_m\delta)}{2n}}\right\}. \]

Proof. Hoeffding's inequality gives \[ |P_n\ell_{\widehat f_m}-P\ell_{\widehat f_m}| \le\sqrt{\frac{\log(2/\pi_m\delta)}{2n}} \] except on an event of probability \(\pi_m\delta\). A weighted union bound makes all inequalities simultaneous. Apply the selected-model optimality inequality and use the deviation bound once for \(\widehat m\) and once for an arbitrary comparator \(m\).

Mallows optimism and AIC

Theorem. In fixed-design Gaussian linear regression with known \(\sigma^2\), let \(\widehat\mu=HY\) for a deterministic linear smoother \(H\). Then \[ \mathbb E\frac1n\|\widehat\mu-Y^{\mathrm{new}}\|_2^2 = \mathbb E\frac1n\|\widehat\mu-Y\|_2^2+ \frac{2\sigma^2}{n}\operatorname{tr}(H), \] where \(Y^{\mathrm{new}}=\mu+\varepsilon^{\mathrm{new}}\) has fresh noise.

Proof. Expand both expectations with \(Y=\mu+\varepsilon\). Their bias and \(\mathbb E\|H\varepsilon\|^2\) terms agree. The training residual includes the covariance term \(-2\mathbb E\langle H\varepsilon,\varepsilon\rangle=-2\sigma^2\operatorname{tr}(H)\), while the fresh-noise cross term is zero. Rearrangement gives the formula.

For least squares on a \(d\)-dimensional model, \(H\) is a rank-\(d\) projector, producing the \(2\sigma^2d/n\) optimism correction underlying Mallows \(C_p\) and, after likelihood rescaling, AIC.

BIC as a Laplace penalty

Proposition. For a regular \(d_m\)-dimensional parametric model with prior density positive near its MLE, Laplace approximation gives \[ -2\log p(Y\mid m) = -2\ell_n(\widehat\theta_m)+d_m\log n+O_P(1). \]

Proof. Expand \(\ell_n(\theta)\) quadratically around \(\widehat\theta_m\). The Hessian is of order \(n\), so integrating the local Gaussian contributes \(n^{-d_m/2}\) to marginal likelihood. Taking \(-2\log\) produces \(d_m\log n\); prior and information-determinant terms are \(O_P(1)\).

Exponential aggregation by online potentials

Theorem. Suppose losses lie in \([0,1]\). Exponential weights updated by \(w_{t,j}\propto\pi_j\exp\{-\eta\sum_{s<t}\ell_{s,j}\}\) satisfy, for every expert \(j\), \[ \sum_{t=1}^T\sum_kw_{t,k}\ell_{t,k} -\sum_{t=1}^T\ell_{t,j} \le\frac{\log(1/\pi_j)}{\eta}+\frac{\eta T}{8}. \]

Proof. Let \(W_t=\sum_j\pi_j\exp\{-\eta\sum_{s<t}\ell_{s,j}\}\). Hoeffding's lemma gives \[ \log(W_{t+1}/W_t) =\log\sum_jw_{t,j}e^{-\eta\ell_{t,j}} \le-\eta\sum_jw_{t,j}\ell_{t,j}+\eta^2/8. \] Sum over \(t\). The lower bound \(W_{T+1}\ge\pi_j e^{-\eta\sum_t\ell_{t,j}}\) yields the claim after rearrangement.

Convex, linear, and model-selection aggregation

Definition. Given \(f_1,\ldots,f_M\):

  • model-selection aggregation competes with \(\min_jR(f_j)\);
  • convex aggregation competes with \(\inf_{w\in\Delta_M}R(\sum_jw_jf_j)\);
  • linear aggregation competes with \(\inf_{w\in\mathbb R^M}R(\sum_jw_jf_j)\).

The oracle classes differ, so their optimal remainder rates differ. Under squared loss, model-selection aggregation typically pays \((\log M)/n\), whereas unrestricted linear aggregation can pay \(M/n\). Convex aggregation has an intermediate regime depending on \(M\) relative to \(\sqrt n\).

Stacking and out-of-fold prediction

Definition. In \(K\)-fold stacking, let \(\widehat f_j^{(-k)}\) be candidate \(j\) fitted without fold \(k\). Choose \[ \widehat w\in\arg\min_{w\in\Delta_M} \sum_{k=1}^K\sum_{i\in I_k} \ell\!\left(\sum_jw_j\widehat f_j^{(-k)}(X_i),Y_i\right), \] and refit each base learner on the full sample before combining with \(\widehat w\).

Out-of-fold predictions prevent a highly adaptive base learner from being rewarded merely for in-sample fit. Stacking targets predictive convex aggregation; unlike Bayesian model averaging, its weights need not approximate posterior model probabilities.

Selection consistency and predictive optimality diverge

Remark. If the true finite-dimensional model is among regular candidates, BIC can select it consistently because its \(\log n\) penalty dominates spurious likelihood gains. AIC intentionally does not have that property: its constant-per-parameter penalty estimates predictive optimism and can retain extra variables. Neither criterion is universally superior; they answer different decision problems.