Under what conditions does strong duality hold for the SVM optimization problem?

Quick Overview

Asks when strong duality holds for the support vector machine training problem. Tests convex optimization fundamentals: which form of Slater's condition applies, feasibility of the hard-margin and soft-margin problems, the kernel requirement, and what a zero duality gap gives a solver.

Under what conditions does strong duality hold for the SVM optimization problem?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

Under what conditions does strong duality hold for the SVM optimization problem? ```hint Classify the problem Write the soft-margin primal and check the type of the objective and of every constraint. Then ask which version of Slater's condition applies to constraints of that type. ``` ```hint Look for an easy feasible point Look for a point that satisfies the constraints for any data set, and check whether every SVM formulation has one. ``` ```hint Check the kernel Ask what the dual needs from the kernel matrix to remain a convex problem. ``` ### What a Strong Answer Covers - The type of the objective and of the constraints. - Which form of Slater's condition applies and what it requires here. - When each formulation is feasible. - What the kernel must satisfy. - What strong duality gives you when solving the SVM and reading its solution. ### Follow-up Questions - In the non-separable hard-margin case, what exactly goes wrong in the dual? - Is the optimal $\alpha$ unique? Is the optimal $w$? - How do you recover $b$ from a dual solution? - What happens to a solver if you plug in a kernel that is not positive semi-definite?

Overview: Asks when strong duality holds for the support vector machine training problem. Tests convex optimization fundamentals: which form of Slater's condition applies, feasibility of the hard-margin and soft-margin problems, the kernel requirement, and what a zero duality gap gives a solver.

General logo
General
Nov 24, 2026
hardMachine Learning EngineerOtherMachine Learning
0
0

Under what conditions does strong duality hold for the SVM optimization problem?

What a Strong Answer Covers Guidance

  • The type of the objective and of the constraints.
  • Which form of Slater's condition applies and what it requires here.
  • When each formulation is feasible.
  • What the kernel must satisfy.
  • What strong duality gives you when solving the SVM and reading its solution.

Follow-up Questions Guidance

  • In the non-separable hard-margin case, what exactly goes wrong in the dual?
  • Is the optimal α\alpha unique? Is the optimal ww ?
  • How do you recover bb from a dual solution?
  • What happens to a solver if you plug in a kernel that is not positive semi-definite?