cs.DSFeb 25, 2026

Testable Learning of General Halfspaces under Massart Noise

Authors: Ilias Diakonikolas, Giannis Iakovidis, Daniel M. Kane, Sihan Liu

Organizations: UW Madison · UC San Diego

Abstract

We study the algorithmic task of testably learning general Massart halfspaces under the Gaussian distribution. In the testable learning setting, the aim is the design of a tester-learner pair satisfying the following properties: (1) if the tester accepts, the learner outputs a hypothesis and a certificate that it achieves near-optimal error, and (2) it is highly unlikely that the tester rejects if the data satisfies the underlying assumptions. Our main result is the first testable learning algorithm for general halfspaces with Massart noise and Gaussian marginals. The complexity of our algorithm is dpolylog(min⁡{1/γ,1/ε})d^{\mathrm{polylog}(\min\{1/γ, 1/ε\})}, where εε is the excess error and γγ is the bias of the target halfspace, which qualitatively matches the known quasi-polynomial Statistical Query lower bound for the non-testable setting. The analysis of our algorithm hinges on a novel sandwiching polynomial approximation to the sign function with multiplicative error that may be of broader interest.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Jun 9, 2026

Efficiently Learning Drifting Halfspaces with Massart Noise

We study the problem of learning a drifting concept in the presence of Massart noise. In this framework, an online learner has access to a history of independent samples whose labels are noisy versions of a target concept that may change from round to round. The goal is to output, in each round, a hypothesis with small prediction error. We study the complexity of this learning problem for the fundamental class of margin-separable linear classifiers (halfspaces). On the positive side, we give a computationally efficient learner achieving error η+O~(Δ1/3/γ)η+ \tilde O(Δ^{1/3}/γ), where ηη upper bounds the Massart noise rate, ΔΔ is the drift rate, and γγ is the margin. Interestingly, in the realizable setting, an adaptation of our techniques yields an efficient learner with an improved error rate over prior work. On the lower-bound side, we provide formal evidence of an information-computation tradeoff, strongly suggesting that our algorithm's performance is essentially optimal. Specifically, while the information-theoretically optimal error scales with Δ1/2Δ^{1/2}, we prove that Δ1/3Δ^{1/3}-scaling is unavoidable for low-degree polynomial tests, even in the special case of random classification noise.
Sep 25, 2025

Actively Learning Halfspaces without Synthetic Data

In the classic point location problem, one is given an arbitrary dataset X⊂RdX \subset \mathbb{R}^d of nn points with query access to an unknown halfspace f:Rd→{0,1}f : \mathbb{R}^d \to \{0,1\}, and the goal is to learn the label of every point in XX. This problem is extremely well-studied and a nearly-optimal O~(dlog⁡n)\widetilde{O}(d \log n) query algorithm is known due to Hopkins-Kane-Lovett-Mahajan (FOCS 2020). However, their algorithm is granted the power to query arbitrary points outside of XX (point synthesis), and in fact without this power there is an Ω(n)Ω(n) query lower bound due to Dasgupta (NeurIPS 2004). In this work our goal is to design efficient algorithms for learning halfspaces without point synthesis. To circumvent the Ω(n)Ω(n) lower bound, we consider learning halfspaces whose normal vectors come from a set of size DD, and show tight bounds of Θ(D+log⁡n)Θ(D + \log n). As a corollary, we obtain an optimal O(d+log⁡n)O(d + \log n) query deterministic learner for axis-aligned halfspaces, closing a previous gap of O(dlog⁡n)O(d \log n) vs. Ω(d+log⁡n)Ω(d + \log n). In fact, our algorithm solves the more general problem of learning a Boolean function ff over nn elements which is monotone under at least one of DD provided orderings. Our technical insight is to exploit the structure in these orderings to perform a binary search in parallel rather than considering each ordering sequentially, and we believe our approach may be of broader interest. Furthermore, we use our exact learning algorithm to obtain nearly optimal algorithms for PAC-learning. We show that O(min⁡(D+log⁡(1/ε),1/ε)⋅log⁡D)O(\min(D + \log(1/\varepsilon), 1/\varepsilon) \cdot \log D) queries suffice to learn ff within error ε\varepsilon, even in a setting when ff can be adversarially corrupted on a cεc\varepsilon-fraction of points, for a sufficiently small constant cc. This bound is optimal up to a log⁡D\log D factor, including in the realizable setting.
Apr 29, 2026

Near-Optimal Cryptographic Hardness of Learning With Homogeneous Halfspaces Under Gaussian Marginals

We study three problems that involve identifying homogeneous halfspaces under Gaussian distributions: agnostic learning, one-sided reliable learning, and fairness auditing. In each of these problems, we are given labeled examples (x,y)(\mathbf{x}, \mathrm{y}) drawn from an unknown distribution on Rd×{−1,+1}\mathbb{R}^d\times\{-1, +1\}, whose marginal distribution on x\mathbf{x} is standard Gaussian and on y\mathrm{y} is arbitrary. The goal of each problem is to output a homogeneous halfspace that approaches the best-fitting homogeneous halfspace in terms of its corresponding loss measure. We prove near-optimal computational hardness results for these problems under the widely believed hardness assumption of the Learning With Errors (LWE) problem. Prior hardness results for these problems were mostly established for general halfspaces; our findings extend some of these hardness results to homogeneous halfspaces. Remarkably, our lower bound strictly generalizes over prior works and narrows the gap between the upper and lower bounds for agnostically learning homogeneous halfspaces under Gaussian marginals.