Controllable Memory Usage: Balancing Anchoring and Innovation in Long-Term Human-Agent Interaction
Muzhao Tian, Zisu Huang, Xiaohua Wang, Jingwen Xu, Zhengkang Guo, Qi Qian, Yuanzhe Shen, Kaitao Song, Jiakang Yuan, Changze Lv, Xiaoqing Zheng
TL;DR
This work addresses controllable memory usage in long-term human-agent interaction by treating memory reliance as a user-defined axis. It introduces SteeM, a framework built on preference-aligned supervised fine-tuning and δ_align-guided reinforcement learning to steer model outputs toward a target memory-dependence level $p(q)$, quantified by the MD-Score $D_{\\mathcal{R}}^{q}(y)$ and alignment error $\\delta_{align}(q, M(q), y)$. A realistic synthetic data pipeline generates $M(q)$ and $(q, M(q))$ pairs, enabling evaluation of memory anchoring and alignment across scenarios, tasks, and unseen subjects. Empirically, SteeM outperforms prompting and memory-masking baselines in achieving target memory dependence while maintaining task quality, and it generalizes with minimal trade-offs, signaling practical potential for personalized, long-horizon AI agents.
Abstract
As LLM-based agents are increasingly used in long-term interactions, cumulative memory is critical for enabling personalization and maintaining stylistic consistency. However, most existing systems adopt an ``all-or-nothing'' approach to memory usage: incorporating all relevant past information can lead to \textit{Memory Anchoring}, where the agent is trapped by past interactions, while excluding memory entirely results in under-utilization and the loss of important interaction history. We show that an agent's reliance on memory can be modeled as an explicit and user-controllable dimension. We first introduce a behavioral metric of memory dependence to quantify the influence of past interactions on current outputs. We then propose \textbf{Stee}rable \textbf{M}emory Agent, \texttt{SteeM}, a framework that allows users to dynamically regulate memory reliance, ranging from a fresh-start mode that promotes innovation to a high-fidelity mode that closely follows interaction history. Experiments across different scenarios demonstrate that our approach consistently outperforms conventional prompting and rigid memory masking strategies, yielding a more nuanced and effective control for personalized human-agent collaboration.
