Ridge shrinks the weak direction most
symbolic▲▲△In an eigenbasis, the averaged least-squares normal equations have diagonal curvatures and right-hand side . Compute the unregularised solution and the ridge solution at . Derive the shrinkage factor. What coefficient on the penalty preserves the objective’s relative weighting if the data loss is multiplied by the sample count ?
Hint
Solve one scalar equation per direction. Multiplying the whole objective by does not change its minimiser.
Solution
Without a penalty, , so . Ridge changes the equations to , giving
The ratios relative to the original components are and . In general the factor is . The smaller-curvature direction is shrunk more because the penalty contributes more relative curvature there.
An averaged objective is . Multiplying the whole objective by gives . Thus the corresponding summed-loss coefficient is , not .
For positive lambda the solution is unique even if a curvature is zero. With least squares, a null-space direction also has zero right-hand component; ridge selects zero in that direction. This says nothing by itself about the test error of the chosen solution.