Abstract
In dynamic environments, machine learning models often suffer from concept drift, where the underlying data distribution shifts over time. This paper presents a novel framework for "Active and Adaptive Sequential Learning" that addresses the dual challenges of label scarcity and environmental non-stationarity. We propose an algorithm that integrates active sampling via Fisher information with an adaptive sample size mechanism based on real-time drift estimation. Theoretical analysis and empirical evaluations on synthetic and real-world datasets demonstrate that our approach maintains target accuracy with significantly fewer labeled samples than traditional methods, even outperforming models trained on massive static datasets.
Introduction
Real-world machine learning applications, such as recommendation engines and financial forecasting, operate in non-stationary environments. A model optimized for user preferences in 2020 may become obsolete by 2024 as trends evolve—a phenomenon known as concept drift. Maintaining model performance requires continuous updates with fresh labeled data. However, obtaining labels is often costly or time-consuming.
Existing sequential learning methods typically assume a stationary environment or utilize a fixed number of samples at each time step, which can be inefficient. If the environment changes slowly, fewer samples are needed; if it shifts abruptly, the sampling rate should increase. This paper introduces a framework where the optimal model parameters $\theta^*_t$ move by a bounded amount $\rho$ at each step. Our goal is to minimize the number of new labeled samples required to keep the excess risk below a predefined threshold $\epsilon$.
Methodology: Active and Adaptive Learning
The proposed algorithm combines active learning and adaptive sampling to achieve high efficiency.
Active Sampling via Fisher Information
To minimize uncertainty in parameter estimation, the algorithm employs active sampling. Instead of random selection, it solves a Semidefinite Programming (SDP) problem to determine an optimal sampling distribution. This distribution minimizes the "Fisher information ratio," effectively targeting data points that provide the most information about the current model parameters. This is particularly effective in models like logistic regression, where the Hessian of the loss function depends on the model parameters.
Adaptive Sample Size and Drift Estimation
The algorithm dynamically adjusts the number of samples $K_t$ at each time step. This adjustment is based on a novel estimator $\hat{\rho}$ that tracks the rate of drift $\rho$ using the samples collected during the active learning process. By calculating the minimum $K_t$ needed to satisfy the error budget $\epsilon$, the system avoids over-sampling during periods of stability.
Optimization with Warm-Started SGD
To ensure rapid convergence, the model parameters are updated using Stochastic Gradient Descent (SGD) initialized with the parameters from the previous time step. This "warm start" leverages historical knowledge, allowing the model to adapt quickly to small shifts in the distribution.
Experimental Results
We evaluated the framework across three scenarios: synthetic regression, a Yelp recommendation task, and synthetic classification.
Efficiency and Accuracy
In the Yelp recommendation experiment, our "Adaptive Active" approach achieved a stable 6% error rate, significantly lower than passive baselines. As illustrated in the results grid above, the adaptive methods successfully track the target excess risk while maintaining a low error rate. Notably, the drift estimator $\hat{\rho}$ (Figure e) converges to a stable upper bound of the true drift, allowing the sample size $K_t$ (Figure c) to decrease over time as the model aligns with the moving target.
Comparison with Static Training
One of the most striking findings is the comparison with the "All Samples Up Front" baseline. In many scenarios, a model trained on a large initial dataset eventually performs worse than a sequential model that adapts over time.
As shown in Figure (a), while the static model starts with very low risk, it cannot account for subsequent drift, leading to a rapid increase in error. In contrast, our adaptive model maintains a consistent risk level by intelligently distributing a smaller total number of samples over time.
Discussion and Key Insights
The benefits of active learning are particularly pronounced when the Hessian of the loss function depends on the model parameters. In logistic regression—common in classification and recommendation systems—the Hessian changes as the model evolves, making active sampling highly effective. Furthermore, the algorithm's conservative drift estimation ensures that the error budget is rarely exceeded, providing a robust "self-correcting" mechanism.
Conclusion
This paper provides a rigorous framework for sequential learning in non-stationary environments. By combining active sampling with adaptive budgeting, we achieve near-optimal performance with minimal labeling effort. Future research will explore extending this framework to non-convex loss functions, such as those found in deep neural networks, and developing approximation algorithms to reduce the computational overhead of solving SDPs in high-dimensional spaces.
Summary updated