Bridging Streaming Continual Learning via In-Context Large Tabular Models

Afonso Lourenço, João Gama, Eric P. Xing, Goreti MarreirosarXiv 2025 · DOI

Introduction

Streaming Continual Learning (SCL) represents a critical frontier in real-world machine learning, where data arrives in non-stationary streams and underlying concepts evolve over time. This paper proposes a paradigm shift, moving away from traditional weight-updating models toward the use of Large Tabular Models (LTMs) as a unifying bridge. By leveraging the In-Context Learning (ICL) capabilities of foundational models like TabPFN, the authors suggest that the "learning" process should focus on curating the input data context rather than modifying model parameters.

The Challenge of Concept Drift

Real-world data streams are characterized by concept drift, where the statistical properties of the target variable change over time. Existing approaches are split between Stream Learning (SL), which adapts quickly but forgets, and Continual Learning (CL), which retains knowledge but is often too computationally heavy for real-time tabular data.

Visualization of evolving data distributions and overlapping concepts in a non-stationary stream.

The fundamental "stability-plasticity" dilemma persists: models must be plastic enough to incorporate new patterns while remaining stable enough to preserve historical knowledge. Deep learning models often struggle here due to slow convergence and interference during updates on non-stationary data.

Methodology: Data-Centric In-Context Learning

The proposed framework shifts the focus from a model-centric view (changing weights) to a data-centric one (curating the prompt). Instead of fine-tuning, the system performs In-Context Stream Mining.

In-Context Stream Mining and Sketching

The core mechanism involves summarizing massive data streams into compact "sketches." These sketches serve as the context for a fixed-weight LTM. Predictions are made based on these examples without any parameter updates.

  • Distribution Matching: The system selects data that matches the current target distribution for immediate accuracy while maintaining a representative sample of history to prevent forgetting.
  • Distribution Compression: To fit within the finite context window of a transformer, the stream is compressed via diversification (ensuring non-redundant coverage) and retrieval (dynamically pulling relevant historical sketches when old concepts reappear).
The proposed data-centric framework utilizing a foundational model and a concept history sketching mechanism.

Dual-Memory Architecture

A practical implementation utilizes a dual-memory system: a FIFO (First-In-First-Out) short-term memory for rapid adaptation to the latest data and a long-term memory to preserve rare or historical classes, ensuring both plasticity and stability.

Key Insights and Results

The shift to treating data as the learnable object provides several advantages:

  1. Elimination of the Stability Gap: By using fixed-weight models, the performance drops typically seen during weight updates are avoided. Providing the correct historical context allows for "instant" remembering.
  2. Natural Knowledge Isolation: The attention mechanism in LTMs naturally isolates knowledge within the context window, preventing the interference that plagues traditional neural networks.
  3. Empirical Performance: Prior work demonstrates that augmenting transformers with inference-time sketching consistently outperforms state-of-the-art stream learners like Adaptive Random Forests (ARF) and Streaming Random Patches (SRP) across standard benchmarks such as NOAA, Electricity, and CoverType.

Conclusion and Future Directions

While promising, the approach faces challenges regarding the computational cost of transformer inference and the need for more sophisticated "prompt engineering" for tabular data. Future research will focus on developing lightweight wrappers for edge deployment and scaling these methods to high-dimensional feature spaces. By bridging the gap between SL and CL through in-context learning, this framework offers a robust path toward truly adaptive and stable streaming systems.

Summary updated

BibTeX
@misc{lourenco2025bridging,
  author = {Afonso Lourenço and João Gama and Eric P. Xing and Goreti Marreiros},
  title = {{Bridging Streaming Continual Learning via In-Context Large Tabular Models}},
  year = {2025},
  eprint = {2512.11668},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.11668},
}
Figure