InfiniteICL: Breaking the Limit of Context Window Size via Long Short-term Memory Transformation
Not on the map. Why?
Abstract (arXiv)
In-context learning (ICL) is critical for large language models (LLMs), but its effectiveness is constrained by finite context windows, particularly in ultra-long contexts. To overcome this, we introduce InfiniteICL, a framework that parallels context and parameters in LLMs with short- and long-term memory in human cognitive systems, focusing on transforming temporary context knowledge into permanent parameter updates. This approach significantly reduces memory usage, maintains robust performance across varying input lengths, and theoretically enables infinite context integration through the principles of context knowledge elicitation, selection, and consolidation. Evaluations demonstrate that our method reduces context length by 90% while achieving 103% average performance of full-context prompting across fact recall, grounded reasoning, and skill acquisition tasks. When conducting sequential multi-turn transformations on complex, real-world contexts (with length up to 2M tokens), our approach surpasses full-context prompting while using only 0.4% of the original contexts. These findings highlight InfiniteICL's potential to enhance the scalability and efficiency of LLMs by breaking the limitations of conventional context window sizes.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Builds on 23 of its 42 references that are in the map. First posted on arXiv 2 Apr 2025.
Builds on
23 of 42 references.
References · 23
- 2017Attention Is All You Needcited by 60,361
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,055
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
- 2023Learning to Compress Prompts with Gist Tokenscited by 390
- 2023Adapting Language Models to Compress Contextscited by 356
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 348
- 2023MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questionscited by 300
- 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentationcited by 256
11 more
- 2024Many-Shot In-Context Learningcited by 206
- 2024A Human-Inspired Reading Agent with Gist Memory of Very Long Contextscited by 146
- 2022Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Modelscited by 97
- 2025Lifelong Learning of Large Language Model based Agents: A Roadmapcited by 83
- 2024Injecting New Knowledge into Large Language Models via Supervised Fine-Tuningcited by 58
- 2023Compressed Context Memory For Online Language Model Interactioncited by 43
- 2023Discrete Prompt Compression with Reinforcement Learningcited by 42
- 2024With Greater Text Comes Greater Necessity: Inference-Time Training Helps Long Text Generationcited by 37
- 2022Prompt Injection: Parameterization of Fixed Inputscited by 36
- 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 26
- 2024On the Way to LLM Personalization: Learning to Remember User Conversationscited by 21
Built on by
Citing papers per year: 2025: 3; 2026: 14.
17 papers.
Sort:
By area:
- 2026Reinforcement Learning via Self-Distillationcited by 332
- 2026Self-Distillation Enables Continual Learningcited by 247
- 2026On-Policy Context Distillation for Language Modelscited by 186
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agentscited by 44
- 2026Doc-to-LoRA: Learning to Instantly Internalize Contextscited by 43
- 2026Aligning Language Models from User Interactionscited by 28
- 2026Online Experiential Learning for Language Modelscited by 28
- 2026Latent Context Compilation: Distilling Long Context into Compact Portable Memorycited by 13
- 2025Prompt-MII: Meta-Learning Instruction Induction for LLMscited by 9
- 2026InfMem: Learning System-2 Memory Control for Long-Context Agentcited by 9
- 2025Hidden in the Haystack: Smaller Needles are More Difficult for LLMs to Findcited by 7
- 2026Context Distillation as Latent Memory Managementcited by 6
5 more
- 2026LLM-as-a-Coach: Experiential Learning for Non-Verifiable Taskscited by 4
- 2026Doc-to-Atom: Learning to Compile and Compose Memory Atomscited by 2
- 2025Understanding Parametric Knowledge Injection in Retrieval-Augmented Generationcited by 1
- 2026Do Language Models Need Sleep? Offline Recurrence for Improved Online Inferencecited by 0
- 2026Function-Space Temporal Self-Distillation for Policy Optimizationcited by 0
- 2026Function-Space Temporal Self-Distillation for Policy Optimization14 Oct 2026
- 2026LLM-as-a-Coach: Experiential Learning for Non-Verifiable Tasks20 Jul 2026
- 2026Doc-to-Atom: Learning to Compile and Compose Memory Atoms10 Jun 2026
- 2026Context Distillation as Latent Memory Management27 May 2026
- 2026Do Language Models Need Sleep? Offline Recurrence for Improved Online Inference25 May 2026
- 2026Online Experiential Learning for Language Models17 Mar 2026
- 2026Aligning Language Models from User Interactions18 Feb 2026
- 2026Doc-to-LoRA: Learning to Instantly Internalize Contexts13 Feb 2026
- 2026On-Policy Context Distillation for Language Models12 Feb 2026
- 2026InfMem: Learning System-2 Memory Control for Long-Context Agent2 Feb 2026
- 2026Latent Context Compilation: Distilling Long Context into Compact Portable Memory31 Jan 2026
- 2026Reinforcement Learning via Self-Distillation28 Jan 2026
5 more
- 2026Self-Distillation Enables Continual Learning27 Jan 2026
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agents14 Jan 2026
- 2025Prompt-MII: Meta-Learning Instruction Induction for LLMs19 Oct 2025
- 2025Understanding Parametric Knowledge Injection in Retrieval-Augmented Generation14 Oct 2025
- 2025Hidden in the Haystack: Smaller Needles are More Difficult for LLMs to Find23 May 2025
- 2026Function-Space Temporal Self-Distillation for Policy Optimization14 Oct 2026
- 2026Doc-to-Atom: Learning to Compile and Compose Memory Atoms10 Jun 2026
- 2026Doc-to-LoRA: Learning to Instantly Internalize Contexts13 Feb 2026
- 2026Reinforcement Learning via Self-Distillationcited by 332
- 2026On-Policy Context Distillation for Language Modelscited by 186
- 2026On-Policy Context Distillation for Language Models12 Feb 2026
- 2026Reinforcement Learning via Self-Distillation28 Jan 2026
- 2026Aligning Language Models from User Interactionscited by 28
- 2026Aligning Language Models from User Interactions18 Feb 2026
- 2026Self-Distillation Enables Continual Learningcited by 247
- 2026Self-Distillation Enables Continual Learning27 Jan 2026
- 2026Online Experiential Learning for Language Modelscited by 28
- 2026Latent Context Compilation: Distilling Long Context into Compact Portable Memorycited by 13
- 2025Prompt-MII: Meta-Learning Instruction Induction for LLMscited by 9
- 2026InfMem: Learning System-2 Memory Control for Long-Context Agentcited by 9
- 2025Hidden in the Haystack: Smaller Needles are More Difficult for LLMs to Findcited by 7
- 2026Context Distillation as Latent Memory Managementcited by 6
- 2026LLM-as-a-Coach: Experiential Learning for Non-Verifiable Taskscited by 4
- 2026Do Language Models Need Sleep? Offline Recurrence for Improved Online Inferencecited by 0
- 2026LLM-as-a-Coach: Experiential Learning for Non-Verifiable Tasks20 Jul 2026
- 2026Context Distillation as Latent Memory Management27 May 2026
- 2026Do Language Models Need Sleep? Offline Recurrence for Improved Online Inference25 May 2026
- 2026Online Experiential Learning for Language Models17 Mar 2026
- 2026InfMem: Learning System-2 Memory Control for Long-Context Agent2 Feb 2026
- 2026Latent Context Compilation: Distilling Long Context into Compact Portable Memory31 Jan 2026
- 2025Prompt-MII: Meta-Learning Instruction Induction for LLMs19 Oct 2025
- 2025Hidden in the Haystack: Smaller Needles are More Difficult for LLMs to Find23 May 2025