Outliers and the Hard-Margin Linear SVM in High-Dimension, Low-Sample-Size Settings

Yugo NakayamaarXiv 2026

This paper provides a rigorous asymptotic analysis of how outliers disrupt hard-margin linear Support Vector Machines (SVMs) in high-dimensional, low-sample-size (HDLSS) settings. It reveals that all outliers collectively act through a single "effective distance," leading to sharp phase transitions where a single outlier can completely collapse a class's support or cause the model to misclassify perfectly clean data.

TL;DR

In high dimensions, outliers in an SVM don't just add noise; they fundamentally reshape the model's geometry through a single aggregate "effective distance." This research identifies exact mathematical thresholds where outliers cause "support collapse"—stripping inliers of their influence—and proves that while one-sided contamination is devastating, symmetric two-sided contamination can surprisingly leave the final classification boundary unchanged.

What Problem Does This Paper Address?

The "curse of dimensionality" often makes data behave in strange, rigid ways. In HDLSS settings—common in genomics and medical imaging—data points tend to fall onto the vertices of a high-dimensional simplex. While previous research showed that SVMs are "consistent" (they work well) in these settings under ideal conditions, real-world data is rarely ideal. It contains mislabeled samples, sensor errors, or "outliers."

Because hard-margin SVMs rely exclusively on support vectors (the points closest to the decision boundary), they are notoriously sensitive. A single bad data point can theoretically ruin the entire classifier. This paper seeks to quantify exactly how and when this failure happens as the number of dimensions ($d$) grows toward infinity while the number of samples ($n$) remains small and fixed.

Methods

The author employs asymptotic analysis within the HDLSS framework. The key technical innovation is the derivation of the limit for the centered Gram matrix.

  1. Geometric Representation: The author shows that as $d \to \infty$, the Gram matrix (which stores the relationships between all pairs of data points) converges to a deterministic structure: a constant block for inliers plus a diagonal component for outliers.
  2. Effective Distance ($\kappa$): The paper introduces a new metric, $\kappa$, which aggregates the impact of multiple outliers into a single value. This allows complex multi-outlier scenarios to be solved as simple two-variable optimization problems.
  3. Closed-Form Solutions: By analyzing the Karush–Kuhn–Tucker (KKT) conditions of the limiting dual problem, the author derives exact formulas for the SVM weights, the intercept shift, and the resulting misclassification rates.

To help keep track of the many variables involved in these geometric limits, the author provides a notation guide:

Table 1. Principal notation.

Datasets

The paper relies on synthetic numerical experiments to validate the theoretical proofs.

  • Parameters: Typically $d = 20,000$ dimensions with very small sample sizes ($n_1 = n_2 = 10$).
  • Distributions: Data is generated using both Gaussian distributions and standardized $t_5$ distributions (to test heavier tails).
  • Setup: Outliers are placed at specific "effective distances" to test the predicted phase transitions and breakdown points.

Key Insights and Ideas

  • The Power of One: In high dimensions, $m$ equidistant outliers act exactly like a single outlier that is $m$ times "closer" to the data center. This "effective distance" $\kappa$ is the master variable governing SVM failure.
  • Support Collapse: There is a sharp mathematical threshold ($\kappa < \Delta/4$). If outliers are closer than this, the "clean" inliers in that class receive exactly zero weight in the dual problem. The outliers effectively "steal" all the support, and the SVM ignores the actual population it was meant to learn.
  • The Intercept as a Battleground: The SVM intercept acts as a multiplier for class balance. Outliers from Class 1 pull the intercept one way, while outliers from Class 2 pull it the other.
  • Symmetric Immunity: If both classes are contaminated symmetrically (same effective distance), the pulls on the intercept cancel out. Even though the margin shrinks and the dual weights increase, the actual decision boundary remains identical to the clean case.
  • Asymmetric Failure: In two-sided contamination, the math proves that at most one class can collapse or be misclassified. The "stronger" contamination wins the tug-of-war over the intercept.

Key Results

  • Phase Transitions: The experiments (such as Experiment 1 and 3) show near-perfect agreement with the theoretical limits. When the number of outliers $m$ exceeds a critical threshold, the inlier mass drops to zero instantly in the limit.
  • Misclassification Thresholds: The paper provides explicit conditions (Corollary 6.4 and 7.5) for when the SVM will misclassify a clean population. For example, in one-sided contamination, the clean class is misclassified if the outliers are sufficiently close to the midpoint of the two populations.
  • Convergence Rates: Experiment 2 confirms that the error between finite-dimensional simulations and the infinite-dimensional theory decays at a rate of $d^{-1/2}$, validating the use of these limits for practical high-dimensional problems.

Limitations and Future Work

  • Orthogonality Assumption: The results rely on Assumption (A2), which requires outlier deviations to be asymptotically orthogonal to the population contrast. If outliers are highly correlated with the features that distinguish the two classes, these specific limits may not hold.
  • Hard-Margin Focus: The study is confined to hard-margin SVMs. While the author suggests that soft-margin bounds could mitigate these effects, the specific asymptotic behavior of soft-margin SVMs with outliers remains an open question.
  • Kernel Extensions: While the paper mentions the Gaussian kernel, the bulk of the analysis is linear. Extending this rigorous geometric breakdown to more complex non-linear kernels is a suggested next step.

Summary updated

Abstract

We study how outliers affect the hard-margin linear support vector machine when the dimension grows while the sample sizes remain fixed. For one-sided contamination, the centered Gram matrix converges to a constant inlier block plus an outlier-diagonal component, and the limiting dual problem has a closed-form solution. All outliers act through one effective distance. This representation yields explicit thresholds for loss of inlier support, margin shrinkage. intercept displacement, and asymptotic misclassification. We then treat contamination in both classes. The limiting intercept is the multiplier of the class-balance constraint, and the two classes pull it in opposite directions. Consequently, at most one class can collapse or be asymptotically misclassified, whereas symmetric contamination leaves the limiting discriminant function unchanged even though the margin shrinks. Seven numerical experiments verify the dual allocation, phase transitions, and discriminant limits.
BibTeX
@misc{nakayama2026outliers,
  author = {Yugo Nakayama},
  title = {{Outliers and the Hard-Margin Linear SVM in High-Dimension, Low-Sample-Size Settings}},
  year = {2026},
  eprint = {2611.13869},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.13869},
}
Figure