Towards In-Parameter Memory Augmentation for Large Language Models
cs.CL
Submitted: 2026-10-06
Updated: 2026-10-06
Code: https://github.com/deepseek-ai/deepseek-harness
License: http://creativecommons.org/licenses/by/4.0/
The gist: Recently Large Language Models (LLMs) and LLM-based agents increasingly need to incorporate knowledge acquired after pretraining, e.g., domain facts, user preferences, documents, and interaction
Terminology
Abstract
Recently Large Language Models (LLMs) and LLM-based agents increasingly need to incorporate knowledge acquired after pretraining, e.g., domain facts, user preferences, documents, and interaction experience. In-context learning (ICL) and ICL-based agent harness remain flexible, but they consume context capacity and incur repeated discretized encoding cost that grows with context length. In-parameter memory offers a complementary substrate: reusable memory information is represented in model parameters, adapters, or other parameter-like objects that are composed into the forward pass at inference time. This survey focuses on methods that augment LLMs with such parametric memory at deployment: a memory-bearing parameter object is plugged into the forward pass during inference, whether it is acquired before or during deployment. We organize the landscape with two orthogonal axes: Parameter Placement, which includes Embedding, Attention, FFN layers, or Hybrid when two or more layers are used; and Parameter Acquisition Time, which distinguishes methods whose memory object is acquired during deployment (online) from those acquired before it (offline). We clarify boundaries, conduct comparisons, and discuss open directions in interference, safety, co-design with ICL, and recursive self-improvement.
Sources
- GPT-4 Technical Report
- Understanding LoRA as Knowledge Memory: An Empirical Analysis
- ATLAS: Learning to Optimally Memorize the Context at Test Time
- Memory Layers at Scale
- PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling
- Text-to-LoRA: Instant Transformer Adaption
- Doc-to-LoRA: Learning to Instantly Internalize Contexts
- Memory Grafting: Scaling Language Model Pre-training via Offline Conditional Memory
- From Untrusted Input to Trusted Memory: A Systematic Study of Memory Poisoning Attacks in LLM Agents
- Mention Memory: incorporating textual knowledge into Transformers through entity mention attention
- Doc-to-Atom: Learning to Compile and Compose Memory Atoms
- In-Place Test-Time Training
- Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolution
- LoRA-Augmented Generation (LAG) for Knowledge-Intensive Language Tasks
- LatentMem: Customizing Latent Memory for Multi-Agent Systems
- Retrieval-Augmented Generation for Large Language Models: A Survey
- H$^{2}$MT: Semantic Hierarchy-Aware Hierarchical Memory Transformer
- SWE-Skills-Bench: Do Agent Skills Actually Help in Real-World Software Engineering?
- Gated DeltaNet-2: Decoupling Erase and Write in Linear Attention
- Code2LoRA: Hypernetwork-Generated Adapters for Code Language Models under Software Evolution
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering