Polynomial-Time Robust Multiclass Linear Classification under Gaussian Marginals

Ilias Diakonikolas, Giannis Iakovidis, Mingchen Ma

TL;DR

This paper breaks a long-standing computational barrier in robust machine learning by introducing the first fully polynomial-time algorithms for agnostically (robustly) learning multiclass linear classifiers under Gaussian distributions. The authors demonstrate that standard perceptron approaches fail even in completely noiseless settings, and they bypass this limitation using a novel pairwise improper-learning framework combined with localization techniques to achieve dimension-independent error guarantees.

What Problem Does This Paper Address?

Linear classification is one of the oldest and most foundational problems in machine learning. While the binary case ($k=2$) has a mature algorithmic theory—even when data is corrupted by adversarial label noise (known as agnostic learning)—moving to multiclass classification ($k \ge 3$) introduces significantly more intricate geometry.

Prior to this work, robust multiclass algorithms scaled exponentially with the inverse of the desired accuracy ($1/\epsilon$), making them computationally intractable for practical use. This paper tackles a fundamental question: Can we design fully polynomial-time robust learners for multiclass linear classification under structured distributions (like Gaussians) with dimension-independent error guarantees?

Methods

The authors abandon standard approaches in favor of three novel techniques:

  1. Improper Pairwise Learning: Instead of trying to learn a single, massive weight matrix for all classes simultaneously, the algorithm breaks the problem down into a one-vs-one tournament. It learns a separate linear separator for every pair of labels and aggregates the votes into a "pseudo-multiclass classifier."
  2. Partial Label Learning Analysis: When training a separator to distinguish class $i$ from class $j$, the algorithm only looks at data points belonging to those two classes. This conditioning warps the clean Gaussian distribution into something highly non-Gaussian. The authors prove a new structural correlation lemma (Lemma 3.3) showing that a usable gradient signal still exists despite this distortion and adversarial noise.
  3. Localization via Soft Truncation: To sharpen the error bounds, the authors implement a localization scheme that filters data to focus heavily on the region near the current decision boundary. By zooming in on this high-ambiguity zone, the informative error signal is amplified, allowing the algorithm to boost its accuracy.

Datasets

Not discussed in the paper. This is a purely theoretical work evaluated using mathematical proofs based on synthetic distributions, specifically where the feature vectors ($x$-marginals) follow a standard $d$-dimensional Gaussian distribution $\mathcal{N}(0, I)$.

Key Insights and Ideas

  • The Perceptron Failure: A major "aha moment" is the discovery that the standard multiclass perceptron algorithm can fail spectacularly even in the realizable (completely noiseless) setting under a Gaussian distribution. The weight vectors can become so ill-conditioned that the algorithm requires super-polynomially many samples ($k^{\Omega(\log k)}$) to make progress.
  • The Hard Instance Geometry: The authors construct a specific geometric trap where labels are determined sequentially by the first positive coordinate (shown in Figure 1). Trying to resolve these boundaries forces the norms of subsequent weight vectors to blow up exponentially ($\epsilon^{-\Omega(k)}$), paralyzing perceptron-style dynamics.
Figure 1: In our hard instance, the labels are determined by the first positive coordinate.
  • High-Dimensional Regularity: For general $k > 3$, localization requires the target classifier to have a well-behaved geometry. The authors define this using two new metrics: effective boundary mass (how prominent the interface between two classes is) and critical angle (how well-isolated the boundary is from third-party classes). Crucially, they prove that random high-dimensional classifiers naturally satisfy these conditions.

Key Results

  • Perceptron Lower Bound: Mathematically proved that the standard multiclass perceptron requires super-polynomial samples/iterations to achieve even a basic error of $1/k$.
  • General Multiclass Learner: Developed a fully polynomial-time algorithm running in $\text{poly}(d, k, 1/\epsilon)$ time that achieves a dimension-independent error of $\widetilde{O}(k^{3/2}\sqrt{\mathrm{opt}}) + \epsilon$, where $\mathrm{opt}$ is the error of the best possible linear classifier.
  • Error Boosting: By applying their localization framework, they improved this guarantee to a linear dependence on the optimal error:
  • For $k=3$ (ternary classification), they achieve an error of $O(\mathrm{opt}) + \epsilon$ unconditionally.
  • For $k > 3$, they achieve $\text{poly}(k)\mathrm{opt} + \epsilon$ for geometrically regular classifiers.

Limitations and Future Work

The primary limitation is the strict structural assumption: the feature distribution must be Gaussian. The authors note that their algorithms are improper, meaning they output a tournament of pairwise classifiers rather than a standard, clean multiclass linear classifier matrix.

Future research directions include determining whether a proper learner can achieve similar polynomial-time guarantees, reducing the polynomial dependence on $k$, and extending these robust frameworks to broader, non-Gaussian distributional settings.

Summary updated

BibTeX
@inproceedings{diakonikolas2026polynomial,
  author = {Ilias Diakonikolas and Giannis Iakovidis and Mingchen Ma},
  title = {{Polynomial-Time Robust Multiclass Linear Classification under Gaussian Marginals}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=LQQKnVMfWI},
}
Figure