2605.28009v1 May 27, 2026 cs.CL

MemGuard: Preventing Memory Contamination in Long-Term Memory-Augmented Large Language Models

Dilek Hakkani-Tur
Dilek Hakkani-Tur
Citations: 703
h-index: 12
Cheng Qian
Cheng Qian
Citations: 243
h-index: 9
Heng Ji
Heng Ji
Citations: 911
h-index: 13
Yue Wu
Yue Wu
Citations: 161
h-index: 4
Jeonghwan Kim
Jeonghwan Kim
University of Illinois Urbana-Champaign
Citations: 266
h-index: 8
Hyeonjeong Ha
Hyeonjeong Ha
Citations: 139
h-index: 5
William Campbell
William Campbell
Citations: 203
h-index: 4
Kathleen McKeown
Kathleen McKeown
Citations: 13
h-index: 2
Jiayu Liu
Jiayu Liu
Citations: 50
h-index: 3
Yujia Zhang
Yujia Zhang
Citations: 7
h-index: 2

Memory-augmented large language models extend reasoning beyond a fixed context window by maintaining long-term memory across interactions. However, existing memory systems often collapse stable user facts, episodic events, and behavioral rules into a shared space, allowing functionally distinct memories to be retrieved and used as interchangeable evidence. We identify this failure mode as heterogeneous memory contamination, where context-specific events become overgeneralized claims, or semantically relevant but functionally incompatible memories mislead generation. To this end, we introduce MemGuard, a type-aware memory framework that preserves functional memory boundaries during memory construction and retrieval. It assigns each memory an explicit functional role at write time, maintains relations across type-isolated memories, and selectively composes evidence only from necessary memory types, reducing contamination from irrelevant or functionally incompatible evidence. Across hallucination and long-horizon conversation benchmarks, MemGuard improves memory reliability by up to 28.27% while retrieving up to 5.8x fewer memory tokens than prior methods. These results suggest that reliable long-term reasoning depends on principled organization and selective use of heterogeneous memory.

0 Citations
0 Influential
6.5 Altmetric
32.5 Score
Original PDF

No Analysis Report Yet

This paper hasn't been analyzed by Gemini yet.

Log in to request an AI analysis.

댓글

댓글을 작성하려면 로그인하세요.

아직 댓글이 없습니다. 첫 번째 댓글을 남겨보세요!