Why Separate the Selected Estimator From Its Comparator?
Regularization combines two aims: fit the observed data and control the complexity or size of the fitted rule. The resulting estimator depends on the sample, while its most useful benchmark is usually defined using the population distribution. Keeping these objects distinct is essential: a data-selected rule is random, but a population-risk comparator is fixed once the distribution and candidate class are specified.
This distinction also clarifies what an oracle inequality says. It compares the risk of a selected estimator with the risk of a benchmark that may be unavailable in practice, often allowing an additional complexity term. It does not claim that the estimator equals the benchmark, nor that minimizing a penalized empirical criterion directly minimizes population risk.
Penalized Empirical Risk and Regularization
Let \(Z_1,\ldots,Z_n\) be independent observations with common distribution \(P\), and let \(\mathcal F\) be a nonempty class of candidate predictors or statistical rules. For \(f\in\mathcal F\), let \(\ell_f(z)\) be its loss at observation \(z\). Assume the loss is measurable and has a well-defined expectation; for ordinary finite-risk comparisons, take \(E[|\ell_f(Z)|]<\infty\). The empirical risk and population risk are
A regularization functional \(J:\mathcal F\to[0,\infty]\) assigns a cost to each candidate. It may encode a norm, model size, roughness, or another chosen measure of complexity. With a fixed tuning parameter \(\lambda>0\), the penalized empirical criterion is
If \(J(f)=+\infty\), then \(Q_{n,\lambda}(f)=+\infty\) for \(\lambda>0\); such a candidate cannot be a minimizer when some candidate has finite criterion. The restriction \(\lambda>0\) matters: if one also wishes to define the unpenalized case \(\lambda=0\), define it separately by \(Q_{n,0}(f)=R_n(f)\), rather than using \(0\cdot J(f)\) when \(J(f)\) can be infinite.
Existence is not automatic. A finite candidate class with at least one finite criterion has a minimizer. For an infinite class, attainment can require additional structure, such as compactness and lower semicontinuity; measurability of a selected minimizer is also needed when making probability statements about it. If attainment or a measurable exact selection is unavailable, an approximate minimizer is often the appropriate object. The exact existence conditions depend on the class and criterion.
Population Comparators and Oracle Criteria
A comparator is a candidate used as a benchmark. It is not chosen by minimizing the observed criterion. One common benchmark is the best population-risk candidate,
When the infimum is attained, a rule \(f^*\in\mathcal F\) with \(R(f^*)=R^*_{\mathcal F}\) is a population-risk minimizer. If it is not attained, the infimum still defines the benchmark. A different and often useful comparator accounts for regularization:
This is the best value of a penalized population criterion, not necessarily the smallest population risk. The two comparators answer different questions. A low-risk rule may have a large penalty, while a rule with a modestly higher risk may have a much smaller penalty.
For example, an oracle inequality may have the schematic form
on an event of specified probability, where \(A_n(f)\) is a stated comparator cost and \(r_n\) is a remainder. The precise terms and assumptions vary by result; this display is a definition of the form, not a guarantee that it holds automatically. The inequality may instead concern excess risk \(R(\hat f_\lambda)-R^*_{\mathcal F}\), or an expectation such as \(E[R(\hat f_\lambda)]\). These formulations are not interchangeable without appropriate assumptions.
The comparator in the infimum is fixed while the data are drawn, although finding the best one may require knowing \(P\). By contrast, \(\hat f_\lambda\) depends on the observed sample. Its population risk \(R(\hat f_\lambda)\) is consequently random through the selected rule. This is why oracle comparisons are meaningful: they ask how close a data-driven procedure comes to a benchmark it could not generally select directly.
Worked Example: Empirical Selection and a Population Comparator
Let \(Y\) equal 1 with probability \(1/4\) and 0 with probability \(3/4\). Consider three constant predictors \(f_0=0\), \(f_1=1\), and \(f_{1/2}=1/2\), with squared-error loss \(\ell_f(Y)=(Y-f)^2\). Suppose the observed sample is \(Y_1=0,Y_2=1\). Set \(J(f_0)=0\), \(J(f_1)=1\), \(J(f_{1/2})=1/4\), and \(\lambda=1/5\).
For the observed sample, the empirical risks are \(R_n(f_0)=(0^2+1^2)/2=1/2\), \(R_n(f_1)=(1^2+0^2)/2=1/2\), and \(R_n(f_{1/2})=((1/2)^2+(1/2)^2)/2=1/4\). The penalized criteria are therefore \(1/2\), \(1/2+1/5=7/10\), and \(1/4+(1/5)(1/4)=3/10\), respectively. Thus the selected empirical minimizer is \(f_{1/2}\).
In the population, \(R(f_0)=1/4\), \(R(f_1)=3/4\), and \(R(f_{1/2})=(1/4)(1/4)+(3/4)(1/4)=1/4\). The best population-risk comparator has risk \(1/4\), attained by both \(f_0\) and \(f_{1/2}\). The penalized population criteria are \(1/4\), \(3/4+1/5=19/20\), and \(1/4+1/20=3/10\), so \(f_0\) minimizes the penalized population criterion. In this instance the selected rule and the penalized population comparator differ, even though the selected rule has the best population risk. The example shows why the empirical selection, the risk comparator, and the penalized population comparator must be named separately.
Two Useful Facts About Comparators and Penalization
First, a comparator need not attain its defining infimum to be useful. If a criterion has a finite infimum, candidates can approach that infimum as closely as desired.
Proof. Suppose no such candidate existed. Then \(q(f)\geq q^*+\varepsilon\) for every \(f\in\mathcal F\), so \(q^*+\varepsilon\) would be a lower bound for all values of \(q\). This contradicts that \(q^*\) is their greatest lower bound, since \(q^*+\varepsilon>q^*\). Hence a candidate with \(q(f_\varepsilon)<q^*+\varepsilon\) exists. \(\square\)
This elementary fact is important in oracle comparisons: writing an infimum does not silently assert the existence of an oracle candidate attaining it. For a penalized empirical criterion, it also justifies approximate minimization whenever its infimum is finite, although it does not by itself establish that the chosen approximate minimizer is measurable.
Second, increasing the penalty weight has a precise effect on exact empirical minimizers. The result below assumes finite penalties at the minimizers; otherwise the comparisons of penalty values need not be defined.
Proof. Optimality of \(f_1\) at \(\lambda_1\) and \(f_2\) at \(\lambda_2\) gives
Adding these inequalities cancels the empirical risks and yields \((\lambda_2-\lambda_1)(J(f_2)-J(f_1))\leq 0\). Since \(\lambda_2-\lambda_1>0\), \(J(f_2)\leq J(f_1)\). Rearranging the first optimality inequality gives \(R_n(f_2)-R_n(f_1)\geq\lambda_1(J(f_1)-J(f_2))\geq0\). Thus the penalty cannot increase and the empirical risk cannot decrease along this comparison of exact minimizers. \(\square\)
This is a statement about the empirical criterion and its minimizers, not about population risk: it does not imply \(R(f_2)\geq R(f_1)\). Nor does it specify how the data-selected rule compares with a population oracle. Oracle inequalities require additional arguments and assumptions beyond this monotonicity fact.
Worked Example: A Scalar Quadratic Penalty
Suppose two observed responses are 2 and 4, and a constant prediction \(f_\theta\) predicts \(\theta\in\mathbb R\). Use squared-error loss and \(J(f_\theta)=\theta^2\). The empirical risk is
For \(\lambda=1\), the criterion is \((\theta-3)^2+1+\theta^2\). Differentiating gives \(2(\theta-3)+2\theta=0\), so the minimizer is \(\hat\theta=3/2\). The second derivative is \(4>0\), confirming a unique minimum. Its empirical risk is \((3/2-3)^2+1=13/4\), its penalty is \(9/4\), and its criterion is \(13/4+9/4=11/2\).
If the population distribution assigns probability \(1/2\) to each of 2 and 4, then \(R(f_\theta)=(\theta-3)^2+1\). The unpenalized population-risk minimizer is \(\theta=3\), with risk 1; the selected value \(\theta=3/2\) has risk \(13/4\). For the penalized population criterion, however, the same derivative calculation gives \(\theta=3/2\). Thus a penalized population comparator and a minimum-risk comparator need not be the same. For general \(\lambda>0\), differentiating \((\theta-3)^2+1+\lambda\theta^2\) gives \(\theta=3/(1+\lambda)\), whose squared penalty decreases as \(\lambda\) increases.
Worked Example: A Finite Empirical Regularization Path
Consider three candidates with empirical risk and penalty pairs \(A=(0.20,0)\), \(B=(0.10,1)\), and \(C=(0.05,3)\). At \(\lambda=0.05\), their criteria are \(0.20\), \(0.10+0.05=0.15\), and \(0.05+0.15=0.20\). Candidate \(B\) is the unique minimizer. At \(\lambda=0.20\), the criteria are \(0.20\), \(0.10+0.20=0.30\), and \(0.05+0.60=0.65\), so \(A\) is the unique minimizer.
The penalty falls from 1 to 0 as the tuning parameter rises, while empirical risk rises from \(0.10\) to \(0.20\), as the proposition requires. These numbers say nothing by themselves about the population risks of \(A\) and \(B\). A population-risk comparison would need their risks under the data-generating distribution.
Common Pitfall: Treating the Oracle as the Selected Rule
A frequent error is to read an oracle inequality as though the estimator were the minimizer of the population criterion on its right-hand side. The estimator is selected from the observed data; the oracle comparator is defined using population quantities and is typically fixed before observing the sample. Another error is to call the penalized objective itself “risk.” The penalty is part of the selection criterion, while \(R(f)\) refers to expected loss. A bound on one does not automatically equal a bound on the other.
A related technical mistake is to allow \(J(f)=+\infty\), set \(\lambda=0\), and then write \(R_n(f)+\lambda J(f)\) without defining the product \(0\cdot\infty\). The correction is to use \(\lambda>0\), restrict to finite-penalty candidates in the zero-weight case, or define \(Q_{n,0}(f)=R_n(f)\) separately. Stating this convention prevents an undefined criterion from being mistaken for a well-defined optimization problem.
Check Your Understanding
Answer using the definitions and distinctions developed above.
- What is the difference between \(R_n(f)\) and \(R(f)\), and which one depends on the observed sample?
- If the population-risk infimum over a class is not attained, can it still be used as an oracle benchmark? Explain.
- Why must a criterion involving an extended-valued penalty specify what happens at \(\lambda=0\)?
- In the scalar quadratic example, why is the unpenalized population-risk minimizer different from the penalized population comparator?
- What do the monotonicity results establish about empirical risk and penalty as \(\lambda\) increases, and what do they not establish about population risk?