Abstract
In traditional active learning, a learner queries the labels of individual examples to identify a target concept $h^* \in H$ from a pool $S$ of $n$ unlabeled examples. While effective in one dimension, this approach often fails to provide significant gains over passive learning in higher dimensions without restrictive assumptions. We propose a more powerful framework using region queries, where a learner asks whether all examples within a chosen subset $T \subset X$ share a specific label $y$. This paper quantifies the fundamental trade-off between the number of queries required and the complexity of the query language, measured by the VC dimension of the family of regions. We demonstrate that for any hypothesis class $H$ with VC dimension $d$, there exists a query family $Q$ with VC dimension $O(d)$ that allows the learner to perfectly label $S$ using only $O(d \log n)$ queries. Furthermore, we provide computationally efficient algorithms for specific classes, including unions of intervals, high-dimensional boxes, and halfspaces.
Introduction
The promise of active learning is to drastically reduce the amount of labeled data needed by allowing the algorithm to choose which examples to label. However, the standard "point query" model—where the learner asks for the label of a single point—is often too limited. For instance, learning a simple linear classifier in two dimensions can require $\Omega(n)$ queries if the data distribution is adversarial, offering no improvement over labeling the entire dataset.
To bypass these limitations, we introduce the concept of region queries. Instead of asking about a single point, the learner asks: "Are all points in this specific region positive?" If the answer is "yes," the learner instantly labels a potentially large subset of the data. If "no," the learner gains information about the existence of at least one negative point within that region. The challenge lies in ensuring that these regions are "simple" enough to be practical. We formalize this simplicity using the Vapnik-Chervonenkis (VC) dimension of the query language.
The Complexity of Query Languages
A central contribution of this work is identifying the VC dimension as the appropriate metric for the communication complexity of a query. A query class with a low VC dimension can be described using a small number of bits, making it feasible for human annotators or large language models (LLMs) to process.
The $O(d \log n)$ Bound
We prove that for any hypothesis class $H$ with VC dimension $d$, one can design a region query family $Q$ with VC dimension $O(d)$ such that any dataset $S$ of size $n$ can be perfectly labeled in $O(d \log n)$ queries. This represents an exponential improvement over point queries in many settings. Conversely, we show a matching lower bound: if the query class $Q$ has a VC dimension significantly lower than $d$, the learner is forced back into the polynomial query regime, requiring $poly(n)$ queries to achieve perfect labeling.
Efficient Algorithms for Practical Classes
While the general algorithm for any class $H$ provides strong theoretical bounds, it is not always computationally efficient. We therefore develop specialized, efficient algorithms for several well-studied hypothesis classes:
- Unions of $k$ Intervals: We utilize a binary search strategy over intervals to achieve $O(k \log n)$ query complexity with $O(1)$ query VC dimension.
- Axis-Parallel Boxes: By learning each boundary independently, we achieve $O(d \log n)$ queries with $O(\log d)$ query complexity.
- Halfspaces in $\mathbb{R}^d$: This is the most technically demanding case. We employ Forster’s Transform to place the dataset into an "approximate radially isotropic position." This transformation ensures that we can find regions with a guaranteed margin, allowing us to implement a modified Perceptron algorithm using region queries. This results in a query complexity of $\tilde{O}(d^3 \log n)$.
| Hypothesis Class $H$ | Query Complexity | Query VC-dim | Efficient? |
|---|---|---|---|
| General (VC-dim $d$) | $O(d \log n)$ | $O(d)$ | No |
| Union of $k$ Intervals | $O(k \log n)$ | $O(1)$ | Yes |
| Axis Parallel Boxes | $O(d \log n)$ | $O(\log d)$ | Yes |
| Halfspaces in $\mathbb{R}^d$ | $\tilde{O}(d^3 \log n)$ | $\tilde{O}(d^3)$ | Yes |
Robustness to Unknown Domains
A significant feature of our specific algorithms (intervals, boxes, and halfspaces) is their robustness. They function correctly even if the labeler evaluates the query against an unknown superset $L$ of the learner's pool $S$. This "open-world" assumption is particularly relevant when the labeler is an external oracle (like an LLM or a domain expert) who may have access to a broader context than the learner's local dataset.
Conclusion and Future Work
Region queries offer a powerful alternative to point-based active learning, enabling exponential savings in label complexity while maintaining a simple query language. While we have established the theoretical foundations and provided efficient algorithms for key classes, several avenues for future research remain. These include extending the framework to handle noisy queries where the labeler may provide incorrect answers, and further optimizing the $d^3$ dependence for halfspace queries to improve practical performance in high-dimensional spaces.
Summary updated