cs.DSOct 26, 2026

Query Complexity of Learning Axis-Aligned Partitions

Authors: Hadley Black, Arya Mazumdar, Barna Saha, Geelon So

Organizations: Baruch College, CUNY. · UC San Diego. · ETH Zürich.

Abstract

This work establishes the query complexity of learning high-dimensional boxes in the exact query learning setting. Let X⊂RdX \subset \mathbb{R}^d be a set of nn points, labeled by a collection of kk boxes: the label of each point in XX is determined by the unique box containing it. A learner aims to exactly recover the labels for every point in XX given access to a label oracle. We consider three increasingly-structured settings. In the most general setting, there are no conditions on the boxes, and they may overlap. We show that CAL (Cohn-Atlas-Ladner 1994), a classical active learning algorithm, is minimax-optimal with query complexity Θ(kdlog⁡(n/kd))Θ(kd \log (n/kd)). When the boxes are disjoint, we examine two regimes. In the large-kk regime, CAL remains minimax-optimal. For the constant-kk regime, an optimized variant of the Halving algorithm (Hegedüs 1995) can beat CAL by a log⁡(d)\log(d) factor. Finally, in the most-structured settings, the boxes correspond to the leaves of a constant-sized decision tree. We prove a tight query complexity of Θ(d+log⁡n)Θ(d + \log n) that is additive in dd and log⁡n\log n, generalizing a recent result (Black-Larsen-Mazumdar-Saha-So 2026) that establishes the query complexity of learning decision stumps.

Figures & tables

Explore similar work

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.
Oct 16, 2026

PAC Learning with Query Feedback

We study realizable multiclass PAC learning with query feedback, where each training example provides a single binary response indicating whether its true label belongs to a chosen subset from a fixed query family. Our main contribution is the query dimension, a combinatorial parameter that captures both the structure of the hypothesis class and the ability of the available queries to distinguish labels. This parameter generalizes the bandit DS dimension, which it recovers under singleton queries. We establish a sample-complexity lower bound of Ω(D/ε)Ω(D/\varepsilon) and an upper bound of O~(D2/ε)\widetilde{O}(D^2/\varepsilon), suppressing factors polylogarithmic in the number of labels and the failure probability. When the available queries can split every candidate set into two parts of comparable size, we improve the upper bound to O~(D/ε)\widetilde{O}(D/\varepsilon), yielding a characterization up to logarithmic factors.
Aug 3, 2026

Randomized Algorithms for Learning Partitions with Near Optimal Query Complexity in Constant Rounds

We study the round complexity of learning a hidden partition P\mathcal{P} of an nn-element universe using PAIR queries: PAIR(x,yx,y) tells us whether xx and yy belong to the same part of the partition or not. While it is easy to learn using n∣P∣n|\mathcal{P}| queries using a basic algorithm and this query complexity is optimal, this basic algorithm is highly sequential. Black, Mazumdar, and Saha [COLT 2025] recently gave tight deterministic round/query tradeoffs when the number of parts of P\mathcal{P} is known. In particular they prove Θ(log⁡log⁡n)Θ(\log\log n) rounds are sufficient and necessary to limit the number of queries to n∣P∣n|\mathcal{P}|. They leave proving a randomized lower bound as an open direction. We show that randomization dramatically changes the picture. When the number of parts k=∣P∣k = |\mathcal{P}| is known, we give a simple 3-round randomized algorithm using O(nklog⁡n)O(nk\log n) queries with high probability, and prove that 2 rounds require Ω(n4/3k2/3)Ω(n^{4/3}k^{2/3}) queries -- the same as deterministic algorithms. We also study a more general setting where the number of parts is unknown. In this case, we give a 4-round randomized algorithm using O(n∣P∣log⁡2n)O(n|\mathcal P|\log^2 n) queries with high probability, and prove that 3-rounds cannot achieve near-optimal query complexity. Furthermore, we show an even bigger separation in this regime between randomized and deterministic algorithms: for the latter, Θ(log⁡n/log⁡log⁡n)Θ(\log n/\log\log n) rounds are necessary and sufficient to obtain near-optimal query complexity.