A Polynomial Time Algorithm for Learning Halfspaces with Tsybakov Noise

Ilias Diakonikolas, Daniel M. Kane, Vasilis Kontonis, Christos Tzamos, Nikos ZarifisarXiv 2020

Introduction

Learning halfspaces, or linear classifiers, is a cornerstone of machine learning. While the problem is computationally trivial in noise-free settings, real-world data is rarely clean. In the presence of adversarial (agnostic) noise, the problem becomes NP-hard to approximate. To bridge the gap between the ideal and the intractable, researchers focus on noise models that are more realistic than simple random noise but more structured than agnostic noise. One such model is the Tsybakov noise model.

This paper provides a significant breakthrough by presenting the first polynomial-time algorithm for PAC learning halfspaces under Tsybakov noise for a broad class of distributions. This result breaks the long-standing quasi-polynomial time barrier for this fundamental problem.

The Tsybakov Noise Model

In the Tsybakov noise model, the label $y$ of an example $x$ is flipped with a probability $\eta(x)$. Unlike the simpler Massart noise model, where $\eta(x)$ is strictly bounded away from $1/2$ (e.g., $\eta(x) \leq 0.49$), Tsybakov noise allows the flip probability to approach $1/2$ as the point $x$ gets closer to the decision boundary. Specifically, the noise is controlled by parameters $\alpha$ and $A$, which dictate how much probability mass can exist in regions where the noise is high. This makes the model highly realistic but significantly more difficult to solve than Massart noise.

Algorithmic Framework: From Polynomials to Certificates

The authors' approach builds on a framework that reduces learning to a "certification" problem. If a candidate halfspace is not optimal, the algorithm must find a "certificate"—a specific reweighting of the data space—that demonstrates this suboptimality. This certificate is then used to update the candidate halfspace via an online convex optimization routine.

The "Win-Win" Certificate Algorithm

Previous attempts to solve this problem relied on high-degree polynomial regression to find certificates. Because the degree of the polynomials required to approximate the noise grew with the desired accuracy, these methods were restricted to quasi-polynomial time.

The core innovation of this work is a new polynomial-time certificate algorithm. Instead of complex polynomials, the authors use a simpler family of certifying functions based on hard thresholds and narrow "bands" around the candidate halfspace. They demonstrate a "win-win" scenario: at each iteration, the algorithm either:

  1. Successfully identifies a valid certificate to update the model.
  2. Executes a perceptron-like update that strictly improves the alignment (angle) between the current guess and the true optimal halfspace.

Perspective Projection

A common technique in high-dimensional learning is projecting data onto a lower-dimensional subspace. However, standard orthogonal projections often cause points with different labels to overlap, destroying the linear separability inherent in the halfspace model. The authors introduce "perspective projection," a technique that preserves the linear structure and the Tsybakov noise conditions, allowing for effective dimensionality reduction without losing the signal.

Warm-Starts and Log-Concave Distributions

For the specific case of log-concave distributions (which include Gaussians and Laplacians), the authors provide an even more efficient approach using "Chow parameters." These parameters are essentially the first and second moments of the noisy data. By analyzing the eigenvectors of the degree-2 Chow matrix, the algorithm can identify a low-dimensional subspace containing a significant component of the true halfspace. This provides a "warm-start" initialization, drastically reducing the search space and improving efficiency.

Key Results and Complexity

The primary result is a learner that runs in time $poly(d, 1/\epsilon)$, where $d$ is the dimension and $\epsilon$ is the target error. This is the first algorithm to achieve polynomial complexity for this problem.

For isotropic log-concave distributions, the sample complexity is $poly(d) \cdot O(A/\epsilon)^{O(1/\alpha^2)}$. While the dependence on the noise parameter $\alpha$ is exponential, this is qualitatively consistent with information-theoretic lower bounds. Crucially, the algorithm achieves "true identifiability," meaning it can drive the error down to exactly $\epsilon$ relative to the true underlying function, rather than just approximating the optimal error.

Conclusion and Future Work

This work resolves a fundamental question in learning theory by demonstrating that Tsybakov noise does not necessitate quasi-polynomial complexity. By replacing high-degree polynomials with simpler geometric certificates and leveraging the properties of log-concave distributions, the authors have expanded the toolkit for robust machine learning.

Future research may focus on extending these techniques to distribution-free settings or applying the "win-win" certificate framework to more complex models, such as intersections of halfspaces or simple neural networks (ReLUs) under Tsybakov noise.

Summary updated

BibTeX
@misc{diakonikolas2020polynomial,
  author = {Ilias Diakonikolas and Daniel M. Kane and Vasilis Kontonis and Christos Tzamos and Nikos Zarifis},
  title = {{A Polynomial Time Algorithm for Learning Halfspaces with Tsybakov Noise}},
  year = {2020},
  eprint = {2010.01705},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.01705},
}
Figure