How LoRA Remembers? A Parametric Memory Law for LLM Finetuning
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) must continuously learn and update knowledge to remain effective in dynamic real-world environments. While Low-Rank Adaptation (LoRA) is widely used for such memory updates, existing studies mainly rely on qualitative downstream evaluations, leaving the quantitative capacity limits and underlying dynamics of exact parametric memory largely unexplored. To bridge this gap, we employ LoRA as a controlled memory capacity probe within the latent space to systematically quantify exact parametric memory. We introduce the Parametric Memory Law, a robust power law linking loss reduction Delta L to effective parameters and sequence length. At the token level, fine-grained analysis reveals a deterministic phase transition, demonstrating that a prediction probability of p > 0.5 constitutes a sufficient condition for verbatim recall under greedy decoding. Driven by these insights, we introduce MemFT, a threshold-guided optimization strategy that dynamically redistributes the training budget toward sub-threshold tokens. Empirical evaluations demonstrate that MemFT can enhance memory fidelity and efficiency. Code will be released at https://github.com/zjunlp/ParametricMemoryLaw.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 30 of its 41 references that are in the map. First posted on arXiv 28 May 2026.
Builds on
30 of 41 references.
References · 30
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,063
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 830
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
- 2022A Survey on In-context Learningcited by 721
18 more
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 707
- 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 372
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 216
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 215
- 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 180
- 2024Towards Modular LLMs by Building and Reusing a Library of LoRAscited by 72
- 2025Text-to-LoRA: Instant Transformer Adaptioncited by 58
- 2026Doc-to-LoRA: Learning to Instantly Internalize Contextscited by 43
- 2024Memory3: Language Modeling with Explicit Memorycited by 40
- 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 26
- 2025Dynamic Parametric Retrieval Augmented Generation for Test-time Knowledge Enhancementcited by 25
- 2025Drag-and-Drop LLMs: Zero-Shot Prompt-to-Weightscited by 20
- 2025How Much Knowledge Can You Pack into a LoRA Adapter without Harming LLM?cited by 13
- 2026Understanding LoRA as Knowledge Memory: An Empirical Analysiscited by 12
- 2026Why Steering Works: Toward a Unified View of Language Model Parameter Dynamicscited by 9
- 2024Beyond Memorization: The Challenge of Random Memory Access in Language Modelscited by 8
- 2025Context Parametrization with Compositional Adapterscited by 3
- 2025DSAS: A Universal Plug-and-Play Framework for Attention Optimization in Multi-Document Question Answeringcited by 3
Built on by
Citing papers per year: 2026: 3.
3 papers.