NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Active classification with comparison queries

Daniel M. Kane, Shachar Lovett, Shay Moran, Jiapeng Zhang

Introduction

In the field of machine learning, active learning is a strategy where an algorithm selectively queries a human expert for labels on specific unlabeled examples. The objective is to achieve high classification accuracy while minimizing the number of expensive label requests. While highly effective for simple one-dimensional problems, standard active learning often struggles with higher-dimensional data, such as linear classifiers (half-spaces) in 2D or 3D, where it may require as many queries as passive learning in the worst case.

In their paper, Daniel M. Kane and colleagues propose a solution to this "curse of dimensionality" by expanding the types of questions an algorithm can ask. Instead of relying solely on binary label queries ("Is this point positive or negative?"), they introduce comparison queries.

The Power of Comparison Queries

A comparison query asks: "Which of these two points is further from the decision boundary?" This type of feedback is often more intuitive for human annotators than providing absolute labels, particularly for points near the boundary. More importantly, it provides critical distance information that allows the algorithm to infer the labels of many other points without querying them directly.

For example, in a recommendation system, asking "Which of these two items do you prefer?" provides more nuanced information about the user's preference boundary than simply asking "Do you like this item?"

Algorithmic Approach

The researchers introduce a new theoretical framework based on the Inference Dimension, a combinatorial measure that determines the minimum number of points needed to infer the label of at least one other point using both labels and comparisons.

For 2D half-planes, the authors describe a "confident region" algorithm that operates iteratively:

  1. Subsampling: The algorithm selects a small subset of points to label. Subsampling and labeling a small set of points to initiate the active learning process. Active classification with comparison queries, page 4
  2. Inference: Using comparison queries, it constructs geometric "cones" or regions where all points are guaranteed to share the same label.
  3. Iteration: Once labels are inferred for a chunk of the dataset, those points are removed, and the process repeats on the remaining unlabeled data. Inferring labels for the remaining points and iteratively repeating the process. Active classification with comparison queries, page 4
Subsampling and labeling a small set of points to initiate the active learning process.
Inferring labels for the remaining points and iteratively repeating the process.

Through a boosting argument, they prove that if a concept class has a finite inference dimension, a randomized algorithm can reveal all $n$ labels in a sample using only $O(\log n)$ queries.

Key Results and Theoretical Bounds

The introduction of comparison queries leads to an exponential reduction in query complexity for linear classifiers:

  • 2D Half-planes: Complexity drops from $\Omega(n)$ to $O(\log n)$.
  • High-Dimensional Success: By assuming either bounded bit-complexity (coordinates described with limited bits) or a large margin (a significant gap between classes), the algorithm maintains efficiency in higher dimensions. Specifically, with bit-complexity $B$, the complexity is $\tilde{O}(B \log n)$, and with margin $\gamma$, it is $\tilde{O}(d \log(1/\gamma) \log n)$.
  • The 3D Barrier: Interestingly, without these additional assumptions, 3D half-spaces remain difficult, requiring $\Omega(n)$ queries in the worst case.

Discussion and Future Directions

While comparison queries offer a powerful path forward, several challenges remain. The computational cost of determining the optimal query can be high for complex datasets like the Boolean hypercube. Additionally, the current model assumes a "perfect" annotator; real-world applications must account for noisy comparisons where human feedback might be inconsistent.

Future research may extend the Inference Dimension framework beyond linear classifiers to more complex models, such as decision trees or neural networks, further bridging the gap between theoretical active learning and practical application.

Summary updated

BibTeX
@inproceedings{kane2017active,
  author = {Daniel M. Kane and Shachar Lovett and Shay Moran and Jiapeng Zhang},
  title = {{Active classification with comparison queries}},
  booktitle = {FOCS},
  year = {2017},
  url = {https://openreview.net/forum?id=IqGTiIG2L6T},
}
Figure