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 Memory Anchoring, where the agent is trapped by past interactions, while excluding memory entirely results in under-utilization and the loss of interaction history. We show that an agent's reliance on memory can be modeled as an explicit and user-controllable dimension. We introduce SteeM (Steerable Memory Agent), a framework that allows users to dynamically regulate memory reliance, ranging from a "fresh-start" mode to a high-fidelity mode. Experiments demonstrate that SteeM consistently outperforms conventional prompting and rigid memory masking, yielding more effective control for personalized human-agent collaboration.
Introduction
In long-term human-agent interactions, memory is a double-edged sword. While it enables personalization, it often leads to Memory Anchoring: a state where the model defaults to high memory reliance even when the user wants something new. Existing systems treat memory as a binary toggle, but LLMs often exhibit "memory leakage," where historical biases bleed into responses despite instructions to be creative.
We argue that memory dependence should be a user-controlled dimension, allowing an agent to act as a "project insider" one moment and a "fresh-eyed reviewer" the next.
The SteeM Framework
We propose modeling memory reliance as an explicit, steerable axis. The SteeM framework involves three main components:
- MD-Score (Memory-Dependence Score): A rubric-based metric (1–5 scale) quantifying how much an output relies on retrieved memory across Content, Pattern, and Style.
- Preference-Aligned Data Generation: A "user simulator" rewrites queries into versions that implicitly signal a specific target dependence level, overcoming the base model's struggle to produce low-reliance outputs.
- Two-Stage Training:
- Supervised Fine-Tuning (SFT): Training on high-quality (query, memory, aligned response) triples.
- Reinforcement Learning (GRPO): Using Group Relative Policy Optimization with a composite reward function balancing alignment error, task correctness, and general quality.
Key Results and Insights
Experiments across "Research" and "Tutoring" workflows, involving over 10,000 query-memory pairs, yielded several critical insights:
- The Default is "Anchored": Modern LLMs naturally default to high memory reliance (scores of 4-5) even when given "low-dependence" instructions.
- Superior Alignment: SteeM achieved significantly lower alignment error compared to base models. On Qwen3-8B, SteeM reduced the average error from 1.57 to 1.13. As shown in the results, the combination of SFT and RL (GRPO) provided a 28% reduction in alignment error compared to the baseline.
- Steering vs. Masking: Traditional "memory masking" is a blunt tool that often removes critical facts. SteeM keeps the memory intact but trains the model to ignore it behaviorally. In pairwise comparisons, SteeM was preferred over masking with a 58.6% win rate on Qwen3-4B.
- No Quality Tax: Steering did not degrade general performance, maintaining or slightly improving quality on benchmarks like AlpacaEval.
Conclusion
SteeM demonstrates that memory reliance is a controllable dimension that can be optimized through preference-aligned training. By allowing users to "dial" memory usage, we enable agents to balance the benefits of long-term context with the necessity for innovation. Future work will explore continuous scales for even finer control and broader social interaction scenarios.
Summary updated