cs.LGNov 24, 2026

Sparse Adaptation for In-Context Learning on Data Streams

Authors: João Neves, Afonso Lourenço, Lizy K. John, Eric P. Xing, João Gama

Organizations: INESC-TEC, University of Porto Porto, Portugal · GECAD, Polytechnic of Porto Porto, Portugal · The University of Texas at Austin Texas, United States · Carnegie Mellon University Pittsburgh, United States

Abstract

The Internet of Things (IoT) generates massive data streams, making edge computing essential for low-latency applications and 5G networks. Tabular foundation models (TFMs) enable adaptation through in-context examples rather than parameter updates, but evolving streams challenge context relevance and computational efficiency. This work introduces SAIL, a framework for sparse adaptation of TFMs that reuses the model's key--value cache between adaptation events. SAIL reconstructs its support set only when drifts in stream structure indicate potential context inadequacy, while the structural representation itself is updated by changes in predictive performance. SAIL combines prequential error monitoring with online, class-specific micro-clustering to detect changes in cluster mass, class separability, and feature-space coverage. Upon adaptation, a context budget is allocated proportionally to class mass, and the most recently updated micro-clusters provide representative observations for refitting. This limits context redundancy and computational cost while preserving recent structural information.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Rethinking Tabular Foundation Models On Data Streams

    Oct 4, 2026Nilesh Verma, Daniel Nowak-Assis, Afonso Lourenço +4Tabular Foundation ModelsTabular ICL

  2. Bounded Context Management for Tabular Foundation Models on Stream Learning

    Jun 17, 2026Jinmo Lee, Doyun Choi, Moongi Choi +1In-Context Example SelectionTabular Foundation Models

  3. Online Continual Learning in Edge-Cloud Applications

    Oct 23, 2026Charalampos Davalas, Dimitrios Michail, Christos Diou +2Online Continual LearningEdge ML