Structural risk minimization

From HandWiki

Structural risk minimization (SRM) is an inductive principle of use in machine learning. Commonly in machine learning, a generalized model must be selected from a finite data set, with the consequent problem of overfitting – the model becoming too strongly tailored to the particularities of the training set and generalizing poorly to new data. The SRM principle addresses this problem by balancing the model's complexity against its success at fitting the training data. This principle was first set out in a 1974 book[1] by Vladimir Vapnik and Alexey Chervonenkis and uses the VC dimension.

In practical terms, Structural Risk Minimization is implemented by minimizing [math]\displaystyle{ E_{train} + \beta H(W) }[/math], where [math]\displaystyle{ E_{train} }[/math] is the train error, the function [math]\displaystyle{ H(W) }[/math] is called a regularization function, and [math]\displaystyle{ \beta }[/math] is a constant. [math]\displaystyle{ H(W) }[/math] is chosen such that it takes large values on parameters [math]\displaystyle{ W }[/math] that belong to high-capacity subsets of the parameter space. Minimizing [math]\displaystyle{ H(W) }[/math] in effect limits the capacity of the accessible subsets of the parameter space, thereby controlling the trade-off between minimizing the training error and minimizing the expected gap between the training error and test error.[2]

The SRM problem can be formulated in terms of data. Given n data points consisting of data x and labels y, the objective [math]\displaystyle{ J(\theta) }[/math] is often expressed in the following manner:

[math]\displaystyle{ J(\theta) = \frac{1}{2n} \sum_{i=1}^{n}(h_{\theta}(x^i) - y^i)^2 + \frac{\lambda}{2} \sum_{j=1}^{d} \theta_j^2 }[/math]

The first term is the mean squared error (MSE) term between the value of the learned model, [math]\displaystyle{ h_{\theta} }[/math], and the given labels [math]\displaystyle{ y }[/math]. This term is the training error, [math]\displaystyle{ E_{train} }[/math], that was discussed earlier. The second term, places a prior over the weights, to favor sparsity and penalize larger weights. The trade-off coefficient, [math]\displaystyle{ \lambda }[/math], is a hyperparameter that places more or less importance on the regularization term. Larger [math]\displaystyle{ \lambda }[/math] encourages sparser weights at the expense of a more optimal MSE, and smaller [math]\displaystyle{ \lambda }[/math] relaxes regularization allowing the model to fit to data. Note that as [math]\displaystyle{ \lambda \to \infty }[/math] the weights become zero, and as [math]\displaystyle{ \lambda \to 0 }[/math], the model typically suffers from overfitting.


See also

References

  1. Vapnik, V. N.; Chervonenkis, A. Ya. (1974) (in Russian). Teoriya raspoznavaniya obrazov. Nauka, Moscow. 
  2. LeCun, Yann. "Gradient-Based Learning Applied to Document Recognition". http://vision.stanford.edu/cs598_spring07/papers/Lecun98.pdf. 

External links