arXiv Machine Learning

What It Costs to Compose, Rebuild, and Correct Precomputed Memory

arXiv Computation and Language
Oct 16

From Long Context to Selective Memory:A Survey of Memory-Centric Compression for Large Language Models

The paper surveys memory‑centric compression techniques for large language models, framing long‑context handling as a memory‑management problem. It distinguishes compute‑active memory from compute‑inactive memory, and models operations such as writing, offloading, recall, and forgetting as state transitions within an information lifecycle. The authors propose a unified cost model and argue that future research should focus on dynamic, lifecycle‑aware memory management rather than static compression.

By Chaogui Gou
arXiv Computation and Language
Nov 4

Multi-Turn Semantic Caching for Low-Cost LLM Serving

The paper introduces two algorithms—CUCB‑SC‑MT and CLCB‑LS‑MT—for multi‑turn semantic caching in large language model serving. These methods learn a "reuse risk" metric from judge feedback to decide which conversation states to cache, balancing avoided generation cost against the risk of unacceptable reuse. Experiments on math‑tutoring and movie‑ticketing dialogues show that the online CLCB‑LS‑MT algorithm reduces generation cost by 35–41% and estimated latency by 19–35% compared to prior caching approaches.

By Baran Atalar, Selly Beyene, Xutong Liu, Carlee Joe-Wong
arXiv Machine Learning
Jul 10

What to Keep, What to Forget: A Rate--Distortion View of Memory Compaction in LLMs and Agents

arXiv:2607. 08032v1 Announce Type: new Abstract: Large language models, and the agents built on them, spend an ever-growing share of their compute and memory on remembering: caching attention keys and values, carrying long prompts, maintaining recurrent state, and storing what happened in previous turns and sessions.

By Ashwin Gerard Colaco, Nada Lahjouji
arXiv AI
6d ago

KV-LTM: Persistent Per-Session KV Caches as Long-Term Memory for Personal Assistants

KV‑LTM proposes a persistent per‑session key‑value cache as a long‑term memory layer for personal assistants, storing each session’s raw text and its KV cache under a fixed reader model. The design emphasizes an append‑only read path, budget‑derived retention, and bounded aggregation, aiming to reduce re‑prefill computation while maintaining fidelity to the original conversation history. The authors analytically estimate storage needs (0.34–3.6 TB per user‑year for a 30K‑token/day scenario) and outline an evaluation protocol that separates logical QA testing from real‑cache replay to assess cost and numerical equivalence.

By Ziv Kfir, Ido Kfir
arXiv Computation and Language
Sep 23

MoM: Memory of Memory

arXiv:2609.25054v1 Announce Type: new Abstract: For a long-horizon LLM agent, the memory question is not what was once recorded but what \emph{currently holds}. Most designs answer it only indirectly...

By Bowen Qin, Yao Lu
arXiv AI
Nov 11

Can KV Cache Be Reused Across Model Updates? A DeepSeek-V4-Flash Case Study

The study examines whether key–value (KV) caches can be reused across updates of a language model, focusing on DeepSeek‑V4‑Flash to Flash‑0731. It finds that while caches can retain useful task information, they do not fully replicate the updated model’s behavior, with retrieval accuracy varying widely across updates. When source caches are available, reuse yields significant speedups (2.10–5.08×) on longer‑prefix QA benchmarks, but functional differences—captured by Functional Cache Divergence—highlight that preserved behavior differs between natural‑text continuation and single‑token retrieval tasks.

By Zhikun Tao, Fangyong Jin, Junping Zhao
arXiv Computation and Language
Nov 5

SRRM: A Retrieval-Reconstruction Benchmark for Evaluating Long-Context Memory in Small Language Models

The paper introduces SRRM, a lightweight benchmark that jointly evaluates targeted retrieval and global information reconstruction to assess long‑context memory in small language models. It also proposes the Memory Preservation Ratio (MPR) to quantify the relationship between retrieval and reconstruction performance. Experiments on Qwen2.5 models show that reconstruction degrades faster than retrieval as context grows, and that larger models do not necessarily perform better in long‑context memory.

By Christopher Alberto Hamonangan
arXiv AI
Oct 15

Budgeted KV-Cache Repair for Evolving Contexts

arXiv:2610.17338v1 Announce Type: new Abstract: Language-model agents revise their working context as information becomes obsolete, but deleting text does not erase its influence on cached computatio...

By Han Yu, Wenhui Zhu, Jincheng Cao, Rui Cai, Yuanda Xu, Zhengze Zhou, Xiwen Chen, Hao Wang, Xuanzhao Dong, Han Shi, Menglin Zhou, Shayan Mohajer Hamidi, Lin Su, Mina Razghandi, Sayan Ghosh, Qing Lan, Rohit Jain, Alborz Geramifard