mlsanityData to 7 Oct 2026

Panini: Continual Learning in Token Space via Structured Memory

arXiv 2602.15156 ↗First posted 16 Feb 2026cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

Language models are increasingly used to reason over content they were not trained on, such as new documents, evolving knowledge, and user-specific data. A common approach is retrieval-augmented generation (RAG), which stores verbatim documents externally (as chunks) and retrieves only a relevant subset at inference time for an LLM to reason over. However, this results in inefficient usage of test-time compute (LLM repeatedly reasons over the same documents); moreover, chunk retrieval can inject irrelevant context that increases unsupported generation. We propose a human-like non-parametric continual learning framework, where the base model remains fixed, and learning occurs by integrating each new experience into an external semantic memory state that accumulates and consolidates itself continually. We present Panini, which realizes this by representing documents as Generative Semantic Workspaces (GSW) -- an entity- and event-aware network of question-answer (QA) pairs, sufficient for an LLM to reconstruct the experienced situations and mine latent knowledge via reasoning-grounded inference chains on the network. Given a query, Panini only traverses the continually-updated GSW (not the verbatim documents or chunks), and retrieves the most likely inference chains. Across six QA benchmarks, Panini achieves the highest average performance, 5%-7% higher than other competitive baselines, while using 2-30x fewer answer-context tokens, supports fully open-source pipelines, and reduces unsupported answers on curated unanswerable queries. The results show that efficient and accurate structuring of experiences at write time -- as achieved by the GSW framework -- yields both efficiency and reliability gains at read time. Code is available at https://github.com/roychowdhuryresearch/gsw-memory.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 41 of its 62 references that are in the map. First posted on arXiv 16 Feb 2026.

Builds on

41 of 62 references.

References · 41

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  4. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  5. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  6. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  7. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  8. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  9. 2016Learning without Forgettingcited by 2,465
  10. 2017Gradient Episodic Memory for Continual Learningcited by 1,871
  11. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
  12. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,371
29 more
  1. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  2. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
  3. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
  4. 2018Experience Replay for Continual Learningcited by 1,074
  5. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
  6. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 911
  7. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
  8. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
  9. 2022Continual Test-Time Domain Adaptationcited by 520
  10. 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 466
  11. 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 409
  12. 2023Orthogonal Subspace Learning for Language Model Continual Learningcited by 296
  13. 2024HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Modelscited by 273
  14. 2025From RAG to Memory: Non-Parametric Continual Learning for Large Language Modelscited by 223
  15. 2023Mitigating the Alignment Tax of RLHFcited by 181
  16. 2024Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Lawscited by 137
  17. 2021Lifelong Pretraining: Continually Adapting Language Models to Emerging Corporacited by 114
  18. 2024Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsalcited by 114
  19. 2026Learning to Discover at Test Timecited by 94
  20. 2023Test-Time Training on Nearest Neighbors for Large Language Modelscited by 82
  21. 2024LV-Eval: A Balanced Long-Context Benchmark with 5 Length Levels Up to 256Kcited by 80
  22. 2024Antidote: Post-fine-tuning Safety Alignment for Large Language Models against Harmful Fine-tuningcited by 71
  23. 2023On Pitfalls of Test-Time Adaptationcited by 63
  24. 2025Do Large Language Model Benchmarks Test Reliability?cited by 50
  25. 2025Test-Time Learning for Large Language Modelscited by 46
  26. 2025Sleep-time Compute: Beyond Inference Scaling at Test-timecited by 41
  27. 2025SafeMERGE: Preserving Safety Alignment in Fine-Tuned Large Language Models via Selective Layer-Wise Model Mergingcited by 25
  28. 2025Beyond Fact Retrieval: Episodic Memory for RAG with Generative Semantic Workspacescited by 6
  29. 2024Creating an AI Observer: Generative Semantic Workspacescited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026When to Retrieve During Reasoning: Adaptive Retrieval for Large Reasoning Models
  2. 2025CLaRa: Bridging Retrieval and Generation with Continuous Latent Reasoning
  3. 2026Latent Abstraction for Retrieval-Augmented Generation
  4. 2024Refiner: Restructure Retrieval Content Efficiently to Advance Question-Answering Capabilities
  5. 2025Toward Structured Knowledge Reasoning: Contrastive Retrieval-Augmented Generation on Experience
  6. 2025LIR3AG: A Lightweight Rerank Reasoning Strategy Framework for Retrieval-Augmented Generation
  7. 2026EnSI-RAG: Entity-Structure-Indexed Retrieval-Augmented Generation for Long-Document Question Answering
  8. 2025LiveSearchBench: An Automatically Constructed Benchmark for Retrieval and Reasoning over Dynamic Knowledge