HasMem: Hard-Origin Adaptively Softened Memory for Long-Term LLM Agents
Abstract
Text-based memory and context compression support reuse of past interactions. Resizing continuous memory changes the input to a frozen LLM, coupling capacity allocation with readout. We propose Hard-Origin Adaptively Softened Memory (HasMem). Frozen hard-prompt embeddings provide a verifiable initial state. A controller adjusts memory widths, a Writer re-encodes resized entries, and Reader and Global provide readout adaptation and cross-turn state. On all questions in a reconstruction probe derived from the Multi-Session Chat (MSC) development split, the main configuration achieves lexical F1 of ( percentage points) at of the hard reference's framed memory positions. With approximately matched per-question target body budgets, six configurations at mean per-entry retention around -- exceed rule-based re-encoding by -- exact-match (EM) percentage points. With fixed model parameters and rule target width ratio , Global's EM gain passes a user-level exact paired test with Bonferroni correction over eight comparisons. On all LongMemEval-S questions, local lexical F1 rises from the hard reference's to , and answer negative log-likelihood (NLL) falls from to . F1 gains accompany lower EM on both evaluations.
Create a lesson
Related papers
CUE-Mem: Benchmarking Long-Term User Memory via Implicit Cues in Multimodal Conversations
Shared title terminologycs.AIYulin Hu, Yanyan Zhao, Zimo Long et al.
How Many Parameters Does Forecasting Need? A Survey and Code-Level Audit of Lightweight Long-Term Time Series Forecasting
Shared title terminologycs.AIIssam Ait Yahia, Abdelkader El Mahdaouy, Ismail Berrada
Adaptive Consistency Graph for Long-Horizon Agents
Shared title terminologycs.AIJiecong Wang, Hao Peng, Zhanyi Wang
Beyond Dyadic Memory: Interaction-Aware Multimodal Memory with Adaptive Agentic Retrieval for Multi-Party Spoken Conversations
Shared title terminologycs.AIWenxu Jia, Xize Cheng, Zihan Zhang et al.
TACT-Bench: Testing Adaptive Conversational Threats against Tool-Use Agents
Shared title terminologycs.AIIlia Hashemi Rad, Feijie Wu, Haoyu Wang et al.
DMC-5: Dual-Model Collaboration with Cache-aware Context Compression for Long-horizon Agents
Shared title terminologycs.AIHaochen Li, Xiaobing Tu, Yinggui Wang et al.