Why can a simple classifier beat a high-capacity non-linear model when features far outnumber samples?

Quick Overview

Asks why a regularized linear classifier can beat a flexible non-linear model when features far outnumber samples. Tests understanding of variance in the p much larger than n regime, easy separability, chance correlations, the curse of dimensionality, and leakage-free evaluation with nested cross-validation.

Why can a simple classifier beat a high-capacity non-linear model when features far outnumber samples?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why might a simpler, lower-capacity classifier outperform a high-capacity non-linear model on high-dimensional, low-sample-size data? Think of settings such as gene expression or text, where the number of features p is far larger than the number of samples n. ```hint Which error term grows Split expected error into bias and variance, and ask which one grows faster when p is large and n is small. ``` ```hint Training error Ask how many of the possible labelings of n points a linear classifier can fit when it has more than n dimensions to work with. ``` ### What a Strong Answer Covers - How the bias and variance of simple and flexible models compare when p is much larger than n - Why zero training error is easy to reach in this regime and says little about generalization - How chance correlations and the curse of dimensionality hurt flexible and local methods - Which simple models and regularizers work well here, and why - How to evaluate honestly, including where feature selection sits in cross-validation ### Follow-up Questions - With random labels, what accuracy would you expect to see if feature selection were done once on all the data before cross-validation, and why? - When could a high-capacity model still win with p much larger than n? - How would you choose between L1 and L2 regularization for a dataset with 20,000 genes and 100 patients? - How does an RBF-kernel SVM behave here as the kernel width changes?

Overview: Asks why a regularized linear classifier can beat a flexible non-linear model when features far outnumber samples. Tests understanding of variance in the p much larger than n regime, easy separability, chance correlations, the curse of dimensionality, and leakage-free evaluation with nested cross-validation.

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

Why might a simpler, lower-capacity classifier outperform a high-capacity non-linear model on high-dimensional, low-sample-size data?

Think of settings such as gene expression or text, where the number of features p is far larger than the number of samples n.

What a Strong Answer Covers Guidance

  • How the bias and variance of simple and flexible models compare when p is much larger than n
  • Why zero training error is easy to reach in this regime and says little about generalization
  • How chance correlations and the curse of dimensionality hurt flexible and local methods
  • Which simple models and regularizers work well here, and why
  • How to evaluate honestly, including where feature selection sits in cross-validation

Follow-up Questions Guidance

  • With random labels, what accuracy would you expect to see if feature selection were done once on all the data before cross-validation, and why?
  • When could a high-capacity model still win with p much larger than n?
  • How would you choose between L1 and L2 regularization for a dataset with 20,000 genes and 100 patients?
  • How does an RBF-kernel SVM behave here as the kernel width changes?