Under what conditions do kernel SVMs fail or become impractical?

Quick Overview

Asks when kernel support vector machines fail or stop being practical, at training time, at serving time and in model quality. Tests how SVM cost grows with data size and support vectors, which data conditions hurt the model, and which alternative to pick for each case.

Under what conditions do kernel SVMs fail or become impractical?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Under what conditions do kernel SVMs fail or become impractical? Consider both the cases where a kernel SVM cannot be trained or served at the required scale and the cases where it trains fine but gives a poor or unsuitable model. ```hint Count the cost Write down how training memory, training time and prediction time grow with the number of samples and with the number of support vectors. ``` ```hint Look past compute Think about what happens to the support-vector count when classes overlap, and what an RBF distance means when most features are noise. ``` ### What a Strong Answer Covers - How kernel memory and training time grow with the sample count, and roughly where that becomes infeasible - Why prediction cost depends on the number of support vectors and what that means for serving latency - Statistical failure modes: overlapping or noisy classes, high-dimensional or irrelevant features, hyperparameter sensitivity and class imbalance - Requirements a kernel SVM does not meet natively, such as calibrated probabilities, interpretability and incremental updates - Practical alternatives matched to each failure ### Follow-up Questions - How does a Nyström approximation let a kernel method scale, and what do you give up? - How does the value of `C` affect the number of support vectors, and why does that matter at prediction time? - Why does Platt scaling need an internal cross-validation step, and when would you prefer isotonic calibration? - With 2 million rows of mixed numeric and categorical features, how would you choose between an approximate-kernel linear model and gradient boosting?

Overview: Asks when kernel support vector machines fail or stop being practical, at training time, at serving time and in model quality. Tests how SVM cost grows with data size and support vectors, which data conditions hurt the model, and which alternative to pick for each case.

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

Under what conditions do kernel SVMs fail or become impractical?

Consider both the cases where a kernel SVM cannot be trained or served at the required scale and the cases where it trains fine but gives a poor or unsuitable model.

What a Strong Answer Covers Guidance

  • How kernel memory and training time grow with the sample count, and roughly where that becomes infeasible
  • Why prediction cost depends on the number of support vectors and what that means for serving latency
  • Statistical failure modes: overlapping or noisy classes, high-dimensional or irrelevant features, hyperparameter sensitivity and class imbalance
  • Requirements a kernel SVM does not meet natively, such as calibrated probabilities, interpretability and incremental updates
  • Practical alternatives matched to each failure

Follow-up Questions Guidance

  • How does a Nyström approximation let a kernel method scale, and what do you give up?
  • How does the value of C affect the number of support vectors, and why does that matter at prediction time?
  • Why does Platt scaling need an internal cross-validation step, and when would you prefer isotonic calibration?
  • With 2 million rows of mixed numeric and categorical features, how would you choose between an approximate-kernel linear model and gradient boosting?