This repository accompanies our survey paper:
Towards In-Parameter Memory Augmentation for Large Language Models
This repository maintains a continuously updated collection of in-parameter memory (IPM) augmentation methods for large language models — methods that compose a memory-bearing parameter object
🔷 Parameter Placement — where is the memory object composed into the transformer block? (Embedding / Attention / FFN / Hybrid)
🔷 Parameter Acquisition Time — when is the deployed memory object formed? (Online during serving / Offline before serving)
🙋 If you would like to include your paper in this survey and repository, please feel free to submit a pull request, or open an issue with the paper's title and a brief summary highlighting its key techniques. You can also contact us via email.
🙋🏻♀️ Please let us know if you find any metadata, venue, classification, or link errors, or have suggestions for the repository. We greatly appreciate your feedback!
🌟 If you find this resource helpful for your work, please consider giving us a star and citing our research.
The memory object
The memory object is generated or updated while the model is serving, e.g., synthesized per request from the current hidden state or compressed from the context at test time.
| Paper | Memory Object | Acquisition Operator |
Code |
|---|---|---|---|
|
|
Soft Tokens | RL-trained trigger + LoRA weaver |
|
| MINT: Memory-Infused Prompt Tuning at Test-Time for CLIP [Link] | Soft Prompts | Test-time bank update | |
|
|
Soft Tokens | Test-time gradient descent |
|
| REFRAG: Rethinking RAG based Decoding [Link] | Soft Tokens | Selective expansion policy | |
|
|
Soft Tokens | LMPO-trained composer |
|
| LatentSeek: Seek in the Dark — Reasoning via Test-Time Instance-Level Policy Gradient in Latent Space [Link] | Soft Tokens | Test-time policy gradient |
|
↑ Back to Index ↑
The memory object is formed before serving and held fixed, but still composed into the forward pass at deployment.
| Paper | Memory Object | Acquisition Operator |
Code |
|---|---|---|---|
|
|
Soft Tokens | Offline training |
|
|
|
Memory Tables | Offline training |
|
|
|
Soft Prompts | Gradient optimization |
|
| H²MT: Semantic Hierarchy-Aware Hierarchical Memory Transformer [Link] | Memory Tables | Bottom-up aggregation | |
|
|
Soft Tokens | Gradient optimization |
|
| Memory Grafting: Scaling Language Model Pre-Training via Offline Conditional Memory [Link] | Memory Tables | Offline grafting |
↑ Back to Index ↑
The memory object
A large family of test-time training (TTT) methods maintains online neural memory or fast weights at attention layers; KV-bank methods compose encoded representations per request.
| Paper | Memory Object | Acquisition Operator |
Code |
|---|---|---|---|
|
|
Fast Weights | Gated delta rule |
|
| Metis: Memory Foundation Model [Link] | Online Neural Memory | Online write/read |
|
|
|
Encoded KV Banks | Cache-to-cache transfer |
|
|
|
Online Neural Memory | Surprise-driven update | |
| ATLAS: Learning to Optimally Memorize the Context at Test Time [Link] | Online Neural Memory | Context-aware update | |
|
|
Adapters | One-pass hypernetwork |
|
|
|
Soft Prompts | Test-time prefix generation |
|
|
|
Online Neural Memory | Test-time training |
|
|
|
Online Neural Memory | Test-time training | |
| Infini-Transformer: Leave No Context Behind — Efficient Infinite Context Transformers with Infini-attention [Link] | Fast Weights | Compressive memory update | |
|
|
Encoded KV Banks | Test-time memory composition |
|
|
|
Encoded KV Banks | Context encoder |
|
|
|
Online Neural Memory | Test-time training |
|
| Draft-KV: Learning Useful Latent Communication Between Language Models [Link] | Encoded KV Banks | Draft-then-verify |
|
↑ Back to Index ↑
The KV representations or attention-side parameters are organized before serving, e.g., learned prefixes or encoder-produced KV banks, and read at inference.
| Paper | Memory Object | Acquisition Operator |
Code |
|---|---|---|---|
|
|
Soft Prompts | Gradient optimization |
|
|
|
Encoded KV Banks | Knowledge encoder |
|
|
|
Encoded KV Banks | Knowledge encoder |
|
|
|
Memory Tables | Offline training |
|
|
|
Encoded KV Banks | Offline training |
|
| Memory³: Language Modeling with Explicit Memory [Link] | Encoded KV Banks | Sparse KV selection | |
|
|
Encoded KV Banks | Offline training | |
|
|
Encoded KV Banks | Offline training |
|
| Memory Attention [Link] | Memory Tables | Offline training |
|
↑ Back to Index ↑
The memory object
Adapters are generated on the fly by hypernetworks, or FFN-side states are updated continually during deployment.
| Paper | Memory Object | Acquisition Operator |
Code |
|---|---|---|---|
| Locas: Your Models are Principled Initializers of Locally-Supported Parametric Memories [Link] | Adapters | Continual online edit | |
| Doc-to-LoRA: Learning to Instantly Internalize Contexts [Link] | Adapters | One-pass hypernetwork |
|
| DyPRAG: Dynamic Parametric Retrieval Augmented Generation for Test-Time Knowledge Enhancement [Link] | Adapters | Test-time parametric generation |
|
|
|
Adapters | Side-memory edit |
|
|
|
Adapters | Codebook update |
|
| FwPKM: Fast-Weight Product Key Memory [Link] | Fast Weights | Outer-product write |
|
|
|
Online Neural Memory | Test-time training |
|
| Sparse Memory Finetuning: Continual Learning via Sparse Memory Finetuning [Link] | Memory Tables | Selective slot update | |
| TMEM: Scaling Self-Evolving Agents via Parametric Memory [Link] | Memory Tables | Test-time memory write |
↑ Back to Index ↑
Knowledge is encoded into FFN-side parameters before serving, e.g., document-parameterized LoRA adapters or pretrained memory layers, and plugged in at inference.
| Paper | Memory Object | Acquisition Operator |
Code |
|---|---|---|---|
|
|
Adapters | Offline parametric RAG |
|
| PolyPRAG: Parametric Retrieval-Augmented Generation Using Latent Routing of LoRA Adapters [Link] | Adapters | Offline parametric RAG | |
|
|
Adapters | Offline training |
|
| MemoryLLM: Plug-n-Play Interpretable Feed-Forward Memory for Transformers [Link] | Memory Tables | Context-free FFN training | |
|
|
Memory Tables | Offline pretraining |
|
|
|
Memory Tables | Offline training |
|
|
|
Adapters | Offline training |
|
| RING: Retrieval-Internalized Generation for Continual Large-Scale Knowledge Injection [Link] | Memory Tables | RL routing policy | |
|
|
Memory Tables | Offline training |
|
↑ Back to Index ↑
The memory object
| Paper | Memory Object | Acquisition Operator |
Code |
|---|---|---|---|
|
|
Adapters | In-context hypernetwork |
|
|
|
Adapters | Inference-time training |
|
| Absorber LLM: Harnessing Causal Synchronization for Test-Time Training [Link] | Online Neural Memory | Test-time sync | |
| Doc-to-Atom: Learning to Compile and Compose Memory Atoms [Link] | Adapters | Document compiler | |
| Code2LoRA: Hypernetwork-Generated Adapters for Code Language Models under Software Evolution [Link] | Adapters | Hypernetwork |
↑ Back to Index ↑
| Paper | Memory Object | Acquisition Operator |
Code |
|---|---|---|---|
|
|
Adapters | Gradient optimization |
|
| Macaron-V1: Routing Each Turn to One Specialist LoRA on a Frozen Base [Link] | Adapters | Offline training |
|
| LatentSkill: From In-Context Textual Skills to In-Weight Latent Skills for LLM Agents [Link] | Adapters | Offline compilation |
|
|
|
Adapters | Gradient optimization |
|
| LAG: LoRA-Augmented Generation for Knowledge-Intensive Language Tasks [Link] | Adapters | Gradient optimization | |
|
|
Adapters | Gradient optimization |
↑ Back to Index ↑
If you find this repository or our survey helpful, please consider citing:
@article{huang2026towards,
title={Towards In-Parameter Memory Augmentation for Large Language Models},
author={Huang, Haoyu and Xie, Zhongwei and Bai, Jiaxin and Gao, Yisen and Tsang, Hong Ting and Song, Wuganjing and Jing, Huihao and Li, Yufei and Song, Yangqiu},
journal={arXiv preprint arXiv:2610.08630},
year={2026}
}
The organization and README style of this repository are inspired by Awesome-KV-Cache-Optimization — a survey repository on system-aware KV cache optimization (ACL 2026 Findings). We thank its authors for setting an excellent example of how to maintain a survey-accompanying paper collection.
