Manuscript Offprint
arXiv:2610.02897Interpreting at Write Time: A Policy Ablation for Multi-Goal Agent Memory
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
A long-running assistant cannot keep everything it has seen, so it summarises. Summarising is not neutral: what is kept is chosen against some notion of what the record is for, and that choice is made once, before anyone knows which of the user's standing goals will ask. Goals rarely disagree about what happened. They disagree about which parts of it were worth the space. Once the history is too long to re-read, the summary replaces the stream, and whatever it left out is gone. We ask what a memory should summarise for when it serves several standing goals at once. Three policies answer differently: summarise with no goal in view, write one summary covering every goal, or write one summary per goal and read them together. We compare them across several models and event streams, holding the read step fixed so that only the write differs. The goals do pull apart: summaries written for different goals overlap each other less than a summary overlaps a rewrite of itself. Per-goal summaries win on relevance, completeness and accuracy, and the all-goal summary loses even to the neutral one written at a fraction of its budget. Interpreting at write pays off, but only for the goal that later asks.
Keywords Long-Term Agent Memory · Goal-Conditioned Memory · Write-Time Encoding · Memory Summarization · Context Compression
1 Introduction
A long-running assistant cannot keep everything it has seen. Context is finite, and retrieving over a raw history that keeps growing runs into the familiar limits of information retrieval, so systems compress instead. Summarisation is the common answer. MemGPT summarises when the context window fills up [Packer et al., 2024], MemoryBank writes daily summaries and keeps a running portrait of the user [Zhong et al., 2023], Generative Agents write reflections over an observation stream [Park et al., 2023], and A-Mem writes structured notes and revises them as new events arrive [Xu et al., 2025]. Zep extracts entities and facts into a graph [Rasmussen et al., 2025], which commits the same way, since its schema decides what can be represented and must be fixed before anyone knows which use will matter [Jiang et al., 2025].
Summarising is not neutral. To compress you have to decide what matters and what is noise, and that decision is made against some notion of what the record is for. A summary is therefore written from a perspective, whether or not the system names one. Call that choice the encoding.
The same stored summary then gets asked very different things. LongMemEval defines five separate long-term memory abilities over one chat history [Wu et al., 2025], LoCoMo asks for question answering, event summarisation and dialogue generation over the same conversations [Maharana et al., 2024], and MemoryCD tests whether one person's preferences hold while their interactions span twelve domains at once [Zhang et al., 2026a]. One write, many uses. The field's answer has been to split the storage: by memory type [Sumers et al., 2024], by episodic against semantic content [Zhang et al., 2026b], and by task against environment to cut retrieval noise [Gao et al., 2025]. All of that decides where a fact is filed. None of it decides what the summary is written for.

