cs.DSSep 25, 2025

Actively Learning Halfspaces without Synthetic Data

Authors: Hadley BlackKasper Green LarsenArya MazumdarBarna SahaGeelon So

Abstract

In the classic point location problem, one is given an arbitrary dataset XRdX \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~(dlogn)\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+logn)Θ(D + \log n). As a corollary, we obtain an optimal O(d+logn)O(d + \log n) query deterministic learner for axis-aligned halfspaces, closing a previous gap of O(dlogn)O(d \log n) vs. Ω(d+logn)Ω(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/ε)logD)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 logD\log D factor, including in the realizable setting.

Explore similar work

Apr 16, 2026cs.DS

Tight Bounds for Learning Polyhedra with a Margin

We give an algorithm for PAC learning intersections of kk halfspaces with a ρρ margin to within error ε\varepsilon that runs in time poly(k,ε1,ρ1)exp(O(nlog(1/ρ)logk))\textsf{poly}(k, \varepsilon^{-1}, ρ^{-1}) \cdot \exp \left(O(\sqrt{n \log(1/ρ) \log k})\right). Notably, this improves on prior work which had an exponential dependence on either kk or ρ1ρ^{-1} and matches known cryptographic and Statistical Query lower bounds up to the logarithmic factors in kk and ρρ in the exponent. Our learning algorithm extends to the more general setting when we are only promised that most points have distance at least ρρ from the boundary of the polyhedron, making it applicable to continuous distributions as well.
Shyamal Patel, Santosh Vempala
May 26, 2026cs.DS

Proper Agnostic Learning of Functions of Halfspaces under Gaussian Marginals

We study the problem of computationally efficient proper agnostic learning of multidimensional concept classes under the Gaussian distribution. In this setting, given i.i.d. labeled samples from an unknown distribution over Rd×{±1}\mathbb{R}^d \times \{\pm 1\} whose marginal on Rd\mathbb{R}^d is Gaussian, the goal is to output a hypothesis from a target class F\mathcal{F} whose 0-1 loss is within εε of that of the best classifier in F\mathcal{F}. We give the first efficient proper agnostic learning algorithm for arbitrary Boolean functions of KK halfspaces under Gaussian marginals. Our algorithm runs in time dO(K2log(1/ε)/ε2)+(K/ε)O(K3/ε2.5)d^{O(K^2 \log(1/ε)/ε^2)} + (K/ε)^{O(K^3/ε^{2.5})}. Prior to our work, the only known algorithm for K2K \geq 2 was brute-force search, with run-time exponential in dd. Moreover, the dependence of our run-time on the dimension dd matches that of the best known improper learning algorithm, namely dO~(K2/ε2)d^{\widetilde{O}(K^2/ε^2)}. For the special case of a single halfspace (K=1K=1), the best previous run-time was dO(1/ε4)+(1/ε)O(1/ε6)d^{O(1/ε^4)} + (1/ε)^{O(1/ε^6)}. Our algorithm improves this to dO(1/ε2)+(1/ε)O(1/ε2.5)d^{O(1/ε^2)} + (1/ε)^{O(1/ε^{2.5})}. Once again, the dependence on dd matches that of the best known improper algorithm, namely dO(1/ε2)d^{O(1/ε^2)}. Furthermore, the dependence of our run-time on the dimension dd is essentially optimal in the statistical query model.
Sergei Tikhonov, Arsen Vasilyan
May 13, 2026stat.ML

What is Learnable in Valiant's Theory of the Learnable?

Valiant's 1984 paper is widely credited with introducing the PAC learning model, but it, in fact, introduced a different model: unlike PAC learning, the learner receives only positives, may issue membership queries, and must output a hypothesis with no false positives. Prior work characterized variants, including the case without queries. We revisit Valiant's original model and ask: Which classes are learnable in it? For every finite domain, including Valiant's Boolean-hypercube setting, we show that a class is learnable if and only if every realizable positive sample can be certified by a poly-size adaptive query-compression scheme. This is a new variant of sample compression where the learner certifies samples via a short interaction with the membership oracle. Our characterization shows that learnability in Valiant's model is strictly sandwiched between learnability in the PAC model and the variant of Valiant's model without membership queries. This is one of the rare cases where introducing membership queries changes the set of learnable classes, and not just the sample or computational complexity. Next, we study the natural extension of the model to arbitrary domains. While we do not obtain an exact characterization, our techniques readily generalize and show that the same strict sandwiching persists. Finally, we show that dd-dimensional halfspaces, which are not learnable without queries, are learnable with queries: we give a poly(d)O~(1/ε)\mathrm{poly}(d) \tilde{O}(1/ε) sample and poly(d)polylog(1/ε)\mathrm{poly}(d) \mathrm{polylog}(1/ε) query algorithm, and prove that at least Ω(d)Ω(d) samples or queries are necessary. To our knowledge, this is the first algorithm for halfspaces in Valiant's model. Together, these results uncover a surprisingly rich theory behind Valiant's original notion of learnability and introduce ideas that may be of independent interest in learning theory.
Steve Hanneke, Anay Mehrotra, Grigoris Velegkas +1