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

Adaptive Sequential Machine Learning

Craig Wilson, Yuheng Bu, Venugopal V. VeeravalliarXiv 2019

Abstract

In many real-world machine learning applications, data distributions are not static but evolve over time, a phenomenon known as concept drift. This paper introduces a framework for adaptive sequential machine learning that tracks a slowly drifting target. By estimating the "rate of drift" between consecutive tasks, the proposed algorithm adaptively selects the minimum number of samples required at each time step to maintain a specific target accuracy (excess risk). This approach significantly improves efficiency over static sampling strategies by balancing the cost of data acquisition with the necessity of model updates.

Introduction

Standard machine learning paradigms often assume that data is independent and identically distributed (i.i.d.). However, in sequential tasks—such as predicting stock prices or longitudinal demographic shifts—the underlying "ground truth" changes. Practitioners face a dilemma: using too few samples leads to inaccuracy as the model fails to keep pace with the world, while using too many samples wastes computational resources and capital on redundant data.

This research addresses the challenge of maintaining a guaranteed level of accuracy (excess risk) at every time step while minimizing the sample size, even when the speed of the drift is unknown. Unlike methods that focus on cumulative regret, this framework prioritizes per-step performance and resource efficiency.

Methodology

The core of the proposed framework is a recursive strategy that balances prior model knowledge with incoming data.

Modeling and Estimating Drift

The authors define the drift $\rho$ as the distance between the optimal model parameters at time $n$ and $n-1$. Because the true drift is typically unknown, the algorithm employs a "direct estimate" using the triangle inequality and sample-average approximations of gradients. Essentially, the model uses its current performance to infer how far the target distribution has moved.

Adaptive Sample Selection ($K_n$)

Using the estimate of $\rho$, the algorithm calculates $K_n$, the smallest number of samples needed to ensure the expected error remains below a user-defined threshold $\epsilon$. This exploits the continuity of the problem; if the drift is slow, the previous model is a strong starting point, requiring only a small "nudge" of new data to reach the new optimum.

Cost-Based Optimization and Cross-Validation

The framework extends to scenarios with a fixed "sample budget," formulated as an optimization problem to decide when it is most cost-effective to acquire more data. Furthermore, the authors adapt standard cross-validation for a streaming setting, allowing for real-time model selection and hyperparameter tuning (e.g., regularization parameters).

Experimental Results

The approach was validated using three distinct setups:

  1. Synthetic Regression: A 3D quadratic loss problem where parameters shift at a constant rate.
  2. Synthetic Classification: A binary task where Gaussian class means move along a unit sphere.
  3. Panel Study of Income Dynamics (PSID): A real-world longitudinal dataset spanning 1974 to 2012, used to predict annual income based on evolving economic conditions.

Key Findings

  • Efficiency: In synthetic tests, the adaptive sampler maintained the target excess risk ($\epsilon = 0.1$) while using significantly fewer samples than a "start-from-scratch" approach.
  • Tracking Performance: In classification tasks, the adaptive method achieved a higher Area Under the Curve (AUC) and lower test loss compared to "All Samples Up Front" strategies.
  • Real-World Application: On the PSID dataset, the adaptive approach effectively tracked economic shifts over a 38-year horizon, maintaining lower test loss than static baselines.

Discussion and Insights

A critical insight of this work is the "Overshoot Bound." The authors prove that the estimate of the drift $\rho$ remains tight to the actual physical change in the system as long as the target error $\epsilon$ is small. This prevents the estimate from growing uncontrollably. In budget-constrained scenarios, the model learns to "save" its samples, only spending them when cumulative drift threatens to push the error above the threshold.

Limitations

While effective, the theoretical guarantees currently rely on the assumption of strong convexity in loss functions, which applies to models like Ridge Regression or SVMs but may not directly translate to non-convex deep neural networks. Additionally, the drift estimation relies on stochastic gradients; in extremely noisy environments, these estimates may become unstable. Finally, the cost-optimization problem is a Mixed Integer Non-Linear Program (MINLP), which is NP-hard, though the authors utilize relaxations to maintain practical performance.

Summary updated

BibTeX
@misc{wilson2019adaptive,
  author = {Craig Wilson and Yuheng Bu and Venugopal V. Veeravalli},
  title = {{Adaptive Sequential Machine Learning}},
  year = {2019},
  eprint = {1904.02773},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.02773},
}
Figure