Bounded Context Management for Tabular Foundation Models on Stream Learning

Jinmo Lee, Doyun Choi, Moongi Choi, Jaemin Yoo

In the world of machine learning, tabular data (think spreadsheets, logs, and financial records) is still king. But when that data arrives as a continuous stream—where patterns shift and memory is limited—traditional models often struggle to keep up.

A new paper from researchers at Seoul National University and KAIST, titled "Bounded Context Management for Tabular Foundation Models on Stream Learning," proposes a shift in how we think about "learning" from streams. Instead of constantly retraining a model's weights, they suggest we should focus on intelligently managing the model's memory.

TL;DR

The authors introduce CURE, a policy that enables Tabular Foundation Models (TFMs) to excel at stream learning by treating memory management as an information-optimization problem. By strategically keeping recent, uncertain, and non-redundant examples in a "bounded context," CURE outperforms classical stream-learning algorithms by up to 27% without ever updating the model's underlying weights.

What Problem Does This Paper Address?

Stream learning is hard because of distribution shift: the "rules" of the data change over time (e.g., consumer behavior shifts during a holiday). Traditional stream learners, like Hoeffding Trees or online ensembles, handle this by incrementally updating their internal parameters.

Enter Tabular Foundation Models (TFMs). These are large, pre-trained models that use In-Context Learning (ICL). They don't need to be retrained; you just show them a few labeled examples (the "context") alongside a new query, and they figure out the pattern on the fly.

The catch? TFMs have a "context window"—a strict limit on how many examples they can look at once. If a stream provides millions of points, which 1,000 should you keep? Simple "first-in, first-out" (FIFO) approaches often throw away valuable old information or keep too much redundant junk.

Methods

The authors propose a "future-information view," formalizing the idea that a good context is one that provides the most information about near-future queries. This led to the development of CURE (Context management via Uncertainty-aware admission and Redundancy-aware Eviction), which uses a dual-bank memory system:

  1. The Short Bank (Recency): A standard FIFO buffer that keeps the most recent examples. This ensures the model is always grounded in the current "regime" of the data.
  2. The Long Bank (Value): When an example "overflows" from the short bank, CURE decides whether to move it to long-term storage based on two signals:
  3. Entropy-Gated Admission: If the model was highly uncertain (high entropy) about the example when it first saw it, the example is deemed "informative" and admitted to the long bank.
  4. Redundancy-Aware Eviction: If the long bank is full, CURE looks for the most similar pair of examples belonging to the same class. It then evicts the one that is further away from the current data regime (represented by the centroid of the short bank).

Datasets

The researchers evaluated CURE across seven diverse data streams:

  • Real-world streams: NOAA (weather), METER (electricity), RIALTO (image features), POSTURE-No8 (sensor data), POKER (hand classification), and NOMAO (crowdsourced data).
  • Synthetic stream: AGR(A), designed to simulate abrupt concept drifts.

These datasets cover a wide range of challenges, including extreme class imbalance and varying types of distribution shift.

Key Insights and Ideas

  • Learning as Selection: In the era of foundation models, "learning" is shifting from weight optimization to data selection. CURE proves that a frozen model with a smart memory can beat a flexible model with a dumb memory.
  • Uncertainty is a Feature, Not a Bug: The "aha moment" here is that examples the model finds confusing are actually the most valuable to keep. They represent the "hard cases" or the boundaries between classes that the model needs to remember.
  • Redundancy is a Memory Killer: In a bounded memory setting, every slot is precious. Keeping two very similar points is a waste of space. By pruning redundant points, CURE makes room for a more diverse and representative context.

Key Results

  • Dominating Baselines: CURE achieved the highest "prequential accuracy" on all seven streams, outperforming classical heavyweights like Adaptive Random Forests (ARF) and Streaming Random Patches (SRP).
  • Massive Gains: On the RIALTO and METER datasets, CURE improved accuracy by +19.59 and +19.31 percentage points, respectively, over the best classical baselines.
  • Backbone Agnostic: The method isn't tied to one specific model. It showed consistent improvements across four different TFM architectures (TabICL, TabPFN, TabDPT, and LimiX).
  • Efficiency: Despite the extra logic, CURE adds negligible overhead—only about 0.0024 seconds of processing time per example.

Limitations and Future Work

While CURE is powerful, the authors and the results suggest a few areas for growth:

  • TFM Dependency: CURE is a management policy; it can't fix a fundamentally poor TFM. Its performance is still capped by the underlying model's ability to perform in-context learning.
  • Hyperparameter Tuning: While shown to be robust, the entropy threshold ($\tau$) for admitting examples to the long bank still requires some setting.
  • Scaling Context: The study focused on a context budget of 1,000. Future work could explore how these policies scale as TFM context windows grow to tens of thousands of points.

For those interested in the implementation, the code and datasets are available on GitHub.

Summary updated

BibTeX
@inproceedings{lee2026bounded,
  author = {Jinmo Lee and Doyun Choi and Moongi Choi and Jaemin Yoo},
  title = {{Bounded Context Management for Tabular Foundation Models on Stream Learning}},
  booktitle = {FMSD @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=L94GfndIir},
}
Figure