Doc-to-Atom: Learning to Compile and Compose Memory Atoms
On the map: LLM reasoning → Knowledge- and tool-augmented reasoning
Abstract (arXiv)
Long input sequences are central to document understanding and multi-step reasoning in Large Language Models, yet the quadratic cost of attention makes inference both memory-intensive and slow. Context distillation mitigates this by compressing contextual information into model parameters, and recent work such as Doc-to-LoRA amortizes context distillation into a single forward pass that generates one LoRA adapter per document. However, producing a single monolithic adapter for all queries leads to irrelevant-query interference, limited compositional recall, and poor scalability to long-document reasoning. To address these challenges, we propose Doc-to-Atom (Doc2Atom), a compositional parametric memory framework that decomposes each document into semantically typed knowledge atoms. Each atom is compiled into an independent micro-LoRA adapter and a provenance retrieval key. At inference time, a lightweight query router selects and assembles only the relevant atoms into a query-specific adapter, which is then injected into a frozen base model. The entire system is trained end-to-end through a multi-objective distillation framework. Experiments on six diverse QA benchmarks demonstrate that Doc2Atom outperforms Doc-to-LoRA baselines while reducing the memory cost of document internalization.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 27 of its 36 references that are in the map. First posted on arXiv 10 Jun 2026.
Builds on
27 of 36 references.
References · 27
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2025Qwen3 Technical Reportcited by 8,820
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,055
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 486
15 more
- 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
- 2019Continual learning with hypernetworkscited by 273
- 2022Learning by Distilling Contextcited by 138
- 2024Long Context Compression with Activation Beaconcited by 104
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 86
- 2019Reasoning Over Paragraph Effects in Situationscited by 79
- 2026Doc-to-LoRA: Learning to Instantly Internalize Contextscited by 43
- 2022HINT: Hypernetwork Instruction Tuning for Efficient Zero- & Few-Shot Generalisationcited by 28
- 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 26
- 2025Training Plug-n-Play Knowledge Modules with Deep Context Distillationcited by 24
- 2025Continual Learning via Sparse Memory Finetuningcited by 20
- 2025InfiniteICL: Breaking the Limit of Context Window Size via Long Short-term Memory Transformationcited by 17
- 2024MEND: Meta dEmonstratioN Distillation for Efficient and Effective In-Context Learningcited by 15
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Trace Only What You Need: Structure-Aware On-Demand Hypergraph Memory for Long-Document Question Answering
- 2025Reuse, Don't Recompute: Efficient Large Reasoning Model Inference via Memory Orchestration
- 2026MemDuet: Learning Dual-Process Memory for Long-Context Reasoning
- 2026Knowledge Capsules: Structured Nonparametric Memory Units for LLMs
- 2026DocAtlas: Long-Document Understanding as Mutable-State Interaction
- 2024AtomR: Atomic Operator-Empowered Large Language Models for Heterogeneous Knowledge Reasoning
- 2026Chain-of-Memory: Lightweight Memory Construction with Dynamic Evolution for LLM Agents
- 2026ByteRover: Agent-Native Memory Through LLM-Curated Hierarchical Context