Consider a hard-margin SVM trained on the dataset: with label , with label , and with label . A student claims that all points in a linearly separable dataset must be support vectors if they are not strictly inside the convex hull of their class. This is a contradiction because points can lie outside the margin without being support vectors. What is the minimum number of support vectors this SVM can have?
2.00
Step-by-Step Solution
Key idea: This is a hard-margin SVM question testing the KKT conditions. The key observation is that a point is a support vector if and only if its dual variable . We can find the optimal by maximizing the dual objective.
Step 1: The dual objective for hard-margin SVM is to maximize subject to and .
Step 2: Compute the dot products:
, , .
, , .
, , .
Step 3: The constraint gives .
Step 4: Substitute into :
Simplifying the quadratic form:
.
So .
Step 5: Maximize by setting partial derivatives to zero:
.
.
Step 6: Solve the system:
Subtracting the second from the first: .
Then .
And .
Step 7: The optimal dual variables are .
Since , is NOT a support vector.
Since and , and are support vectors.
The minimum number of support vectors is 2.
Answer: 2.00