arXiv(opens in a new tab)cs.CLOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.08630

Towards In-Parameter Memory Augmentation for Large Language Models

Haoyu Huang, Zhongwei Xie, Jiaxin Bai, Yisen Gao, Hong Ting Tsang, Wuganjing Song, Huihao Jing, Yufei Li, Yangqiu Song

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Haoyu Huang †∗^{\dagger*}, Zhongwei Xie †^{\dagger}, Jiaxin Bai ‡^{\ddagger}, Yisen Gao †^{\dagger}, Hong Ting Tsang †^{\dagger}, Wuganjing Song †^{\dagger}, Huihao Jing †^{\dagger}, Yufei Li †^{\dagger}, Yangqiu Song †^{\dagger}

†^{\dagger}The Hong Kong University of Science and Technology,

‡^{\ddagger}Hong Kong Baptist University

Hong Kong SAR, China

Github Repository

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.

Figure

Figure 1: A demonstration of the representative methods in the two-dimensional taxonomy.

*Contact: hhuangcp@connect.ust.hk

†^{\dagger}Corresponding Author, baijiaxin@hkbu.edu.hk

1 Introduction

Large Language Models (LLMs) and LLM-based agents have demonstrated broad capabilities in natural language generation, reasoning, and tool use (Brown et al., 2020; Achiam et al., 2023). A persistent challenge is how to incorporate knowledge that is external to, or more recent than, pretraining, including new documents, domain-specific constraints, users' preferences, and experience accumulated over agentic interactions (Lewis et al., 2020; Huang et al., 2026a; Xu & Yan, 2026; Han et al., 2026; Ni et al., 2026), which we term as memory for LLMs in this survey.

Currently most of the deployed systems expose this information as explicit textual tokens, which is also known as in-context learning (ICL) methods (Dong et al., 2024). ICL conditions a frozen model on textual demonstrations or retrieved documents as the memory, which is the most common paradigm used by various retrieval-augmented generation (RAG) methods (Gao et al., 2023; Fan et al., 2024; Brown et al., 2020; Lewis et al., 2020; Huang et al., 2025) and agents (Ying et al., 2026; DeepSeek-AI, 2026). Though these ICL-based methods for memory augmentations are explainable, inspectable and easy to revise, their compute and latency grow with the number of retrieved tokens, and long contexts can exhaust a finite window (Vaswani et al., 2017; Liu et al., 2024). Although sparse attention (Zhang et al., 2025; Lai et al., 2026; Liu et al., 2025; Yuan et al., 2025; Tang et al., 2024) and KV cache compression (Rehg, 2024; Kim et al., 2026; Cai et al., 2024) alleviate but do not remove this scaling.

In-parameter memory (IPM) (Fleshman & Van Durme, 2025; Huang et al., 2026b; Lei et al., 2026; Zhang et al., 2026e) provides a complementary memory representation and augmentation paradigm. Instead of exposing all relevant information as explicit textual tokens, the system composes a compressed parametric memory object into the forward pass at inference time. The backbone parameters θ\theta may stay frozen, or the augmentation step may write into them; what matters is that a memory object ϕ\phi is acquired and then composed at deployment. The memory object may be acquired before deployment (offline) or produced and revised during deployment (online). Compared with ICL-based methods, this paradigm can avoid the quadratic cost of long-context prefilling (McDermott et al., 2026) and reduce inference latency when memory is reused across queries. This motivates a significant shift from ICL-based to in-parameter memory augmentation (Back et al., 2026).

To highlight this ongoing shift, in this paper, we provide a focused overview and detailed discussion of the current research progress on in-parameter memory augmentation for LLMs. As shown in Figure 1, we organize the in-parameter memory augmentation methods along two orthogonal dimensions: (1) Parameter Placement asks which part of the transformer block receives the parametric memory, including Embedding Layers, Attention Layers, FFN Layers, or Hybrid when two or more of these are used together. (2) Parameter Acquisition Time asks whether the deployed memory object is formed before the model starts serving (offline) or while it is serving (online). Concurrent architecture-centric surveys (Zhoubian et al., 2026) cover memory broadly, including implicit computation-coupled memory (KV caches, SSMs, MoE) and parameter-efficient adaptation. We treat unmodified token-derived KV caches as token memory rather than in-parameter memory: they are a byproduct of prefilling, not an object produced by an independent acquisition operator A. We index the remaining composable objects by target-module placement, acquisition timing, and deployment lifecycle (Section 2).

Our contributions are:

• We organize in-parameter memory (IPM) methods along two axes: parameter placement and acquisition time, and give a detailed landscape of the current research progress.

• We formulate IPM methods by a memory object ϕ\phi, an acquisition operator A, and an augmentation operator C with explicit boundaries.

• We discuss open directions for IPM in interference, safety-aware acquisition, co-design with ICL, and recursive self-improvement.

Figure

Figure 2: A demonstration of the operator formulation of in-parameter memory.

References (100)

Couldn't load all references. Reload the page to try again.