Composing Independently Distilled Memory and Retrieval Policies for Long-Term Agents
Grigorii Davydenko, Artem Sakhno, Igor Pavlov, Julia Belikova, Andrey Savchenko, Maksim Makarenko
Abstract
Long-lived Web assistants require effective memory and retrieval mechanisms to access information from past user interactions. While these capabilities can be learned through specialized policies, it remains unclear whether specialists trained independently in different environments can be effectively composed without joint optimization. This paper investigates compositional transfer through policy distillation. Memory-writing and sequential retrieval policies are independently distilled from frontier-model action trajectories into 3B models and combined with a fixed answer generator without downstream training. On a LongMemEval-based benchmark, the distilled composition achieves 73.1% accuracy, compared with 36.2% for a composition of existing RL-trained specialists, and also outperforms the evaluated RL-trained compositions on PersonaMem-v2. Component ablations reveal that improvements in individual policies depend on their composition, highlighting the importance of cross-specialist compatibility. Further task-specific adaptation improves accuracy to 75.2% on LongMemEval through RL and 48.9% on PersonaMem-v2 through supervised distillation. These findings demonstrate the effectiveness of independent specialist distillation for modular multi-agent systems. Source code and datasets of teacher-generated memory-editing and retrieval trajectories are released to facilitate reproducibility and further research.
Create a lesson
Related papers
TrialAgentBench: Evaluating AI Agents for Clinical-Trial Analysis and Long-Horizon Drug-Development Decisions
Shared title terminologycs.LGBradley Segal, William Bolton, Philip Torr et al.
Near-Far Attention: Region-Aware Sparse Retrieval for Long-Context LLM Decoding
Shared title terminologycs.LGYuanShuo Wang, Jianchao Tan, Lei Gong et al.
Verifiable On-Policy Distillation
Shared title terminologycs.LGJuntong Shi, Stefano Ermon, Jure Leskovec et al.
Evaluable Language-Model Treatment Policies for Sepsis Resuscitation via Offline Value-Guided Selection
Shared title terminologycs.LGYue Pei, Shining Bo, Yingying Zhang et al.
Policy Invariance Is Not Learning Invariance: Potential-Based Reward Shaping for Navigation with a Limited View
Shared title terminologycs.LGNodirjon Khabibullaev, Rajat Dandekar
Optimistic Online Learning for Coding Agents with Aggregate Feedback
Shared title terminologycs.LGHao Luan, Hao Qiu, Zhi Zheng et al.