cs.AIAug 14, 2026

Handover of In-Context Learning State Across Session Boundaries

Authors: Masahiro Kato, Taka Kato

Abstract

This study investigates the methodological and theoretical properties of session handover in applications that use large language models. A task may continue in a new session when the context reaches the model's input limit, when the application restarts, or when another agent is asked to finish the task. The application must then decide which information from the earlier session to pass on. We formulate handover as the transfer of a task-relative in-context learning (ICL) state and distinguish exact recovery of earlier material from preservation of the target distribution. Under an exogeneity condition, predictive equivalence characterizes the coarsest deterministic sufficient handover and gives a fixed-length bit requirement. The analysis isolates the effects of the memory constraint, the writer, and the continuation procedure, and quantifies the cost of writing before the realized downstream query is known. We propose a three-part record that stores decisions and constraints exactly, uses task-justified statistics for repeated evidence, and retains original observations whose effect is not preserved by those statistics. Gaussian linear regression gives an exact finite-dimensional handover and finite-bit perturbation bounds, while nonparametric regression gives upper and lower bounds that relate memory to squared prediction error. These results provide a theory and method for deciding what a handover must retain and how its memory requirement depends on the continuation task.

Explore similar work

CardsList
  1. Understanding Generalization and Forgetting in In-Context Continual Learning

    May 27, 2026Guangyu Li, Meng Ding, Lijie HuContinual Learning for LLMsIn-Context Learning

  2. When Context Sticks: Studying Interference in In-Context Learning

    Apr 25, 2026Hanna Rød, Dagny Streit, Nils Valseth Selte +1In-Context Learning

  3. Rethinking Transfer in Continual Learning: A Replay-Based Realisation

    Jul 17, 2026Yang Meng, Zhenya Liu, Zhuokai Zhao +1Continual Learning for LLMsExperience Replay