Abstract
Online selective sampling aims to minimize labeling costs by selectively querying labels for informative examples. Traditional methods often rely solely on the margin, failing to distinguish between model uncertainty and data noise. This paper introduces the Doubly AGGRessive (DAGGER) framework, which incorporates both margin and uncertainty into its query rule. DAGGER employs "aggressive querying" for novel data and "aggressive updating" even when predictions are correct but margins are small. Evaluations across 33 binary classification datasets, including large-scale sentiment analysis, demonstrate that DAGGER variants consistently outperform state-of-the-art selective samplers, achieving lower error rates with significantly fewer queries.
Introduction
In many machine learning applications, unlabeled data is abundant, but obtaining ground-truth labels is expensive and time-consuming. Selective sampling, a form of online active learning, addresses this by allowing an algorithm to decide in real-time whether to query a label for a given example. The primary challenge in the online setting is the inability to revisit past examples; decisions must be made immediately based on the current model state.
Existing selective sampling algorithms typically use the margin—the distance of a point from the decision boundary—as the sole criterion for querying. However, a small margin can indicate either genuine model ignorance (uncertainty) or inherent data noise. Relying only on the margin often leads to wasted queries on noisy points or insufficient exploration of novel feature spaces.
The DAGGER Framework
The Doubly AGGRessive (DAGGER) framework addresses these limitations by being "doubly aggressive." First, it performs aggressive querying: when encountering novel data or in early training rounds, the algorithm queries labels deterministically. Second, it performs aggressive updating: unlike the standard Perceptron, DAGGER updates its model even on correct predictions if the margin is below a certain threshold.
The core of DAGGER is a stochastic query rule that combines the margin ($|\hat{p}_i|$) with a measure of uncertainty ($r_i$), derived from the inverse covariance matrix of previously seen data. This allows the algorithm to identify "lonely" regions of the feature space where uncertainty is high, triggering more frequent queries.
As shown in the heatmaps, DAGGER algorithms exhibit a "phase transition." When uncertainty is high, they query labels with probability 1 regardless of the margin. As confidence grows, the query rule becomes more selective, focusing on examples near the decision boundary.
Experimental Evaluation
The performance of two variants, DAGGER-ridge and DAGGER-wemm, was evaluated against state-of-the-art methods like CBGZ-ridge and BBQ across 33 binary classification tasks. These included 20 Newsgroups, Reuters (RCV1-v2), and large-scale Amazon sentiment analysis tasks involving millions of features.
Results
The experiments demonstrated that DAGGER algorithms are significantly more efficient than traditional selective samplers. By querying more aggressively in the early stages, DAGGER builds a robust model faster, which leads to a lower total number of queries over time.
Key findings include:
- Superior Efficiency: DAGGER-ridge consistently achieved the lowest test error for a given query budget.
- Robustness: The algorithms performed well across diverse domains, from news categorization to high-dimensional sentiment analysis.
- Early Learning Payoff: While DAGGER's initial query rate is higher, it quickly plateaus, eventually requiring fewer labels than competing methods to reach the same accuracy.
Conclusion
The DAGGER framework represents a significant advancement in online selective sampling by effectively balancing margin and uncertainty. Its "doubly aggressive" approach ensures rapid model convergence and efficient label usage. Future work will explore extending these principles to multi-class classification and optimizing computational complexity for real-time applications.
Summary updated