Jump to content

Regularization perspectives on support vector machines

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Elmackev (talk | contribs) at 19:41, 24 May 2012. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Introduction

Regularization perspectives on SVM interpret SVMs as a special case Tikhonov regularization, specifically Tikhonov regularization with a hinge loss loss function. This provides a theoretical framework with which to analyze SVM algorithms and compare them to other algorithms with the same goals: to generalize without overfitting. SVMs were first proposed in 1995 by Corinna Cortes and Vladimir Vapnik, and framed geometrically as a method for finding hyperplanes that can separate multidimensional data into two categories.[1] This traditional geometric interpretation of SVMs provides useful intuition about how SVMs work, but is difficult to relate to other machine learning techniques for avoiding overfitting like regularization, early stopping, sparsity and Bayesian inference. However, it has since been accepted that SVMs are also a special case of Tikhonov regularization, which provides a useful theoretical framework to compare SVMs with other algorithms.[2][3][4] Different forms of Tikhonov regularization use different loss functions, and SVMs are Tikhonov regularization using the hinge loss. Regularization perspectives on SVM have linked SVM to this broader class of algorithms, and the theories describing it. This has enabled detailed comparisons between SVM and other forms of Tikhonov regularization, and theoretical grounding for why it's beneficial to use SVM's loss function, the hinge loss.[5]

Theoretical background

In the statistical learning theory framework, an algorithm is a strategy for choosing a function given a training set of inputs and their labels (the labels are usually ). Regularization strategies avoid overfitting by choosing a function that fits the data, but is not too complex. Specifically:

,

where is a hypothesis space[6] of functions, is the loss function, is a norm on the hypothesis space of functions, and is the regularization parameter[7] .

When is a reproducing kernel Hilbert space, there exists a kernel function that can be written as an symmetric positive definite matrix . By the representer theorem[8], , and

Special properties of the hinge loss

Hinge and misclassification loss functions


The simplest and most intuitive loss function for categorization is the misclassification loss, or 0-1 loss, which is 0 if and 1 if , i.e the heaviside step function on . However, this loss function is not convex, which makes the regularization problem very difficult to minimize computationally. Therefore, we look for convex substitutes for the 0-1 loss. The hinge loss, where , provides such a convex relaxation. In fact, the hinge loss is the tightest convex upper bound to the 0-1 misclassification loss function[9], and with infinite data returns the Bayes optimal solution:[10] [11]

Derivation[12]

With the hinge loss, where , the regularization problem becomes:

,

In most of the SVM literature, this is written equivalently as:

.

This problem is non-differentiable because of the "kink" in the loss function. However, we can rewrite it using slack variables :

subject to:

Next we apply the representer theorem to get:

subject to:

This is a constrained optimization problem, which we will solve using the Lagrangian to derive the dual problem. The Lagrangian is:

The dual problem is:

Minimizing with respect to : Minimizing with respect to :

Then, plugging into the Lagrangian, we can write the dual problem as:

Then, plugging in , we get:

Subject to

Note that this dual problem is easier to solve than the original problem because it is box constrained (the are bounded). Also notice that the slack variables have disappeared in the dual problem.

Consequences and interpretations[13]

The Karush-Kuhn-Tucker conditions dictate that all optimal solutions must satisfy the following conditions for :

From these above constraints, and recalling that , we can derive conditions relating the to :

Note that the solution is relatively sparse, because whenever . In SVM, the input points with non-zero coefficients are called support vectors. Given the above constraints, the support vectors are precisely the input points where .

Notes and References

  1. ^ Cortes, Corinna (1995). "Suppor-Vector Networks". Machine Learning. 20: 273–297. doi:10.1007/BF00994018. {{cite journal}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  2. ^ Rosasco, Lorenzo. "Regularized Least-Squares and Support Vector Machines" (PDF).,
  3. ^ Rifkin, Ryan (2002). Everything Old is New Again: A Fresh Look at Historical Approaches in Machine Learning (PDF). MIT (PhD thesis).
  4. ^ Lee, Yoonkyung (2012). "Multicategory Support Vector Machines". Journal of the American Statistical Association. 99 (465): 67–81. doi:10.1198/016214504000000098. {{cite journal}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  5. ^ Rosasco, Lorenzo (2004). "Are Loss Functions All the Same". Neural Computation. 5. 16: 1063–1076. doi:10.1162/089976604773135104. {{cite journal}}: Unknown parameter |coauthors= ignored (|author= suggested) (help); Unknown parameter |month= ignored (help)
  6. ^ This hypothesis space of functions is a Hilbert space of all the functions we're allowing the algorithm to pick
  7. ^ For insight on choosing the parameter, see, e.g., Wahba, Grace (1990). "When is the optimal regularization parameter insensitive to the choice of the loss function". Communications in Statistics - Theory and Methods. 19 (5): 1685–1700. doi:10.1080/03610929008830285. {{cite journal}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  8. ^ See Scholkopf, Bernhard (2001). "A Generalized Representer Theorem". Computational Learning Theory: Lecture Notes in Computer Science. 2111: 416–426. doi:10.1007/3-540-44581-1_27. {{cite journal}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  9. ^ Lee, Yoonkyung (2012). "Multicategory Support Vector Machines". Journal of the American Statistical Association. 99 (465): 67–81. doi:10.1198/016214504000000098. {{cite journal}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  10. ^ Lin, Yi (2002). "Support Vector Machines and the Bayes Rule in Classification" (PDF). Data Mining and Knowledge Discovery. 6 (3): 259–275. doi:10.1023/A:1015469627679. {{cite journal}}: Unknown parameter |month= ignored (help)
  11. ^ Rosasco, Lorenzo (2004). "Are Loss Functions All the Same". Neural Computation. 5. 16: 1063–1076. doi:10.1162/089976604773135104. {{cite journal}}: Unknown parameter |coauthors= ignored (|author= suggested) (help); Unknown parameter |month= ignored (help)
  12. ^ For a detailed derivation, see Rifkin, Ryan (2002). Everything Old is New Again: A Fresh Look at Historical Approaches in Machine Learning (PDF). MIT (PhD thesis).
  13. ^ For more detail, see Rosasco, Lorenzo. "Regularized Least Squares and Support Vector Machines" (PDF).