Better Algorithms for Selective Sampling

Francesco Orabona, Nicolò Cesa-Bianchi

TL;DR

This paper improves upon existing online selective sampling algorithms (BBQ and DGS) that use regularized least squares (RLS). The authors refine the theoretical bounds, remove restrictive assumptions about knowing the optimal classifier's norm, and introduce a hybrid algorithm that pairs any gradient-based classifier with an RLS-based sampling rule, offering better ways to trade off predictive accuracy against the number of queried labels.

The Problem: Selective Sampling in Online Learning

In online machine learning, a model receives data points sequentially and must predict their labels. In selective sampling (an active learning variant), the true label isn't automatically revealed after a prediction; the algorithm must explicitly query (and often pay a cost for) it. The goal is to maximize accuracy while minimizing the number of queried labels.

Existing algorithms based on Regularized Least Squares (RLS)—specifically BBQ and DGS—offer good theoretical guarantees for this problem. However, previous mathematical analyses assumed the algorithm knew the exact norm of the optimal "Bayes" classifier. This is highly unrealistic, especially when using complex, infinite-dimensional kernel spaces. Furthermore, the original DGS algorithm, while mathematically elegant because it lacked tuning parameters, practically failed by over-sampling (querying almost every label) early in the training process. This paper aims to fix these theoretical gaps and make the algorithms more practical for real-world use.

Methodological Updates

The authors focus on kernel-based linear classifiers using RLS. Both BBQ and DGS decide to query a label based on the variance of the RLS margin—essentially, if the model's uncertainty about a specific data point is high, it asks for the label. The authors introduce three major methodological updates:

  • New BBQ Analysis: They tighten the regret bound for the BBQ algorithm, proving it achieves optimal learning rates under low-noise conditions without needing to know the Bayes classifier's norm.
  • DGS-Mod: They modify the DGS algorithm by introducing a tunable parameter ($\alpha$) to control the sampling rate. They also alter the query rule to make it entirely independent of the unknown optimal classifier norm.
  • The Hybrid Algorithm: They introduce a novel way to decouple the classifier from the sampler. They run a gradient-based classifier (like a sparse Perceptron) in parallel with the DGS-Mod sampler. The RLS-based sampler decides when to query, but the gradient classifier makes the actual predictions and updates.

Datasets Used for Evaluation

  • Synthetic Dataset: 10,000 examples drawn from a uniform distribution in 100 dimensions, designed to test linear kernels and sparse feature learning.
  • RCV1 (Reuters Corpus Volume 1): 40,000 newswire stories (138,860 features) used for a real-world linear kernel test.
  • a9a (Adult dataset subset): 32,561 examples with 123 features, used specifically to test the algorithms with a non-linear (Gaussian) kernel.

Key Insights

  • Dropping the known-norm assumption is a game-changer: By reformulating the math, the authors proved these algorithms work without knowing the norm of the optimal classifier. This is crucial for "universal kernels" (like the Gaussian kernel), where the optimal classifier can be any continuous function, making its norm impossible to know beforehand.
  • Parameterless isn't always better: The original DGS algorithm was praised for having no tuning parameters. However, the authors realized this caused it to query every single label for a long initial stretch. Adding a tuning parameter in DGS-Mod actually makes it practically usable.
  • Decoupling sampling from predicting: The Hybrid algorithm is a clever architectural trick. It allows practitioners to use specialized regularizers (e.g., to promote sparsity in the data) in their main classifier while still leveraging the robust mathematical guarantees of the RLS-based sampling rule.

Key Results

Linear Data Performance

On the synthetic dataset (at a query rate of ~13.5%), BBQ achieved the highest accuracy (~68%), outperforming DGS-Mod. The Hybrid algorithm (using a p-norm Perceptron) performed almost as well as BBQ, successfully exploiting the sparsity of the synthetic data.

Performance on the synthetic dataset using a linear kernel.

Real-World Text

On the RCV1 dataset (linear kernel), BBQ and DGS-Mod performed similarly well, proving their viability on high-dimensional, sparse real-world data.

The Gaussian Kernel Failure

On the a9a dataset using a Gaussian kernel, BBQ performed excellently, but DGS-Mod failed completely.

Performance on the a9a dataset using a Gaussian kernel, highlighting DGS-Mod's struggles.

The authors traced this back to DGS-Mod's mathematical query bound, which relies on the determinant of the Gram matrix. In infinite-dimensional spaces (like with Gaussian kernels), this determinant grows super-linearly. This causes DGS-Mod's mathematical bounds to become vacuous, forcing the algorithm to query almost every single label regardless of how it is tuned.

Limitations and Future Work

The most glaring limitation acknowledged by the authors is DGS-Mod's catastrophic failure when used with non-linear (Gaussian) kernels. Because the determinant of the Gram matrix grows too fast, the algorithm loses its ability to selectively sample. For future work, the authors suggest extending their empirical comparisons to include algorithms developed under different data process assumptions, such as agnostic active learning without constraints, to see how RLS-based methods stack up against broader approaches.

Summary updated

BibTeX
@inproceedings{orabona2011better,
  author = {Francesco Orabona and Nicolò Cesa-Bianchi},
  title = {{Better Algorithms for Selective Sampling}},
  booktitle = {International Conference on Machine Learning},
  year = {2011},
}
Figure