Regularization constrains or penalizes fitting to control the complexity or instability of a learned rule. A penalty formulation is
where is empirical loss function and measures a chosen notion of complexity. Ridge regression penalizes squared coefficient size, the Lasso penalizes the L1 norm, and a roughness penalty penalizes derivatives of a fitted function. Early stopping can regularize an iterative fitting procedure without an explicit added penalty.
For a scalar observation with centered noise of variance , minimizing gives . Its mean squared error is : shrinkage reduces variance while introducing bias. This illustrates why regularization can improve prediction, but does not improve risk at every parameter value for every tuning choice. Cross-validation or a validation set can choose strength while a reserved test set assesses the fitted procedure.
Label smoothing replaces a sharply concentrated training target with a mixture that assigns some probability to alternative labels. For a -class example whose observed label is , a common uniform version uses
Here is the predicted probability vector and controls smoothing. The target still sums to one. This is a regularization of the training objective, not a statement that the example is known to have several simultaneously correct labels.[ref]
With three classes and , the observed class receives and each other class . This convention differs from assigning to the observed class and splitting only among the incorrect classes. State the convention when reporting a smoothing parameter.
For a softmax function applied to logits , the categorical cross-entropy loss has gradient . With fixed smoothed targets and unconstrained probabilities, the loss is minimized at . The three-class example consequently has optimum true-versus-other logit gap , rather than requiring an unbounded gap to approach a one-hot target.[ref]
The changed objective can discourage extreme training predictions. Its effect on generalization, calibration or another downstream task is an empirical question; the derivation alone does not guarantee improvement on every dataset. Evaluation should therefore retain the distinction between a training regularizer and the true, unknown distribution of labels.
For , a full-column-rank design matrix , and a positive semidefinite matrix , minimize . Differentiation gives . The fitted-value matrix is , whose trace measures the effective degrees of freedom.
A penalized least-squares estimator balances squared error with a nonnegative penalty . The Lasso uses the coefficient norm; graph total variation denoising uses the norm of endpoint differences. The choice of normalization of the squared loss changes the numerical tuning parameter.
For the identity design and , comparing the minimizing objective at with its value at and expanding the squared Euclidean norm proves the displayed inequality, with . This deterministic inequality does not assume any probability distribution for the noise. A bound on the noise inner product turns it into a statistical error estimate.
A roughness penalty penalizes variation of derivatives, such as . The second-derivative penalty vanishes precisely on affine functions and is represented in a chosen basis by a roughness penalty matrix.
Early stopping halts iterative fitting near the best validation performance, limiting adaptation to training noise.

Ancestors (7)

  1. Statistical learning
  2. Statistical modelling
  3. Statistical model
  4. Probability and statistics
  5. Area of mathematics
  6. Mathematics
  7. Home

Discussion (0) New discussion

There are no discussions about this article yet.

Articles by others on the same topic (0)

There are currently no matching articles.