Handover of In-Context Learning State Across Session Boundaries

📅 2026-08-14
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the challenge of cross-session context learning state transfer in large language models by formulating it as a task-dependent state transition problem. We propose a "tripartite recording method" to characterize the coarsest sufficient handover under predictive equivalence, integrating regression analysis and information theory to quantify memory requirements. Theoretically, we derive finite-dimensional exact handovers with perturbation bounds, establishing a quantitative relationship between memory capacity and prediction error. This work achieves optimal information compression and retention under predictive equivalence, providing a rigorous theoretical foundation and methodological framework for efficient cross-session state migration.
📝 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.
Problem

Research questions and friction points this paper is trying to address.

In-Context Learning
Session Handover
Memory Constraint
Large Language Models
State Transfer
Innovation

Methods, ideas, or system contributions that make the work stand out.

In-Context Learning State Transfer
Session Handover
Predictive Equivalence
Sufficient Handover
Memory-Prediction Trade-off