Why the Regularization Level Must Be Balanced
A kernel classifier’s regularization level affects two competing sources of error. Stronger regularization can make the fitted score less variable, reducing estimation error, but it can also restrict how closely the score can approximate a good decision rule. We study how to choose the level when the approximation error follows a power law and a margin condition improves the estimation bound.
The goal is to optimize a stated upper bound, not to claim that every classifier attains the rate in every distribution. The conclusion is conditional: if the approximation envelope and the margin-based oracle bound below hold, then a particular regularization scale minimizes that bound and yields the corresponding excess-risk rate.
Assumptions and the Bound to Optimize
Assume \(0<\lambda\le 1\), and suppose the approximation contribution has the power-law envelope
The exponent \(r\) describes how quickly the approximation contribution decreases as regularization is weakened. A larger \(r\) means that this contribution falls more quickly in \(\lambda\), under this particular envelope.
For the estimation term, use the margin-based fast-rate form. In the usual Bernstein formulation, the excess loss has variance controlled by a constant times its mean excess loss to a power \(\beta\), with \(0\le\beta\le1\). The fast-rate exponent associated with this condition is
Thus \(q\) ranges from \(1/2\) at \(\beta=0\) to \(1\) at \(\beta=1\). We take as the available oracle bound the following precise form: for fixed \(0<\delta<1\), with probability at least \(1-\delta\), simultaneously for the regularization level under consideration,
where \(C_e>0\) does not depend on \(n\) or \(\lambda\). The increasing estimation term reflects that weaker regularization permits a larger effective class of scores. The margin condition improves its dependence on sample size through \(q\); it does not remove the trade-off. This tutorial optimizes this bound, relying on the earlier material on fast rates from Bernstein conditions for the margin-based estimation step.
Deriving the Optimal Regularization Scale
Set \(b=C_e(\ell_\delta/n)^q\). The upper bound to minimize is the positive function
The first term increases with \(\lambda\), while the second decreases. Differentiating for \(\lambda>0\) gives
The unique stationary point solves \(rC_a\lambda^{r-1}=qb\lambda^{-q-1}\), or \(\lambda^{r+q}=qb/(rC_a)\). It is a global minimum: the derivative is negative below this point and positive above it. Therefore the unconstrained optimizer is
If the procedure restricts \(\lambda\) to \((0,1]\), use this optimizer when \(\lambda_*\le1\); otherwise the minimum over that interval is at its upper endpoint, \(\lambda=1\). For fixed confidence and sufficiently large \(n\), \(\lambda_*\le1\).
The comparison constants in \(\asymp\) depend on \(r,q,C_a,C_e\), not on \(n\) or \(\delta\).
Proof and Interpretation
At the stationary point, multiplying \(B'(\lambda_*)=0\) by \(\lambda_*\) yields
Thus the estimation contribution is \(b\lambda_*^{-q}=(r/q)C_a\lambda_*^r\). Adding the two contributions gives \(B(\lambda_*)=(1+r/q)C_a\lambda_*^r\). Substitution of the optimizer shows that \(\lambda_*^r\) is a constant times \((\ell_\delta/n)^{rq/(r+q)}\). Finally, substituting \(q=1/(2-\beta)\) gives
This proves the claimed minimized bound and rate. In particular, the rate exponent depends on both the approximation power \(r\) and the margin exponent \(\beta\). A stronger margin condition increases \(q\), improving the estimation term’s sample-size exponent; the resulting balance should still be recalculated rather than inferred from one term alone. \(\square\)
There is also a useful way to understand why simply setting the two contributions equal is not always the exact minimization rule. Differentiation shows that at the optimum, the estimation contribution is \(r/q\) times the approximation contribution. They are equal only when \(r=q\). Equating their orders is often enough to recover the rate in \(n\), but it does not generally give the exact constant in the optimal \(\lambda\).
Worked Example: A Half-Power Margin Exponent
Take \(r=1\), \(\beta=1/2\), and \(C_a=C_e=1\), at fixed confidence with \(\ell_\delta=1\). Then \(q=1/(2-1/2)=2/3\), so the bound is
The optimizer formula gives
The rate exponent is \(rq/(r+q)=(2/3)/(5/3)=2/5\), equivalently \(r/[r(2-\beta)+1]=1/(3/2+1)=2/5\). Therefore the minimized bound is a constant times \(n^{-2/5}\). The derivative condition says the estimation contribution at the optimizer is \(3/2\) times the approximation contribution, not equal to it. Both terms nevertheless have the same power of \(n\) there.
Worked Example: Checking the Numerical Balance
Let \(r=1\), \(\beta=1\), \(C_a=C_e=1\), \(n=10{,}000\), and \(\ell_\delta=1\). Then \(q=1\) and the bound is
Here \(b=1/10{,}000=0.0001\). The optimizer is \(\lambda_*=\sqrt{b}=0.01\). At this value the approximation contribution is \(0.01\), and the estimation contribution is \(0.0001/0.01=0.01\), so the total bound is \(0.02\).
For comparison, at \(\lambda=0.001\), the terms are \(0.001\) and \(0.1\), giving \(B(0.001)=0.101\). At \(\lambda=0.1\), they are \(0.1\) and \(0.001\), again giving \(B(0.1)=0.101\). Each alternative bound is \(0.101/0.02=5.05\) times the balanced bound, or about five times as large.
Worked Example: A Slower Estimation Rate
Take \(r=2\), \(\beta=0\), and \(C_a=C_e=\ell_\delta=1\). Then \(q=1/2\), and
The optimizer formula gives
To check the powers directly, the stationary equation is \(2\lambda-\tfrac12n^{-1/2}\lambda^{-3/2}=0\). Multiplying by \(\lambda^{3/2}/2\) gives \(\lambda^{5/2}=\tfrac14n^{-1/2}\), which indeed yields \(\lambda_*=4^{-2/5}n^{-1/5}\). At the optimum the estimation contribution is \(r/q=4\) times the approximation contribution. Since \(\lambda_*^2=4^{-4/5}n^{-2/5}\), the total bound is \(5\cdot4^{-4/5}n^{-2/5}\). The rate exponent also follows from \(r/[r(2-\beta)+1]=2/5\).
Using the Rate and Avoiding Common Errors
For fixed confidence, the regularization scale decreases as \(n^{-1/[r(2-\beta)+1]}\), and the optimized excess-risk bound decreases as \(n^{-r/[r(2-\beta)+1]}\). For a confidence level that changes with \(n\), the same calculation retains the factor \(\ell_\delta=1+\log(1/\delta)\). These expressions describe the bound’s dependence on sample size; the constants and the range where the oracle inequality applies remain important in finite samples.
A common mistake is to read the margin improvement in isolation and use the estimation rate as the final classifier rate. The estimation term here also depends on \(\lambda\), so decreasing it by changing \(n\) alone misses the approximation cost. The correction is to substitute the \(\lambda\)-dependent estimation term into the full bound and optimize both contributions together.
- Do not reverse the trade-off. In this bound, smaller \(\lambda\) reduces \(C_a\lambda^r\) but increases the estimation contribution.
- Do not treat equal contributions as a universal exact rule. The derivative condition gives an estimation-to-approximation ratio of \(r/q\).
- Do not confuse the optimized upper-bound rate with a lower bound. Establishing that no method can do better requires additional arguments.
- Do not omit confidence factors when confidence changes with sample size. The logarithmic factor can affect a reported finite-sample bound.
The practical value of the calculation is that it translates two distinct pieces of information—the approximation power and the margin-improved estimation exponent—into a transparent tuning schedule. It also identifies which assumption drives the rate: changing either \(r\) or \(\beta\) changes both the regularization scale and the excess-risk exponent.
Check Your Understanding
Use the stated approximation and estimation bound in each question.
- For \(r=1\) and \(\beta=0\), what are the exponents of \(n\) in the optimal regularization scale and the minimized excess-risk bound?
- At an interior optimum, what is the ratio of the estimation contribution to the approximation contribution?
- If \(r=2\) and \(\beta=1\), what is the exponent of \(n\) in the minimized bound?
- Why does setting the two contributions equal give the exact optimizer only when \(r=q\)?
- What additional claim would be needed to conclude that the optimized upper-bound rate is minimax optimal?