Active Learning for Contextual Search with Binary Feedbacks

Xi Chen, Quanquan Liu, Yining WangarXiv 2021

Abstract

Contextual search involves learning a hidden value function from binary feedback in a high-dimensional space. Standard active learning often fails in this setting due to the "intercept trap," where unbalanced labels lead to poor convergence. We present a novel three-stage active learning framework that utilizes a trisection search to balance labels before applying margin-based techniques. Our approach achieves an estimation accuracy of $\epsilon$ with $\tilde{O}(1/\epsilon^2)$ queries, significantly outperforming the $\Omega(1/\epsilon^3)$ requirement of passive learning.

Introduction

In many real-world scenarios, such as personalized medicine or dynamic pricing, we seek to estimate an underlying value function $v(x)$ based on binary feedback. For instance, in a clinical trial, a researcher might observe whether a specific radiation dose $b$ was "too high" or "too low" for a patient with characteristics $x$. This is the essence of contextual search.

While binary search is efficient in one dimension, high-dimensional contexts $x \in \mathbb{R}^d$ introduce significant complexity. Specifically, when the model includes an intercept term, standard active learning algorithms can become stuck if the query points result in highly unbalanced labels (e.g., almost all responses are "too high"). This phenomenon, known as the "intercept trap," renders active learning no more efficient than random sampling.

The Intercept Trap and Label Balancing

The primary obstacle to efficient active learning in non-homogeneous linear models is the distribution of labels. If the decision boundary is far from the center of the data distribution, a random or poorly chosen query point will likely yield the same label for almost all samples.

Comparison of label distributions in non-homogeneous linear classifiers: unbalanced (left) vs. balanced (right).

As shown in the figure above, when labels are unbalanced (left), the probability of observing a minority label is $O(\epsilon)$, making it difficult to refine the decision boundary. By contrast, a balanced classifier (right) where $\Pr[y=1] = \Omega(1)$ allows for much more informative queries. The "aha moment" of this research is realizing that this failure isn't inevitable; by actively searching for the "label-balancing" query point first, one can unlock the exponential efficiency of margin-based learning.

Methodology: A Three-Stage Framework

To overcome these challenges, we propose a meta-algorithm consisting of three distinct stages:

  1. Trisection Search for Balancing: The algorithm performs a specialized search to identify two query points, $\hat{b}_1$ and $\hat{b}_2$, that are near the model's intercept. This ensures that the binary feedback for these points is approximately balanced (near 50/50).
  2. Margin-based Active Learning: Once labels are balanced, we employ a margin-based strategy. The system only queries the expert when a context $x$ falls within a narrow "uncertainty region" or margin around the estimated decision boundary. This "sample skipping" mechanism focuses the query budget on the most informative instances.
  3. Model Reconstruction: Since active learning typically identifies the direction of the linear model up to a scale factor, we use the two query points from the first stage to solve a system of equations. This allows for the precise reconstruction of the parameters of the mean value function $v(x)$.

Results and Discussion

We evaluated our framework using synthetic datasets where contexts $x$ were drawn from a $d$-dimensional unit ball and noise was uniformly distributed.

Theoretical Efficiency

Our analysis proves that the proposed active learning algorithm achieves a query complexity of $\tilde{O}(1/\epsilon^2)$. While the algorithm may observe up to $1/\epsilon^3$ total items, it only needs to query the expert for a fraction of them. In contrast, any passive learner requires at least $\Omega(1/\epsilon^3)$ queries to achieve the same accuracy.

Empirical Validation

Empirical results confirm these theoretical bounds. In log-log plots of error versus the number of queries, our active learning approach demonstrated a slope of approximately $-0.5$, consistent with $1/\sqrt{n} \approx \epsilon$. Passive baselines exhibited much flatter slopes (between $-0.17$ and $-0.31$), indicating significantly slower convergence. Furthermore, the algorithm showed robust scaling as the dimensionality $d$ increased, with estimation error scaling near-linearly with the dimension.

Conclusion

By explicitly addressing the label balancing problem through a preliminary trisection search, we unlock the full potential of margin-based active learning for contextual search. While current results assume a linear value function and i.i.d. contexts, future work will explore extensions to non-parametric models and settings with adversarial context arrivals.

Summary updated

BibTeX
@misc{chen2021active,
  author = {Xi Chen and Quanquan Liu and Yining Wang},
  title = {{Active Learning for Contextual Search with Binary Feedbacks}},
  year = {2021},
  eprint = {2110.01072},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.01072},
}
Figure