Language-model agents can usually say what a teammate knows. They then act as if the teammate knew everything the agent knows. In embodied team tasks where agents must coordinate under a message budget, every frontier model tested fails the hardest tasks, and most audited failures come from getting the wrong information to the wrong partner at the wrong time, not from navigation. We propose a memory design that keeps, for each partner, a separate record of what that partner has actually been in a position to learn. The record is built from bookkeeping about who was present and who was told what, not from the model's own inference. A small queue of "who still needs to hear what, and by when" sits on top of it. The agent's main planning context never sees the full world state when it reasons about a partner. It reads that partner's record, and it must state a checkable conclusion about the partner's knowledge before it acts.
The bet is that much of the gap between inferring and acting in social settings comes from the agent's memory layout rather than its reasoning ability. When the model's privileged knowledge and a partner's limited knowledge sit in one flat context, the privileged knowledge leaks into decisions. Over long episodes the partner's knowledge state gets buried under transient observations. A memory that separates them by construction should reduce both failures. The design is also cheap enough to test head-to-head against prompting fixes that already work well on short vignettes.
What the evidence says and where it is open
Four lines of work show the gap. SimpleToM finds frontier models above 95% on explicit "is X aware?" questions. GPT-4o falls to 49.5% on predicting what X will do and 15.3% on judging whether X acted reasonably, because the model judges X using knowledge X lacks (the "curse of knowledge"). How FaR Are Large Language Models From Agents with Theory-of-Mind? shows GPT-4 at 93% on explicit false-belief stories but 50% when it must choose whom to help. Mind Your Theory shows GPT-4o identifies the required depth of nested reasoning perfectly (1.0) yet solves only about 59% of the tasks. EnactToM carries this into 3D household coordination, reporting 0.0% Pass^3 for all seven models on the Hard split. It reports Gemini-Pro answering 63.3% of literal belief probes but succeeding on only 6.7% of tasks, with 93% of 40 audited failures traced to withholding information or sending it to the wrong teammate.
The seed paper Doing What They Say, Not What They Reason supplies a methodological constraint we adopt. Splitting poker decisions into reasoning, stated conclusion, and executed action, it finds that agents almost always do what they state. The real failures sit upstream, in getting from reasoning to the right conclusion. This shapes the design. Adding more checks between conclusion and action would be wasted effort. The intervention must change what the agent reasons from. Evaluation must also extract a machine-checkable conclusion at each step so failures can be located.
On the memory side, HyMem keeps raw tool output out of a persistent planner context. That separation lifts hard Browsecomp-plus success from 14.0% (ReAct) to 30.0%, which is evidence that separating contexts works, though only for single-agent web tasks. G-Memory builds a three-tier graph memory for multi-agent systems and gains up to 20.89% on ALFWorld. Its tiers store task rules and interaction logs, never what each agent knows. It also reports a constraining result: plugging generic single-agent memories into multi-agent systems lowered strategic-game performance by up to 4.17%. Undifferentiated memory can hurt, which argues for memory keyed by partner rather than more memory. Memory-Augmented Theory of Mind Network stores observed agents' trajectories in an external episodic memory for false-belief tracking, but only for small recurrent networks in grid worlds.
The seed paper MicroVerse contributes a memory pattern we reuse. Its agents keep an immutable "soul file" and a mutable current identity that is periodically revised against it. One open problem in hierarchical memory is that hallucinated inferences, once consolidated, become entrenched. We address it by applying the same split to knowledge about others. An append-only record of observable facts serves as the anchor, and a revisable layer of inferred beliefs is re-checked against it. The third seed, Tracing LLM Social Reasoning to Pretraining Data, finds that social-reasoning ability in OLMo3-7B draws on diffuse narrative and interpersonal text rather than a compact data region. We read this only as weak motivation for an inference-time architectural fix over targeted data patches. We do not build on it further.
Core Claim
An agent that keeps a separate, provenance-grounded knowledge record per partner should outperform agents that reason about partners from a shared context, at matched token budgets, on long-horizon coordination tasks. Provenance-grounded means each entry records its source: the partner was in the room when the object moved, or the agent sent the partner a message. The agent also maintains an explicit queue of facts each partner still needs. The gains should concentrate in the information-routing failures that dominate EnactToM, and they should grow with episode length. The gains on short static vignettes, by contrast, should be small. This contrast separates our claim from the existing finding that a well-placed reminder fixes single-scene perspective-taking.
Research Program
The agent has three memory layers. The bottom layer is an append-only event log. Each entry carries provenance tags: which agents could observe the event, who sent or received each message. These tags come from the agent's own observations of co-presence and from its message history, not from free-form model inference. Where the agent cannot know whether a partner observed something, for example because the partner was out of view, the entry is marked uncertain rather than guessed. The middle layer holds one record per partner. Each record is a structured, consolidated list of facts the partner has been exposed to, facts it plausibly lacks, and beliefs the agent infers the partner holds, with every inferred belief linked to supporting log entries. Consolidation is triggered when a provenance-relevant event occurs, such as a partner leaving a room or a message being sent. This replaces HyMem's fixed turn-count folding, which the file notes as an open limitation. The top layer is a routing queue of facts that are task-relevant to a partner and absent from its record. Each item has a deadline estimated from the task plan.
At each decision, a planner context sees the task plan, the routing queue, and only the record of the partner currently under consideration, never other partners' records or the raw log. The planner must emit a structured conclusion, such as "partner B does not know the key is in the drawer; send B a message now," before acting. Following the Wang seed paper, this lets us score reasoning→conclusion and conclusion→action separately. A periodic audit pass re-derives inferred beliefs from the log and drops any that lack support. This is the MicroVerse-style anchor against entrenched errors.
The analysis program has two parts. First, we tag every failed episode with EnactToM's failure categories and with the Wang decomposition: was the conclusion about the partner wrong, or was a correct conclusion not acted on? The prediction is that our design moves failures out of the "wrong conclusion about partner knowledge" bucket. Second, we sweep episode length and number of partners to test whether the hierarchy earns its keep beyond plain separation.
Baselines
The naive reference point is a flat agent: one context holding the full observation and message history, with standard chain-of-thought, run as in EnactToM. For this agent the paper reports 0.0% Pass^3 on the Hard split for all seven models, and 6.7% average task success for Gemini-Pro. We will rerun it ourselves on the same backbone rather than rely on those figures, because our backbones and token limits will differ.
The strongest prompting competitor is the SimpleToM intervention: a theory-of-mind chain-of-thought plus an explicit mental-state reminder. It brought Claude-3.5-Sonnet to a 97.1% average across SimpleToM tasks (SimpleToM). It is the most dangerous baseline because it already fixes the curse of knowledge in short scenes. We adapt it to multi-turn play by injecting, at every decision, a reminder to consider what each partner has and has not seen. The flat context stays unchanged.
The two decision-time reasoning methods are Recursive Contemplation and Foresee-and-Reflect. Recursive Contemplation lifts GPT-4's good-side win rate in Avalon from 15% to 83.3% (Boosting LLM Agents with Recursive Contemplation). Foresee-and-Reflect lifts GPT-4 to 71.4% on the help-selection stories (How FaR). The strongest existing memory system is G-Memory with role-specific filtering, run with its own retrieval, because it is hierarchical and multi-agent but has no partner-knowledge records. No reported result was found on Lacuna for G-Memory, HyMem, ReCon, or FaR on EnactToM, so those numbers must be produced in this study.
Two ablations isolate the key ingredient. The "filtered flat log" ablation gives the planner, for each partner, the raw event log filtered by provenance tags, with no consolidation and no routing queue. It tests whether separation alone explains the gains. The "inferred provenance" ablation lets the model decide what each partner saw instead of using co-presence bookkeeping. It tests whether grounding matters. A third ablation removes the routing queue.
Fairness rules apply to every comparison. All methods use the same backbone, the same environment seeds, and the same per-episode token budget, which counts consolidation and audit calls against our method. Every method gets an equal prompt-tuning budget on a held-out development split. Beating a baseline means a higher EnactToM success rate under Pass^3 on both Standard and Hard splits, with non-overlapping bootstrap intervals over tasks. It also means a lower share of failures audited as routing failures.
Why not just…?
Why not just use the mental-state reminder that already reaches 97.1% on SimpleToM? This is the main threat, and we treat it as one. SimpleToM stories are two sentences long, so a reminder points at information that is visible and short. In EnactToM the relevant facts are scattered across many turns and several partners. A reminder tells the model to consider a partner's knowledge but cannot tell it what that knowledge is. We expect the reminder baseline to match us on SimpleToM and short episodes and to fall behind as episode length grows. The horizon sweep tests exactly this. If the reminder keeps pace at long horizons, the architecture is unnecessary, and we will report that.
Why not just give each partner its own sub-agent with a filtered copy of the history, with no hierarchy? This is the filtered-flat-log ablation, and it may well capture most of the benefit. Separation is the part HyMem's results support most directly. The hierarchy should matter only when filtered logs grow long enough to dilute themselves, and when deadlines require a global view of who still needs what, which a per-partner log does not provide. If the ablation matches the full system at all horizons, we will drop consolidation and the queue and publish the simpler design.
Why not just use a stronger reasoning model? In SimpleToM, o1-preview rises to 84.1% on behavior prediction but only 59.5% on judgment, so extra reasoning at test time does not remove the privileged-knowledge leak. We will nonetheless run our design and the flat baseline on both a standard and a reasoning backbone. If the gap between them closes on the reasoning backbone, memory layout is a crutch for weaker models rather than a structural fix.
Why not just train with multi-agent RL, as ToMPO does? ToMPO improves cooperative outcomes in formal network games (1.34 vs. 0.99 for GRPO on BCZ). However, it operates over formal game states, not partially observed embodied tasks with free-text messages, and it requires training. Our method needs no training and could later supply the structured state an RL method would need. We do not claim to beat trained policies, and we leave that comparison out of scope.
Proposed Experiments
The main experiment runs all methods on the full 300-task EnactToM benchmark, cooperative and mixed-motive, Standard and Hard. We report Pass^3 and per-run success, literal-probe accuracy, the gap between probe accuracy and task success, and a 40-failure audit per method using EnactToM's categories. A second testbed is multi-round Avalon. There the per-partner records track claims and votes over many rounds, and ReCon's reported 83.3% for GPT-4 is the reference. We will rerun ReCon on our backbone for a fair comparison. SimpleToM and the help-selection stories serve as a short-horizon control where we expect little gain.
The decisive checks are four. First, at matched token budget, the full system must beat the reminder baseline on EnactToM Hard and long Avalon games. Second, it must beat the filtered-flat-log ablation by a margin that grows with episode length. Without that growth, the hierarchy is unjustified. Third, the Wang-style decomposition must show the improvement coming from fewer wrong conclusions about partner knowledge, not from changes in execution. Fourth, the inferred-provenance ablation must do worse, which would show that grounding partner records in bookkeeping, rather than in the model's own guesses, is what blocks the leak. If the first check fails, the proposal's central claim is wrong. If only the second fails, the result is still useful but smaller: separate partner contexts, without hierarchy, are the fix.
Workshop authors to connect with
- Doing What They Say, Not What They Reason: Locating the Faithfulness Gap in LLM Agents: Yufeng Wang
- MicroVerse: An Instrument for Measuring Self-Authored Identity Drift in Long-Horizon Multi-Agent Language-Model Simulations: Brihi Joshi, Shirley Huang, Zonglin Di, Zhiwei Zhang, Muhammad Ahmed Mohsin, Guanghui Min, Keyang Xuan, Jiatong Li, Yunhan Zhao, Bing Hu, Xupeng Chen, binghang lu, and 32 more
- Tracing LLM Social Reasoning to Pretraining Data: A Provenance Audit for Social Simulation: Glenn Matlin, Chandreyi Chakraborty, Saehee Eom, Mika Okamoto, Rayan Castilla, Louis Jaburi, Alvin Deng, Taywon Min, Lucia Quirke, Stella Biderman, Mark Riedl
References
- SimpleToM: Exposing the Gap between Explicit ToM Inference and Implicit ToM Application in LLMs
- How FaR Are Large Language Models From Agents with Theory-of-Mind?
- Mind Your Theory: Theory of Mind Goes Deeper Than Reasoning
- EnactToM: An Evolving Benchmark for Functional Theory of Mind in Embodied Agents
- Doing What They Say, Not What They Reason: Locating the Faithfulness Gap in LLM Agents
- HyMem: Hierarchical Context Management for Long-Horizon Agents via Information Isolation
- G-Memory: Tracing Hierarchical Memory for Multi-Agent Systems
- Memory-Augmented Theory of Mind Network
- MicroVerse: An Instrument for Measuring Self-Authored Identity Drift in Long-Horizon Multi-Agent Language-Model Simulations
- Tracing LLM Social Reasoning to Pretraining Data: A Provenance Audit for Social Simulation
- Boosting LLM Agents with Recursive Contemplation for Effective Deception Handling
- ToMPO: Training LLM Strategic Decision Making from a Multi-Agent Perspective