A Probabilistic Framework for Adapting to Changing and Recurring Concepts in Data Streams

Ben Halstead, Yun Sing Koh, Patricia Riddle, Mykola Pechenizkiy, Albert BifetDSAA 2022 · DOI

Abstract

The distribution of streaming data often changes over time as conditions change, a phenomenon known as concept drift. Only a subset of previous experience, collected in similar conditions, is relevant to learning an accurate classifier for current data. Learning from irrelevant experience describing a different concept can degrade performance. A system learning from streaming data must identify which recent experience is irrelevant when conditions change and which past experience is relevant when concepts reoccur, e.g., when weather events or financial patterns repeat. Existing streaming approaches either do not consider experience to change in relevance over time and thus cannot handle concept drift, or only consider the recency of experience and thus cannot handle recurring concepts, or only sparsely evaluate relevance and thus fail when concept drift is missed. To enable learning in changing conditions, we propose SELeCT, a probabilistic method for continuously evaluating the relevance of past experience. SELeCT maintains a distinct internal state for each concept, representing relevant experience with a unique classifier. We propose a Bayesian algorithm for estimating state relevance, combining the likelihood of drawing recent observations from a given state with a transition pattern prior based on the system's current state.

Introduction

In real-world data streams, such as sensor networks or financial markets, the underlying data distribution often shifts—a phenomenon known as concept drift. For instance, an air quality prediction model might need to adapt its logic based on shifting wind directions. Effective learning in these environments requires a system to distinguish between relevant and irrelevant past experiences. While many systems can adapt to new concepts, few are designed to efficiently recall past models when previously seen concepts reoccur.

The Problem: Forgetting vs. Accumulating

Most existing approaches to concept drift fall into two categories:

  1. Accumulating Experience: These systems continuously learn from all incoming data. While they retain all information, they suffer from "pollution" when the concept changes, as irrelevant past data degrades the current model's accuracy.
  2. Forgetting Experience: These systems detect drift and discard the old model to start fresh. This prevents pollution but leads to "catastrophic forgetting," where the system must relearn a concept from scratch even if it has encountered it before.
Figure 1: Comparison of accumulating, forgetting, and recalling experience. Existing settings often fail to maintain accuracy when concepts reoccur, whereas a recalling approach maintains high performance by leveraging past relevant experience.

Furthermore, many "adaptive" systems rely on sparse evaluation. They only check their library of past models when a drift detector triggers an alert. If a drift is gradual or the signal is noisy, the detector may remain silent, leaving the system stuck with a sub-optimal model.

Methodology: The SELeCT Framework

To address these limitations, we propose SELeCT (Streaming Extraction of Likelihoods for Concept Transitions). The core innovation of SELeCT is the shift from sparse, alert-driven evaluation to continuous evaluation of all stored concepts.

State Repository and Bayesian Estimation

SELeCT maintains a repository of distinct "states," each representing a specific concept with its own classifier and data distribution representation. For every new observation, the system calculates the probability that each stored state is the most relevant using a Bayesian approach:

  • Likelihood: Measures how well the recent data matches the distribution of a given state.
  • Transition Prior: Incorporates historical patterns to estimate the probability of transitioning from the current state to another (e.g., seasonal or periodic patterns).

Continuous Selection and Stability

To prevent the system from "jittering" between models due to noise, SELeCT employs Hoeffding bounds. A swap to a different active state only occurs when the system is statistically certain that the alternative is significantly more relevant. This balances the "stability-plasticity" dilemma, ensuring the system is reactive to true drift while remaining stable against outliers.

Figure 2: The limitations of sparse evaluation in traditional frameworks. SELeCT addresses the "Problem" panel by continuously evaluating state relevance rather than waiting for a drift alert.

Experimental Evaluation

We evaluated SELeCT against several state-of-the-art frameworks using a mix of real-world and synthetic benchmarks:

  • Real-world: Aedes (mosquito flight), Arabic-Digits (speech), and CMC (contraceptive surveys).
  • Synthetic Benchmarks: STAGGER and RandomTree.
  • WIND Benchmark: A new simulation designed specifically to test the recall of recurring concepts under unobserved context changes (wind direction).

Key Results

SELeCT demonstrated significant improvements in both tracking accuracy and classification performance:

  • Superior Concept Tracking: SELeCT achieved a Context-F1 (C-F1) score of over 0.9 on most datasets, outperforming frameworks like FiCSUM.
  • Accuracy Gains: On the complex TREE dataset, SELeCT's Kappa statistic was up to 43% higher than competing methods.
  • Near-Optimal Performance: In many scenarios, SELeCT's performance approached that of a theoretical "optimal" baseline with perfect knowledge of drift points.

Conclusion

SELeCT provides a robust probabilistic framework for handling recurring concept drift through continuous Bayesian relevance estimation. By avoiding the "sparse evaluation trap," it ensures the most relevant model is active at all times. Future work will focus on improving computational efficiency as the state repository grows and exploring proactive drift prediction to further enhance reaction times.

Summary updated

BibTeX
@inproceedings{halstead2022probabilistic,
  author = {Ben Halstead and Yun Sing Koh and Patricia Riddle and Mykola Pechenizkiy and Albert Bifet},
  title = {{A Probabilistic Framework for Adapting to Changing and Recurring Concepts in Data Streams}},
  booktitle = {DSAA},
  year = {2022},
  doi = {10.1109/dsaa54385.2022.10032368},
}
Figure