What is the minimum number of support vectors needed to define a decision boundary in an n-dimensional space?

Quick Overview

Asks for the smallest number of support vectors a linear SVM needs to define its decision boundary in n dimensions. Tests use of the KKT conditions, the geometry of the maximum-margin hyperplane, the general-position bound, and how soft margins and bias terms change the count.

What is the minimum number of support vectors needed to define a decision boundary in an n-dimensional space?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What is the minimum number of support vectors needed to define a decision boundary in an $n$-dimensional space? Assume a standard linear SVM with a bias term, trained on separable data. ```hint A constraint from the bias Differentiate the SVM Lagrangian with respect to the bias term and see what it forces on the dual multipliers. ``` ```hint What margin maximization fixes A hyperplane through arbitrary points needs many of them to pin it down. Ask how much freedom is left once you also require the margin to be as wide as possible. ``` ### What a Strong Answer Covers - The minimum count, and whether it depends on the dimension $n$ - What rules out a smaller count - When the minimum is reached, and what the data must look like - Why the "$n$ points define a hyperplane" intuition does not apply, and what general position implies for the count - How a soft margin, or a model without a bias term, changes the count ### Follow-up Questions - If you drop the bias term and force the hyperplane through the origin, what is the minimum? - In a soft-margin SVM, how does the regularization parameter $C$ change the number of support vectors? - Why does the number of support vectors matter for prediction cost in a kernel SVM? - Does the minimum change when you use an RBF kernel?

Overview: Asks for the smallest number of support vectors a linear SVM needs to define its decision boundary in n dimensions. Tests use of the KKT conditions, the geometry of the maximum-margin hyperplane, the general-position bound, and how soft margins and bias terms change the count.

General logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

What is the minimum number of support vectors needed to define a decision boundary in an nn-dimensional space? Assume a standard linear SVM with a bias term, trained on separable data.

What a Strong Answer Covers Guidance

  • The minimum count, and whether it depends on the dimension nn
  • What rules out a smaller count
  • When the minimum is reached, and what the data must look like
  • Why the " nn points define a hyperplane" intuition does not apply, and what general position implies for the count
  • How a soft margin, or a model without a bias term, changes the count

Follow-up Questions Guidance

  • If you drop the bias term and force the hyperplane through the origin, what is the minimum?
  • In a soft-margin SVM, how does the regularization parameter CC change the number of support vectors?
  • Why does the number of support vectors matter for prediction cost in a kernel SVM?
  • Does the minimum change when you use an RBF kernel?