Doc-to-LoRA Analysis: Query Conditioning, Wrong Facts, and Distractor Interference
Not on the map. Why?
Abstract (arXiv)
Doc-to-LoRA (D2L) compiles documents into low-rank adapters, allowing language models to use their contents without repeatedly processing the original text. We investigate its suitability for internalizing user memories through factual question answering, controlled interventions, and a production MidBrain memory pipeline. Across Gemma-2-2B and Qwen3-4B, D2L loses accuracy relative to in-context learning, with additional documents introducing substantial interference. Single-document errors frequently match answers to other questions about the same passage, suggesting unreliable question-answer attribution. Layer-wise interventions show that interference accumulates across depth, with more concentrated early damage at larger bank sizes on Gemma. With eight documents, applying the full bank in the initial layers gives similar accuracy to withholding all document contributions there. Source membership is detectable in intermediate states, but trained readers do not reliably resolve the interference. On PersonaMem-v2, joint compilation and normalized adapter composition achieve accuracy close to consolidated text memory when retrieved episodes remain text, but the resulting token savings are modest. Measured throughput gains also depend on model and batch size despite substantial reductions in analytical compute. Together, these findings limit the practical case for D2L as a replacement for text-based memory and motivate investigating online-learning methods that acquire personalized behavior from interactions in which memory is used.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 47 of its 52 references that are in the map. Submitted 23 Nov 2026, announced 24 Nov 2026.
Builds on
47 of 52 references.
References · 47
- 2025Qwen3 Technical Reportcited by 9,994
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,276
- 2022Locating and Editing Factual Associations in GPTcited by 2,951
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 2,225
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,424
- 2022Editing Models with Task Arithmeticcited by 1,272
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,253
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,123
- 2022Mass-Editing Memory in a Transformercited by 1,110
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 1,003
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 977
35 more
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 949
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 916
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 915
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 876
- 2021Fast Model Editing at Scalecited by 543
- 2023Learning to Compress Prompts with Gist Tokenscited by 426
- 2023LoraHub: Efficient Cross-Task Generalization via Dynamic LoRA Compositioncited by 404
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 397
- 2022Learning by Distilling Contextcited by 180
- 2025PersonaMem-v2: Towards Personalized Intelligence via Learning Implicit User Personas and Agentic Memorycited by 106
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 102
- 2019Reasoning Over Paragraph Effects in Situationscited by 82
- 2025Text-to-LoRA: Instant Transformer Adaptioncited by 78
- 2026Doc-to-LoRA: Learning to Instantly Internalize Contextscited by 65
- 2022HyperTuning: Toward Adapting Large Language Models without Back-propagationcited by 55
- 2026SHINE: A Scalable In-Context Hypernetwork for Mapping Context to LoRA in a Single Passcited by 39
- 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 35
- 2022HINT: Hypernetwork Instruction Tuning for Efficient Zero- & Few-Shot Generalisationcited by 34
- 2023Propagating Knowledge Updates to LMs Through Distillationcited by 32
- 2024Self-Updatable Large Language Models by Integrating Context into Model Parameterscited by 30
- 2024Efficient Knowledge Injection in LLMs via Self-Distillationcited by 29
- 2025Training Plug-n-Play Knowledge Modules with Deep Context Distillationcited by 28
- 2026Understanding LoRA as Knowledge Memory: An Empirical Analysiscited by 19
- 2026Scaling Self-Evolving Agents via Parametric Memorycited by 18
- 2024MEND: Meta dEmonstratioN Distillation for Efficient and Effective In-Context Learningcited by 16
- 2026How LoRA Remembers? A Parametric Memory Law for LLM Finetuningcited by 8
- 2024Prompt Bakingcited by 7
- 2026SmartSearch: How Ranking Beats Structure for Conversational Memory Retrievalcited by 6
- 2026Uncovering Context Reliance in Unstructured Knowledge Editingcited by 5
- 2026The Override Gap: A Magnitude Account of Knowledge Conflict Failure in Hypernetwork-Based Instant LLM Adaptationcited by 5
- 2026Rethinking LoRA Memory Through the Lens of KV Cache Compressioncited by 4
- 2026Doc-to-Atom: Learning to Compile and Compose Memory Atomscited by 4
- 2026RPMem: Learning Long-Term Recurrent Parametric Memory Across Sessions for LLM Agentscited by 3
- 2026DPPM: Dual-Path Parametric Memory for Personalized Language Modelscited by 2
- 2026Mostly Reading: What Open-Book Scores Measure in Document-Level LoRA Adapterscited by 1
Built on by
Not cited yet.