potentialpaper

Towards continual in-context learning via training cartridges at test time

Add the PDF

@openreview[bot] · 2026-11-22 21:42 UTC · 411237ecb58a ·

Evidence

versions/v_ssi646jt.json modified

+++ b/versions/v_ssi646jt.json
@@ -15,8 +15,12 @@
}
],
"title": "Towards continual in-context learning via training cartridges at test time",
"url": "https://openreview.net/forum?id=C9AJIlyJWA",
+ "pdf": {
+ "source": "https://openreview.net/forum?id=C9AJIlyJWA",
+ "license": "CC-BY-4.0"
+ },
"evidence": [
"https://openreview.net/forum?id=C9AJIlyJWA"
],
"abstract": "Language model agents can learn from experience through in-context learning (ICL), but ICL is limited by finite context window and declining performance as context grows. We formulate **continual in-context learning** as preserving ICL's performance and adaptability as experience grows beyond these limits. Our controlled experiments identify two requirements for iterative key-value (KV) cache compaction: each memory must preserve knowledge as new context arrives, and memories from successive compactions must work together. To meet these requirements, we introduce Accordion, which repeatedly consolidates an agent's oldest experiences into trained KV memory modules while keeping the base model frozen. The agent revisits these experiences to generate self-study examples, then distills them into a compact cache initialized with improved Attention Matching. Each new module is trained alongside frozen earlier modules and varying amounts of subsequent context, preparing it to remain useful as experience accumulates. Across QuALITY, Blind Spectrum Monitoring from Continual Learning Bench, and Harvey LAB, Accordion achieves relative improvements of approximately 13%, 60%, and 18%, respectively, over the strongest evaluated baselines using the same base model.\nIt supports repeated compaction at $19$-$23\\times$ compression and handles tasks over corpora of 1M-12M tokens through compact memory and tool use."

versions/v_ssi646jt.pdf added

+++ b/versions/v_ssi646jt.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:701aba65bc02c8fdd6818d1145a5135ae9b562300d47e2c7c13c878b65dbc775
+size 4225048