Data Quality over Capacity: Internalizing Documents into LoRA Adapters for Closed-Book QA
Not on the map. Why?
Abstract (arXiv)
We study baking documents directly into the weights of a 4-bit Gemma-4-e4b model via LoRA, so a system can answer questions about a corpus closed-book: no retrieval and no context-window budget. Across roughly 100 training runs from single documents to a 99-document corpus, we find that once adapter capacity is adequate, training-data quality is the dominant lever on closed-book accuracy, outweighing LoRA rank, learning rate, and two alternative architectures combined; capacity itself is a hard gate below which no data intervention helps. A single curation pass (shortening gold answers to canonical 1-6 word spans and dropping trivia) moved closed-book accuracy from 57.7% to 85.7% on a 15-document corpus, a larger jump than any architectural change. We confirm a capacity trend (rank must grow with corpus size) entangled with a coupling between rank and learning rate that we initially misdiagnosed. On a 15-document slice we add a real retrieval baseline: the internalized adapter (84.2% recall) beats a BM25-RAG pipeline with a base reader (58.9%) and even a realistic gold-chunk oracle (65.6%) at lower latency. We report the full arc, including three misdiagnoses, as a case study in debugging LLM training empirically.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 8 of its 11 references that are in the map. First posted on arXiv 23 Jul 2026.
Builds on
8 of 11 references.
References · 8
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2024Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations?cited by 232
- 2023Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMscited by 178
- 2024Rephrasing the Web: A Recipe for Compute and Data-Efficient Language Modelingcited by 161
- 2024Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Lawscited by 144
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 86
- 2026Understanding LoRA as Knowledge Memory: An Empirical Analysiscited by 12
- 2026Cartridges at Scale: Training Modular KV Caches over Large Document Collectionscited by 6
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Rethinking LoRA Memory Through the Lens of KV Cache Compression
- 2026Inject, Align, Recover: Staged Post-Training for Retrieval-Free Document Knowledge Internalization
- 2026Doc-to-Atom: Learning to Compile and Compose Memory Atoms
- 2026Analyzing Quality-Latency-Resource Trade-offs in a Technical Documentation RAG Assistant Using LoRA Adaptation
- 2026CorpusQA: A 10 Million Token Benchmark for Corpus-Level Analysis and Reasoning
- 2026Hydra: Unifying Document Retrieval and Generation in a Single Vision-Language Model
- 2023Why So Gullible? Enhancing the Robustness of Retrieval-Augmented Models against Counterfactual Noise
- 2025Stronger Baselines for Retrieval-Augmented Generation with Long-Context Language Models