A Penalty on Large Model Coefficients
Regularization can combine prediction loss with a penalty on selected parameter values. Its effect depends on the form and weight of that penalty.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Trace a simple comparison
At equal training loss, a squared-coefficient penalty favors a model with coefficient 2 over one with coefficient 5 under comparable scales. See linear prediction weights.
Choose the penalty strength on held-out evidence
A strong penalty can suppress useful variation. A weak one may have little effect. Ridge regression gives the specific quadratic case and its geometry.[1]
Compare the penalty with the improvement in fit
Two fitted variants have losses four and five. Their squared coefficient norms are nine and one. With penalty weight 0.5, objectives are 8.5 and 5.5, so the second has lower penalized objective despite higher fit loss. See model settings and fitted coefficients.
A: loss 4 + .5×9 = 8.5
B: loss 5 + .5×1 = 5.5
Selecting B under this training objective does not by itself establish held-out performance
State how feature scale and intercept enter
The same signal expressed in another unit can change numerical coefficients and penalty size. Use training-fitted scaling where appropriate. Compare regularization strengths on separate validation data.