mlsanityData to 14 Oct 2026

InfiniteICL: Breaking the Limit of Context Window Size via Long Short-term Memory Transformation

arXiv 2504.01707 ↗First posted 2 Apr 2025cs.CL cs.AIcited by 17

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  4. 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,055
  5. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
  6. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
  7. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
  8. 2023Learning to Compress Prompts with Gist Tokenscited by 390
  9. 2023Adapting Language Models to Compress Contextscited by 356
  10. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 348
  11. 2023MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questionscited by 300
  12. 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentationcited by 256
11 more
  1. 2024Many-Shot In-Context Learningcited by 206
  2. 2024A Human-Inspired Reading Agent with Gist Memory of Very Long Contextscited by 146
  3. 2022Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Modelscited by 97
  4. 2025Lifelong Learning of Large Language Model based Agents: A Roadmapcited by 83
  5. 2024Injecting New Knowledge into Large Language Models via Supervised Fine-Tuningcited by 58
  6. 2023Compressed Context Memory For Online Language Model Interactioncited by 43
  7. 2023Discrete Prompt Compression with Reinforcement Learningcited by 42
  8. 2024With Greater Text Comes Greater Necessity: Inference-Time Training Helps Long Text Generationcited by 37
  9. 2022Prompt Injection: Parameterization of Fixed Inputscited by 36
  10. 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 26
  11. 2024On the Way to LLM Personalization: Learning to Remember User Conversationscited by 21

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 14.

17 papers.

Sort:

By area: