How should the regularization strength scale as the number of training samples grows?
Last updated
More data needs less regularization because the data constrains parameters better. How
λshould change depends on whether the loss is a sum or a mean.Sum-of-losses: a constant
λalready fades relative to the growing data term (like a fixed Bayesian prior). Mean loss:λshould shrink with n (lasso theory:σ·sqrt(log p / n)).Libraries use different conventions, so re-tune
λwith CV when dataset size changes substantially.