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

Selective Sampling with Drift

Edward Moroshko, Koby Crammer

In the rapidly evolving landscape of machine learning, the assumption of a static environment is often a luxury that real-world applications cannot afford. This paper, presented at AISTATS 2014 by Edward Moroshko and Koby Crammer, addresses the challenge of learning from data streams where underlying patterns—the "target functions"—shift over time. The authors introduce LASEC-SS, a novel second-order selective sampling algorithm designed to maintain high accuracy in non-stationary environments while minimizing the cost of label acquisition.

The Challenge of Concept Drift

Online selective sampling is an active learning paradigm where an algorithm receives data points sequentially. For each point, it must predict a label and decide whether to query the true label at a cost. In stationary environments, an algorithm can eventually "solve" the problem and stop querying. However, in applications like spam detection or financial forecasting, the target function is subject to concept drift.

If an algorithm becomes too confident and ceases querying, it risks becoming "blind" to shifts in the data distribution. This leads to a permanent drop in accuracy as the model continues to rely on obsolete information. Most existing selective sampling methods are first-order or designed for stationary settings, leaving a gap for robust, adaptive solutions.

The LASEC-SS Framework

To bridge this gap, the authors developed the Last-step Adaptive SElective Classifier for Selective Sampling (LASEC-SS). The algorithm is built on several key technical pillars:

  • Second-Order Information: Unlike first-order methods (e.g., the Perceptron) that only update a weight vector, LASEC-SS utilizes a covariance-like matrix to track the spectral properties of the data. This allows for significantly faster adaptation to new trends.
  • Min-Max Optimization: The prediction process is framed as a game against an adversary, where the goal is to minimize "last-step regret" using a squared loss function.
  • Drift Adaptation: A specific parameter ($c$) is introduced to penalize large changes between consecutive models. This mechanism allows the algorithm to effectively "forget" the distant past and prioritize recent data.
  • Randomized Query Rule: The decision to query a label is probabilistic, based on the model's margin (confidence). The probability is defined as $a / (a + |\hat{p}_t|)$, ensuring that the model remains "vigilant" and continues to query labels even when it is relatively confident, preventing the blindness associated with stationary active learners.

Experimental Evaluation

The researchers evaluated LASEC-SS against several benchmarks, including the Second-Order Perceptron (SOP-SS) and the Bayesian Bias-Query (BBQ) algorithm, using two primary setups:

  1. Synthetic Shifting Data: 10,000 examples in 50 dimensions, with the target vector randomly swapped every 500 rounds.
  2. USPS Handwritten Digits: A dataset of 9,298 images where class assignments (positive vs. negative) were reassigned every 500 samples to simulate real-world drift.

Key Results and Insights

LASEC-SS demonstrated superior performance across both synthetic and real-world datasets. A major finding was the failure of the popular BBQ algorithm in drifting environments. BBQ tends to converge and stop querying labels once it identifies a target; when that target shifts, BBQ fails to notice the change because it has stopped asking for feedback.

Figure 1(e): Average accuracy over time on real-world shifting data with a query rate of 0.4. LASEC-SS maintains stable performance while BBQ's accuracy degrades significantly after shifts.

As shown in Figure 1(e), LASEC-SS maintains a high baseline of accuracy and recovers quickly from shifts, whereas BBQ's performance drops off as it loses track of the drifting target. The algorithm proved highly efficient, achieving accuracy levels comparable to "full information" learners (which see every label) while querying only 40-50% of the available labels.

Figure 1(f): Comparison of accuracy vs. fraction of queried labels on real-world shifting data. LASEC-SS consistently provides the best accuracy-to-query-ratio trade-off.

Figure 1(f) highlights the efficiency of the approach, showing that LASEC-SS provides the best trade-off between label cost and predictive performance. The paper also provides theoretical "mistake bounds," mathematically proving that the algorithm's performance scales gracefully with the total amount of drift in the system.

Conclusion and Future Directions

LASEC-SS represents a significant step forward in making active learning practical for dynamic environments. While the current model requires some prior knowledge of the "total drift" to set optimal parameters, it provides a robust foundation for future work. The authors suggest that developing mechanisms to automatically detect drift levels in real-time and dynamically adjust learning rates would further enhance the algorithm's autonomy in blind deployments.

Summary updated

BibTeX
@inproceedings{moroshko2014selective,
  author = {Edward Moroshko and Koby Crammer},
  title = {{Selective Sampling with Drift}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2014},
}
Figure