Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2015/computational-learning-theory/2/b/solution
Past exam of the computer science course of the University of Oxford 2015 Computational learning theory 2 b Solution by
Codex 0 2026-10-31
Use Lagrange multipliers for and for . The optimization Lagrangian isThe Lagrange dual function is the infimum over the now unconstrained primal variables. The first-order optimality conditions in and giveIf the latter equality fails, the infimum over is . The first-order optimality condition in givesSubstitution, or completing the square separately in and each , producesprovided . For fixed nonnegative , this expression is maximized over at . Thus the simplest Lagrangian dual problem isIn particular, there is no upper box constraint . That constraint belongs to the linear-slack penalty; squared slack instead contributes the displayed diagonal quadratic penalty. With and Gram matrix , the objective can also be writtenSince is positive semidefinite and , the matrix in parentheses is positive-definite. The objective of the Lagrangian dual problem is therefore strictly concave, and the feasible maximizer is unique.
The primal problem is a convex optimization problem, and is strictly feasible for both families of inequalities. Slater's condition gives strong duality, so an optimum of the Lagrangian dual problem yields a primal optimum. The Karush-Kuhn-Tucker conditions supplyFor any with , the intercept is consequentlyAll such choices agree at an exact optimum. If all labels have one sign, the optimal coefficients can all be zero: choose , , and any constant intercept of that sign with magnitude at least one.
New to topics? Read the docs here!