Maximum Margin Methods
Karush-Kuhn-Tucker (KKT) Conditions
KKT conditions first-order necessary conditions for a solution in nonlinear programming to be optimal, provided that some regularity conditions are satisfied. Inequality Constrained Optimization, general Problem:
The Lagrangian:
The KKT conditions are
Support Vector Machine (SVM)
Separable case
Consider an input space
Geometric Margin The geometric margin
The geometric margin
Primal optimization problem By definition
of the geometric margin, the maximum margin
The second equality follows from the fact that, since the sample is
linearly separable, for the maximizing pair
The second equality results from the fact that for the maximizing
pair
Since maximizing
The Lagrangian
The KKT conditions are obtained by setting the gradient of the
Lagrangian with respect to the primal variables
and its dual optimization problem is:
Non-separable Case
For any hyperplane
While, a relaxed version of these constraints can indeed hold, that
is, for each
Then the Lagrangian is defined as:
References
[1] @misc{ wiki:xxx, author = "{Wikipedia contributors}", title = "Karush–Kuhn–Tucker conditions --- {Wikipedia}{,} The Free Encyclopedia", year = "2020", url = "https://en.wikipedia.org/w/index.php?title=Karush%E2%80%93Kuhn%E2%80%93Tucker_conditions&oldid=983546575", note = "[Online; accessed 31-October-2020]" }
[2] @book{mohri2018foundations, title={Foundations of machine learning}, author={Mohri, Mehryar and Rostamizadeh, Afshin and Talwalkar, Ameet}, year={2018} }