arXiv:2611.02344cs.DSNov 2026

Manuscript Offprint

arXiv:2611.02344

Efficient Proper Agnostic Learning of Halfspaces

Anindya De, Elchanan Mossel, Shivam Nadimpalli, Joe Neeman

Abstract

We give a proper membership-query algorithm for agnostically learning halfspaces under the uniform distribution on {±1}n\{\pm1\}^n. Given query access to an arbitrary function f:{±1}n→{±1}f: \{\pm1\}^n \to \{\pm1\}, our algorithm runs in time poly(n)+2poly(1/ε)\text{poly}(n) + 2^{\text{poly}(1/\varepsilon)} and outputs a halfspace with error at most OPT+ε\text{OPT} + \varepsilon, where OPT\text{OPT} is the error of the best-fitting halfspace for ff. Previously, even with membership queries, the best known running time was npoly(1/ε)n^{\text{poly}(1/\varepsilon)}, achieved by the sample-based algorithm of Kalai, Klivans, Mansour, and Servedio (FOCS 2005). Our algorithm is the first agnostic halfspace learner under the uniform distribution on {±1}n\{\pm1\}^n whose running time is polynomial in nn with an exponent independent of ε\varepsilon.

Combining our algorithm with a boosting argument yields a proper agnostic learner using only random examples. It achieves the same OPT+ε\text{OPT} + \varepsilon guarantee, with running time matching that of Kalai et al. up to an additive term depending only on ε\varepsilon. To our knowledge, this is the first sample-based proper agnostic learner in the Boolean setting with running time 2o(n)2^{o(n)} for every fixed ε>0\varepsilon > 0.

*University of Pennsylvania. Email: anindyad@seas.upenn.edu. †MIT. Email: elmos@mit.edu. ‡MIT. Email: shivamn@mit.edu. §Email: joeneeman@gmail.com.

Contents

1 Introduction 1
1.1 Our Results ..... 2
1.2 Overview of Theorem 1 ..... 3
1.3 Related Work ..... 8
1.4 Acknowledgements and AI Methodology ..... 10
2 Preliminaries 10
2.1 Fourier Analysis on the Hypercube ..... 11
2.2 Gaussian Space and Multilinear Extensions ..... 12
2.3 Halfspaces ..... 13
2.3.1 Useful Estimates ..... 13
2.3.2 Regular Halfspaces ..... 14
2.3.3 The Critical Index ..... 16
2.4 Efficient Search over Halfspaces in Fixed Dimension ..... 16
3 Influence PCA on the Boolean Hypercube 17
3.1 Definition and Basic Properties ..... 18
3.2 Relationship to the Gaussian Influence PCA Matrix ..... 19
3.3 Top Eigenspaces and Matrix Estimation ..... 20
4 Proper Agnostic Learning with Queries 21
4.1 The Head Variables ..... 21
4.2 Regularizing Candidate Halfspaces ..... 22
4.3 The Common Tail Subspace ..... 23
4.4 The Empirical Head and Top Eigenspace ..... 25
4.5 Proof of Theorem 1 ..... 26
5 Proper Agnostic Learning with Samples 30
5.1 An Improper Correlation Finder ..... 31
5.2 Proof of Theorem 2 ..... 33
A Proof of Proposition 7 38
A.1 Comparing Exponential Functions ..... 39
A.2 Truncating the Sine Integral ..... 41
A.3 Completing the Upper Bound ..... 42
A.4 Optimality of the Exponent ..... 43
B Estimating the Influence PCA Matrix 45

References (61)