Figure 1: The three write policies. Only the write differs. The reader is the same model with the same prompt throughout, receives the four stores concatenated under Split, and is never told which goal a query is aligned with, so it cannot route to a store.
Not all of that variety strains the encoding. A question about timing and a question that chains two facts are different things to do with the same record, not disagreements about what belongs in it, and one accurate summary serves them both. Goals are the hard case. A standing goal is a lasting concern the assistant serves across sessions, not a one-off request: a person has their money, their health, their relationships, their career. Goals rarely disagree about what happened. They disagree about which parts of it were worth the space. A 15 percent discount granted during a negotiation is a margin reduction, a pricing precedent, a trust signal and evidence of competitive pressure, and a summary that renders it as one renders it poorly as the others. That is the one thing an encoding decides, and it decides it once, before any goal has asked. This bites under the condition long-horizon memory is already in: once the history is longer than what can be re-read, the summary replaces the stream, and what the encoding left out is gone however good the retriever is.
Two questions follow, both about the write rather than the read. First, if a summary is written for one goal, how does that affect what can be recovered from it later? The alternative is to summarise with no goal in view and work out what the events mean at read time. Second, when the assistant serves several goals at once, should it keep one summary per goal or one summary covering all of them? Writing per goal is not filing per goal. Each goal's summary covers the whole event, every summary is read at query time, and nothing is routed or split; the stores differ only in the instruction that wrote them, which is the goal-conditioning. Rashomon Memory [Sadowski and Chudziak, 2026] proposed the per-goal policy and showed it was feasible on a single scenario, without comparing it against the alternatives.
We run that comparison, setting four goals against one client engagement, an account-management setting where the goals are explicit and the events are dense. The comparison only means something if the four goals really do pull apart, so we measure that first rather than assume it. Standing goals are a construct we define rather than one a benchmark supplies; MemoryCD's twelve domains are topics, not goals. Two ideas motivated the design: encoding specificity [Tulving and Thomson, 1973] and transfer-appropriate processing [Morris et al., 1977], which hold that a trace formed for one purpose serves that purpose better than others, and Minsky's mind of competing specialists [Minsky, 1986], which suggests the parallel alternative. They are the source of the hypothesis, not something the experiment tests.
The four goals are Financial, Risk, Relationship and Competitive. Each event is encoded under the policy’s instruction, then merged into the existing store.
We use two multi-session event streams from a long-running client engagement. Meridian has 5 events and 4 queries; Helix has 15 events and 6 queries, with mixed signals from several stakeholders. Both are structured records rather than chat transcripts, which isolates the write policy from conversational dynamics such as grounding and repair.
Five models act as encoder and reader (Claude Haiku 4.5, Claude Sonnet 4.5, GPT-5 mini, GPT-5 nano, Minimax M2.1), at temperature 0 where supported, running both streams under every policy ten times. A judge (GPT-5 mini), blind to policy, scores every answer against the raw events on relevance, completeness, accuracy and clarity, each from 1 to 5, which correlates with human judgment in prior work [Zheng et al., 2023, Liu et al., 2023]. The composite score is their mean. The unit of analysis is a cell, one (model, stream, query) triple averaged over its ten runs, giving 50 cells; run-to-run standard deviation inside a cell averages 0.60, which is why we average. Every policy is observed in every
Table 1: Mean scores by write policy over 50 cells (model × stream × query, each averaged over 10 runs). Scores run from 1 to 5. Best-single is a post-hoc oracle: the best of the four goal stores, each written at budget , chosen once the scores are known.
| Policy | Budget | M | SD | Rel. | Compl. | Acc. | Clar. |
|---|---|---|---|---|---|---|---|
| Split (four goal writes) | 4T | 3.97 | 0.77 | 4.42 | 3.45 | 3.50 | 4.52 |
| Best-single (oracle) | T | 3.79 | 0.88 | - | - | - | - |
| Facts (no interpretation) | T | 3.68 | 1.06 | 3.73 | 2.97 | 3.46 | 4.54 |
| Fused (all goals, one write) | 4T | 3.34 | 0.85 | 3.61 | 2.65 | 2.74 | 4.34 |
cell, so we use paired tests throughout. Two leakage controls matter. The Fused instruction names all four goals, so its store carries the goal vocabulary the four goal stores carry between them, and the reader never sees a goal label, so it cannot select the matching store. Code is available at https://doi.org/10.5281/zenodo.23096405.
To ask whether the four goal records diverge at all, we compare answers by content-word Jaccard overlap, lower-casing and dropping stopwords. An answer is what a reader gets from a store, so overlap between two answers stands in for overlap between two records. The noise floor is the overlap between two answers from the same goal store on two independent runs.
3 Results
Everything below rests on one premise: that the four goals really do pick out different things when they write. If they did not there would be nothing to trade off, so we measure it first. Answers drawn from two different goal stores in the same run overlap at 0.121; answers drawn from the same goal store on two independent runs overlap at 0.190. The across-goal figure is lower in all 50 cells, , , , and lower in every model (across 0.088 to 0.155, within 0.147 to 0.246) and in both streams. The comparison is conservative: the floor absorbs a full re-encode and a fresh answer while the across-goal figure holds the run fixed, and the four stores answer at similar lengths. Writing one event for four goals separates its content further than writing it twice for a single goal does.
Table 1 reports the policies. The ordering Split > Facts > Fused is stable, and the four dimensions do not move together, which is where most of the story sits.
The cleanest test of what a summary should be written for is Facts against Fused, since both are single encoders making one pass into one store. Facts () scored above Fused (): , , , , better in 34 of 50 cells, and it did so on a quarter of the budget. Splitting the composite by dimension locates what went wrong. Accuracy accounts for most of the gap (, , ), completeness for some of it (, ), and relevance for none (, ). The all-goal write does not simply retain less than the factual one. What it retains is less faithful to the events it came from.
If the instruction is what makes the difference, a store written under one goal should answer that goal's queries better than stores differing from it in nothing else. Eight of the ten queries carry a descriptive goal label in the scenario file, entering no prompt, the two labelled ambiguous being excluded. For each we compare the store written under the matching goal against the mean of the other three, identical in budget, architecture and read prompt. The aligned store scored 3.68 against 3.15: , , , , better in 31 of 40 cells, holding in all five models ( to ) and both streams.
That advantage is not spread evenly, and where it concentrates is informative. It is largest for Competitive (+1.25) and Relationship (+0.68), and close to nothing for Risk (+0.11) and Financial (+0.08). Those are the same goals ranked in reverse by how well a neutral summary already serves them: on their own labelled queries Facts scored 3.45 on Competitive and 3.89 on Relationship, against 3.96 on Financial and 4.44 on Risk. Where a query asks for details stated outright, the neutral summary has already kept them and writing for the goal adds nothing. Where it asks for a reading of what happened, the neutral summary is weakest and the goal-conditioned store gains most. Underneath, the Financial effect is -0.49 on Meridian and +0.65 on Helix, so its small pooled value averages two opposite results rather than a consistently weak goal.
Splitting the write across the four goals produced the largest policy effect in the study. Split () beat Fused by , , , , better in 46 of 50 cells and at the same total budget, with the gain appearing on relevance (+0.82), completeness (+0.80) and accuracy (+0.75) alike. Against Facts the composite gap is , , , , but it is made of different material: relevance (+0.70, ) and completeness (+0.48, ) carry all of it, while accuracy (+0.03, ) and clarity (-0.03, ) are level. Reading across four goal summaries finds more of what a question asks for than a neutral summary does, without being any more faithful to the events.
The gain comes from reading across the stores, not from owning a good one. Split also beat Best-single, the oracle picking whichever goal store scored highest once the scores are known (+0.18, , ), and that oracle was itself only level with Facts (+0.11, ). The four goal stores alone scored 2.87 to 3.51, every one below Facts. A single goal-conditioned summary is a worse memory than a neutral one; four read together are better than either.
Three checks bear on these contrasts. GPT-5 mini is both judge and one of the five encoders, so we repeated the comparisons with it dropped from the encoder set and the judge unchanged: Split over Fused holds at +0.67 ( , ), Split over Facts at +0.40 ( ), Facts over Fused at +0.27 ( , ). Across models, Split beat Fused in all five (+0.50 to +0.91) and Facts beat Fused in all five (+0.21 to +0.62), while Split beat Facts in four of the five, the exception being GPT-5 mini, which is also the judge. Finally, LLM judges can favour longer answers, so we regressed each within-cell score difference on the corresponding word-count difference and read the intercept, the difference expected at zero length gap. Split over Fused is unchanged (+0.55, , ) and Facts over Fused rises to +0.52 ( , ), since Facts writes the shortest answers of the three at 119 words against 147 and 192. For Split over Facts the gap at matched length falls to +0.11 ( ), with relevance still carrying a difference (+0.49, ).
4 Conclusion
An assistant that works across many sessions summarises what it sees, because it cannot keep all of it. Summarising fixes what is kept and what is dropped, and that choice is made against some notion of what the record is for. When the assistant serves several standing goals at once, the choice has to be made before any of them has asked.
We compared three answers to that: summarise for no goal in particular, summarise for all the goals at once, or summarise once per goal and read the results together. The goals wrote down measurably different things, which is what makes the choice a real one. Reading the per-goal summaries together was the strongest of the three overall, and the summary that tried to serve all four goals in one pass was the weakest in every model we tried, behind even the one written with no goal in view.
What the all-goal summary gave up was faithfulness rather than detail: its problem was not that it held less, but that what it held was less true to the events. The per-goal advantage did not come from any one summary being good, since each on its own was worse than the neutral one. It came from reading across them. That leaves the instruction given to the writer as a design parameter in its own right, separate from how memory is partitioned or retrieved.
The comparison has limits. The per-goal condition differs from the all-goal one in two ways at once, in how many summaries are written and in what each is written for, and we did not run the control that separates them; decomposing a task into focused subtasks can help for reasons unrelated to goals [Kostka and Chudziak, 2025]. The judge is a single LLM scoring answer quality rather than downstream utility, with no human validation. The event streams are structured records rather than live dialogue, both short, and the goal set was fixed in advance, so a goal with no store is simply not retained.
References
Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G. Patil, Ion Stoica, and Joseph E. Gonzalez. Memgpt: Towards llms as operating systems, 2024.
Wanjun Zhong, Lianghong Guo, Qiqi Gao, He Ye, and Yanlin Wang. Memorybank: Enhancing large language models with long-term memory, 2023. URL https://arxiv.org/abs/2305.10250.
Joon Sung Park, Joseph O'Brien, Carrie Jun Cai, Meredith Ringel Morris, Percy Liang, and Michael S. Bernstein. Generative agents: Interactive simulacra of human behavior. In Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology, UIST '23. Association for Computing Machinery, 2023. doi: 10.1145/3586183.3606763.
Wujiang Xu, Zujie Liang, Kai Mei, Hang Gao, Juntao Tan, and Yongfeng Zhang. A-mem: Agentic memory for llm agents, 2025. URL https://arxiv.org/abs/2502.12110.
Preston Rasmussen, Pavlo Paliychuk, Travis Beauvais, Jack Ryan, and Daniel Chalef. Zep: A temporal knowledge graph architecture for agent memory, 2025. URL https://arxiv.org/abs/2501.13956.
Xuhui Jiang, Chengjin Xu, Yinghan Shen, Xun Sun, Lumingyuan Tang, Saizhuo Wang, Zhongwu Chen, Yuanzhuo Wang, and Jian Guo. On the evolution of knowledge graphs: A survey and perspective, 2025. URL https://arxiv.org/abs/2310.04835.
Di Wu, Hongwei Wang, Wenhao Yu, Yuwei Zhang, Kai-Wei Chang, and Dong Yu. Longmemeval: Benchmarking chat assistants on long-term interactive memory, 2025. URL https://arxiv.org/abs/2410.10813.
Adyasha Maharana, Dong-Ho Lee, Sergey Tulyakov, Mohit Bansal, Francesco Barbieri, and Yuwei Fang. Evaluating very long-term conversational memory of LLM agents. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar, editors, Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 13851–13870, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi:10.18653/v1/2024.acl-long.747. URL https://aclanthology.org/2024.acl-long.747/.
Weizhi Zhang, Xiaokai Wei, Wei-Chieh Huang, Zheng Hui, Chen Wang, Michelle Gong, and Philip S. Yu. Memorycd: Benchmarking long-context user memory of llm agents for lifelong cross-domain personalization, 2026a. URL https://arxiv.org/abs/2603.25973.
Theodore R. Sumers, Shunyu Yao, Karthik Narasimhan, and Thomas L. Griffiths. Cognitive architectures for language agents, 2024.
Gaoke Zhang, Bo Wang, Yunlong Ma, Dongming Zhao, and Zifei Yu. A multi-memory segment system for generating high-quality long-term memory content in agents, 2026b.
Pengyu Gao, Jinming Zhao, Xinyue Chen, and Long Yilin. An efficient context-dependent memory framework for LLM-centric agents. In Proceedings of NAACL 2025 (Industry Track), pages 1055–1069. Association for Computational Linguistics, 2025. doi: 10.18653/v1/2025.naacl-industry.80.
Albert Sadowski and Jarosław A. Chudziak. Rashomon memory: Towards argumentation-driven retrieval for multi-perspective agent memory, 2026. URL https://arxiv.org/abs/2604.03588.
Endel Tulving and Donald M. Thomson. Encoding specificity and retrieval processes in episodic memory. Psychological Review, 80(5):352–373, 1973. doi: 10.1037/h0020071.
C. D. Morris, J. D. Bransford, and J. J. Franks. Levels of processing versus transfer appropriate processing. Journal of Verbal Learning and Verbal Behavior, 16(5):519–533, 1977. doi: 10.1016/S0022-5371(77)80016-9.
Marvin Minsky. The Society of Mind. Simon and Schuster, New York, 1986.
Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, et al. Judging LLM-as-a-judge with MT-Bench and Chatbot Arena. In Advances in Neural Information Processing Systems, 2023.
Yang Liu, Dan Iter, Yichong Xu, et al. G-Eval: NLG evaluation using GPT-4 with better human alignment. In Proceedings of EMNLP, 2023.
Adam Kostka and Jaroslaw A. Chudziak. Towards cognitive synergy in llm-based multi-agent systems: Integrating theory of mind and critical evaluation. In Proceedings of the Annual Meeting of the Cognitive Science Society, volume 47. Cognitive Science Society, 2025. URL https://escholarship.org/uc/item/20j8628c.