Mental models of multi-agent systemsMental-Models for Multi-Agent Systems
The authors train policies with recursive mental models and report a relative gain of 11.5% for Qwen2.5-7B in the SOTOPIA two-partner setting.
- In multi-agent interactions, the other party's goals, beliefs, and strategies are not directly observable. The authors argue that existing LLM agents mostly rely on prompts or behavior shaping, lacking reusable explicit partner states.
- Learn first- and second-order Gaussian mind latent variables from history, jointly trained with belief-conditioned rewards; then freeze the scorer and update the policy with group-relative advantage. At test time, only the policy is retained.
- The authors report Overall increases for three 7B models on SOTOPIA-ALL; gains also on BigToM, ToMi aggregate scores, MMROLE Overall, and negotiation and FANToM transfer. ToMi false belief sub-scores decrease.
- The authors state that training is primarily two-party; end-to-end multi-party training, embodied extensions, larger-scale policies, and human-in-the-loop evaluation are future work. Experiments include language, multimodal benchmarks, and zero-shot transfer; main results do not report per-trial error bars.
- Evaluated models
- Qwen2.5-7B-InstructLLaMA2-7B-ChatMistral-7B-Instruct-v0.3Qwen2.5-VL-Chat
- Benchmarks
- SOTOPIASOTOPIA-πBigToMToMiMMROLECRAIGSLIST-BARGAINFANToMDailyDialog
- Metrics
- SOTOPIA OverallTB∧FBToMi AverageToMi JointMMROLE Overalldeal rate
The paper proposes a mental-model-enabled agents framework that lets agents infer partners' hidden beliefs, intentions, and likely reactions from observation history, and choose actions accordingly. The method learns an amortized recursive Theory-of-Mind representation containing first-order and second-order mental state structures, trained jointly with a belief-conditioned reward model, then learns a policy under that signal so agents can act independently at inference. The authors evaluate the same framework on language-only and multimodal benchmarks, reporting that explicit mental state modeling consistently improves interaction quality and Theory-of-Mind performance over base agent systems. Code is publicly available on GitHub.
Paper analysis
What problem does this paper attempt to solve?
Existing agents lack reusable explicit partner states; the authors use amortized mental models as a training signal for the policy.
In multi-agent settings under partial observability, agents must infer the other party's hidden goals, beliefs, and possible actions, but existing systems typically lack explicit partner states reusable across tasks.
- Emergence scenario: The authors argue that in interactive environments, part of the world consists of other agents whose goals, beliefs, and strategies are not directly observable, so successful action depends on Theory of Mind (ToM). They state that despite strong conversational abilities, current LLMs lag behind humans in ToM-style inference, interaction norm compliance, and goal-driven multi-agent scenarios.
- Existing shortcomings: The authors state that instruction tuning, preference reinforcement learning, self-criticism, reflection, memory, and synthetic self-play mainly shape behavior or provide scaffolding; partner dynamics remain only implicitly in prompts or trajectory summaries, without semantically clear, quantitatively uncertain, and policy-learner-agnostic explicit beliefs. When written as short natural-language hypotheses, expressiveness is limited, and action selection is tied to prompt phrasing.
- Core question: The authors ask whether agents can learn amortized latent belief states from interaction history and use them as a stable training signal for multi-agent policy learning.
- This paper proposes: mental-model-enabled agents. Learn recursive mind latent variables with first- and second-order structure from observation history, jointly train with belief-conditioned rewards, then write that signal into a policy that can act independently at inference; evaluate on language and multimodal benchmarks, while supplementing existing resources with ToM supervision.
What related research exists?
Related work is divided into orchestrated multi-agent systems, interactive training, and ToM modeling; the authors emphasize the coupling of latent beliefs with rewards and strategies.
The introduction and Related Work divide the discussion into three groups.
Multi-agent systems
- Role and process orchestration: CAMEL (Li et al., 2023) studies role-conditioned cooperative agent societies. MetaGPT, ChatDev, AutoGen (Hong et al., 2023; Qian et al., 2024; Wu et al., 2024) use structured processes, standard operating procedures, and programmable conversations for collaborative problem solving.
- Authors' distinction: The authors state these systems mainly improve performance through external orchestration such as role decomposition, protocol design, and tool integration; this paper does not change the interaction protocol but learns internal partner models under partial observability.
Interactive environments and training
- Language interaction: SOTOPIA (Zhou et al., 2024) provides open-ended multi-turn interactions with private goals and multi-dimensional evaluation; subsequent work studies imitation, self-reinforcement, utterance-level rewards, and scalable simulation (Wang et al., 2024; Yu et al., 2025; Zhou et al., 2025).
- Multimodal role-playing: MMROLE (Dai et al., 2025) uses character-anchored images, dialogues, and reward-model-based evaluation to develop and evaluate multimodal role-playing agents. The authors state these works provide testbeds and training schemes, but generally do not learn explicit amortized partner models that can be reused across benchmarks as decision variables.
Theory of Mind
- Trajectory modeling: ToMnet (Rabinowitz et al., 2018) infers latent agent attributes from behavior trajectories and predicts future behavior and individual characteristics.
- Evaluation and decoding-time tracking: On the language side, ToMi, BigToM, ToMBench, OpenToM (Le et al., 2019; Gandhi et al., 2023; Chen et al., 2024; Xu et al., 2024). SymbolicToM (Sclar et al., 2023) performs explicit belief tracking at decoding time. On the multimodal side, MMToM-QA; MuMA-ToM also proposes model-based inverse multi-agent planning method LIMP (Jin et al., 2024; Shi et al., 2025).
- Beliefs in decision-making: The introduction also cites work on maintaining beliefs about hidden states in POMDPs and interactive POMDPs (Kaelbling et al., 1998; Doshi and Gmytrasiewicz, 2011; Doshi et al., 2009), as well as behavior-shaping approaches such as Constitutional AI, instruction fine-tuning, DeepSeek-R1, self-criticism, Generative Agents, and Collaborative Reasoner.
Baselines and benchmarks
- Comparisons: zero-shot/base of each backbone, SFT and GRPO trained on the authors' generated data, and closed-source GPT-4o-mini/Gemini listed in the experimental setup. ToM tasks are compared against GPT-style and classic ToMi baselines listed in the text using official scripts; MMROLE is compared against official closed/open-source VLMs and MMRole-Agent.
- Benchmarks: Language: SOTOPIA, CRAIGSLIST-BARGAIN, ToMi, BigToM; Multimodal: MMROLE. The appendix uses FANToM for zero-shot multi-party transfer.
The authors state this paper is not a new ToM benchmark nor a task-specific inference procedure, but learns amortized latent mental states from interaction history, connects them to utility prediction, and uses that signal to train policies across language and multimodal scenarios.
How does the paper address this problem?
Jointly learn recursive mental latent variables and belief-conditioned rewards, then write that signal into a policy that acts independently at inference time.
mental-model-enabled agents proceed in three stages (Figure 2): jointly learn an amortized recursive mental model and a utility model; freeze both, and train an independent policy with belief-conditioned rewards; at test time, deploy only the policy. The formulation is written for the two-party case, where one party acts and the other is the counterpart.
Problem setting and amortized inference
- History and actions: Finite horizon T. At time t, the actor receives observation o_t, history h_t is the previous observations and actions plus the current observation, and selects action a_t. Actions can be free-form language or structured environment actions; in multimodal settings, observations can include non-textual signals such as vision.
- Why amortized: Action effects also depend on hidden variables z_t such as the counterpart's goals, beliefs, knowledge, capabilities, and strategies. The authors argue that exact posteriors are intractable in open interactions, so they learn an amortized model that maps history to a compact latent belief.
- First- and second-order: The authors use a recursive decomposition to avoid a flat latent variable mixing two estimation problems. qω(zt(1),zt(2)|ht)=qω1(zt(1)|ht) qω2(zt(2)|ht,zt(1)). z_t^{(1)} is the first-order partner state, and z_t^{(2)} is the higher-order state conditioned on the first-order inference.
- Subspaces: Each order is further divided into belief, intent, and thought. In the implementation, each factor is a multivariate Gaussian: the first-order prior is standard normal, the higher-order prior is a conditional Gaussian induced by the first-order latent; the compression term is a recursive variational bottleneck. The authors state this can represent a continuous distribution of plausible mental states rather than a point estimate.
Belief-conditioned utility
- From latent variables to scores: The authors argue that latent variables alone do not tell the agent what to do. For a setting e, the outcome is a vector, then scalarized with weights. Open social settings can consider both goal completion and social quality; single-step ToM can consider whether the answer is correct.
- Expected utility: ūω,ψ(ht,at)=𝔼zt∼ qω(·|ht)[ûψ(ht,at,zt)]. The meaning is: the average utility of a candidate action over mental states that remain plausible under the history.
- Joint training: The authors argue that separate training has two failure modes: fitting only mental annotations is interpretable but does not enter decision-making; if the reward model is not required to use latent variables, it will score based on surface features of the response. The joint objective includes candidate rewards, mental reconstruction, and auxiliary terms. When contrastive samples exist, hard negatives only enter ranking on the dimension they are designed to violate; missing annotations mask the corresponding loss.
- Appendix ablation: The authors state that in a SOTOPIA ablation at matched checkpoints, removing mental reconstruction or rationale conditioning reduces reward regression correlation by 29% and 26%, respectively; removing hard negatives affects regression correlation by 7%, but hard-negative preference accuracy drops from 100% to 81%.
Policy learning and deployment
- Training signal: The scalar reward is the inner product of weights and the expected utility vector. The current policy samples actions conditioned on policy inputs, the frozen scorer scores them, and the likelihood of actions with relatively higher rewards in the same context is increased. Implemented as mental-reward-guided GRPO, using within-group relative advantages; a reference KL term keeps updates near the base policy.
- Two candidate types: In open turns, candidates are sampled responses; on structured ToM benchmarks, the same signal scores options or constrained outputs. During policy optimization, the mental model computes rewards deterministically using posterior means. Scores that depend only on context and are constant within a group do not enter advantages.
- Deployment: Optional supervised warm-up or mental-prefix SFT. At test time, only the policy is kept; the reward model is not used for search or reranking. Structured actions are parsed into the action objects required by the benchmark using a wrapper.
- Implementation scope: Open-source models use LoRA on 7B backbones. The main language backbone is Qwen2.5-7B-Instruct; SOTOPIA also includes LLaMA2-7B-Chat and Mistral-7B-Instruct-v0.3; multimodal is Qwen2.5-VL-Chat. Latent dimension d_z=128. Typical ranges given in the appendix include LoRA rank 8–32, GRPO group size 8, GRPO learning rate 1×10−6–3×10−6, temperature 0.6–0.8, top-p 0.9–0.95. Hardware is NVIDIA RTX A6000 48GB.
How supervised data connects to the same objective
- SOTOPIA: On SOTOPIA-π, GPT-4o performs two-stage annotation covering seven reward dimensions and rationales, first- and second-order mental states, and hard negatives, yielding 1,647 fully annotated turns. Training turns do not overlap with official evaluation turns.
- BigToM: Qwen3-235B expands seeds into 5,000 scenarios that pass pattern checks, and adds observers, second-order beliefs, and rationales, expanding to 9,964 rows. Official BigToM and ToMi are used only for evaluation.
- MMROLE: Only inter-role is processed. First split into 36,744 turn snapshots, then GPT-4o, which can see images, annotates visual salience, first- and second-order beliefs, and contrastive beliefs; after six checks, 15,607/15,919 (98.04%) are retained. Roles are split into 74 training roles and 14 held-out roles.
What experiments did the paper conduct?
Table 1 shows ALL Overall increases for three 7B models; ToMi false belief sub-scores decrease relative to Base.
Experimental Setup
- Backbones under test: Qwen2.5-7B-Instruct, LLaMA2-7B-Chat, Mistral-7B-Instruct-v0.3, and Qwen2.5-VL-Chat for multimodal experiments, all with LoRA on 7B. Comparisons include each backbone's base, as well as SFT and GRPO trained on the authors' generated data. The setup also lists closed-source GPT-4o-mini/Gemini; Table 4 gives negotiation results for GPT-4o-mini.
- Data and splits: SOTOPIA main evaluation; mind/reward models use annotated SOTOPIA-π (1,647 turns). BigToM and ToMi are trained on 5K synthetic BigToM-style samples and evaluated on official splits. MMROLE augments the official training set. The random 100 examples from CRAIGSLIST-BARGAIN and the first 5,000 probes from FANToM are used only for transfer, with the paper stating no task-specific fine-tuning.
- Partners and evaluation: Tables 1–2 use a fixed GPT-4o-mini partner. Table 3 averages over GPT-4o-mini and self partners, and includes only selected dimensions. Table 8 specifies the same evaluation seed, GPT-4o-mini partner, GPT-4o judge, and official SOTOPIA protocol. The main tables only mention the official seven-dimension protocol; the paper does not state whether the main tables' evaluation model is GPT-4o.
- Metrics: SOTOPIA uses seven dimensions, Overall, HARD, and partner-averaged Goal, Believability, Knowledge, Avg. Negotiation uses deal, walkaway, no-agreement. BigToM uses TB, FB, TB∧FB. ToMi uses Average, Joint, and sub-scores. MMROLE uses normalized role-playing dimensions and Overall.
- Human spot-check: The appendix reports blind review of 100 annotations by 12 evaluators, with mean total score 4.45/5 (Table 11). The authors state this is a quality check, not an inter-rater reliability study.
- Repetitions and error: The checklist states the SOTOPIA main evaluation was repeated multiple times with nearly identical aggregate scores, but does not report per-trial error bars or confidence intervals for all main comparisons.
Main Results
Table 1 is SOTOPIA-ALL with a fixed GPT-4o-mini partner. The header says LLaMA, Mistral, Qwen, corresponding to LLaMA2-7B-Chat, Mistral-7B-Instruct-v0.3, Qwen2.5-7B-Instruct in the text.
Model Base Overall Ours Overall LLaMA2-7B-Chat 3.330 3.541 Mistral-7B-Instruct-v0.3 3.511 3.784 Qwen2.5-7B-Instruct 3.290 3.856 - Authors' interpretation: The authors claim Overall increases for all three model families, with more pronounced gains in Knowledge and Goal, while Believability remains high and stable. They also claim Qwen2.5-7B achieves an average relative gain of 11.5% over the base across two partner settings; this aggregate number cannot be read directly from Table 1.
- Sub-score exceptions: In Table 1, Mistral's Social rules goes from -0.122 to -0.189. In Table 2's HARD, with the same partner, the three models' Avg reach 6.166, 6.738, 6.785 respectively, but Mistral's Knowledge drops from 6.643 to 5.786, LLaMA's Believability from 8.571 to 8.500, and Qwen's Goal stays at 5.643.
- Other summaries: Table 3's partner-averaged Avg for selected dimensions is LLaMA 6.588→7.245, Mistral 7.109→7.552, Qwen 7.087→7.633. The authors claim that in Figure 3's upper panel, 7B Qwen2.5 outperforms stronger closed-source baselines, and in the lower panel outperforms SFT and GRPO on the same ToM-augmented data; the main text does not provide values for these two panels.
BigToM and ToMi
- What was tested: Trained on BigToM-style data, evaluated with official scripts on BigToM's forward belief, forward action, backward belief, with and without initial belief sentences; TB∧FB requires both branches correct in the same scenario. ToMi is used for out-of-distribution evaluation with this strategy.
- BigToM numbers: In Table 5, Ours' TB∧FB for Forward Belief is 96.0 and 97.5, Backward Belief 95.5 and 98.5, Forward Action 78.5 and 80.0; corresponding Base values are 77.0/48.0, 77.5/52.5, 63.5/67.5. The authors claim an average improvement of 26.7 percentage points in paired TB/FB across the six reported settings. They claim the base often handles easier true-belief branches; in Table 5, Forward Action's Base has TB 99.5, FB 64.0/68.0, but Forward Belief with initial belief has Base TB 49.5, FB 98.5.
- ToMi: In Table 7, Base's Average/Joint is 87.92/55.16, Ours is 89.16/60.46; second-order without false belief goes from 78.45 to 91.09. False-belief first-order goes 74.26→66.34, second-order 71.27→62.55; Reality 99.40→94.79, Memory 99.80→98.20. The table shows EntNet's Average/Joint as 90.60/66.80. The authors believe the high second-order score without false-belief conflicts indicates the transferred latent variables carry nested belief structure, and claim classic ToMi models are strong because they are specifically fitted to that synthetic format.
Multimodal, Negotiation, and Multi-Party Transfer
- MMROLE: The implementation states the backbone is Qwen2.5-VL-Chat. In Table 6, Ours Overall is 1.023, MMRole-Agent is 0.994; In is 1.024 vs 0.999, Out is 1.019 vs 0.981. The same table shows higher closed-source rows, e.g., Claude 3 Opus 1.157, GPT-4 Turbo 1.099. The authors claim gains mainly in Coherence, Response Accuracy, Personality Consistency, Knowledge Consistency, Tone Consistency; corresponding MMRole-Agent to Ours are 0.997→1.043, 0.987→1.031, 1.000→1.032, 0.992→1.031, 0.988→1.021, with Fluency 1.000→1.001.
- Negotiation transfer: Trained only on ToM data from SOTOPIA, evaluated without fine-tuning on 100 CRAIGSLIST-BARGAIN examples. In Table 4, Qwen2.5's deal/walkaway/no-agreement goes from 91.0%/7.0%/2.0% to 94.0%/5.0%/1.0%; LLaMA2 from 93.0%/7.0%/0.0% to 94.0%/1.0%/5.0%. GPT-4o-mini is 96.0%/3.0%/1.0%. The authors claim maintaining high deal rates and reducing walkaway; LLaMA2's no-agreement also increases.
- FANToM: Appendix Table 12 evaluates the first 5,000 probes with the official scorer, without FANToM training. Ours' belief choice, belief distance, first order, second order are 27.9, 38.0, 29.7, 52.2; Base is 25.4, 35.2, 26.8, 49.7; SFT's second order is 41.4, lower than Base. The authors claim this is preliminary evidence of multi-party transfer.
Latent Variable Analysis
- Is it just compression?: The authors compare a flat compression VAE with a recursive mind model on the same SOTOPIA-π context. They claim shuffling flat latents weakly affects reward vector MSE, while shuffling mind latents significantly disrupts joint reward prediction (Figure 4a); Figure 13's probes recover social labels and reward vectors more effectively from mind latents. The main text does not provide MSE values for Figure 4a.
- BIT and recursion: The authors claim in Figure 4b's pairwise CKA, belief, intent, and thought are both separate and related, with higher inter-slice similarity for flat or shuffled summaries; in Figure 4c, frozen-latent probes recover MMROLE's ToM-related factors more separably from BIT. In Figure 4d, shuffling z2 loses more second-order mind information than reward information. Figure 8's text gives median preference margins over 1,508 validation turns: BIT +25.06, flat +12.76, shuffled +12.53; preference loss is BIT 9.6×10−5, flat 1.0×10−2.
- Traversal and visual agents: The authors claim in Figure 5a, traversals along the belief direction shift branch classifiers and a reward head that only sees z1 relative to random directions, and the reward head was not trained with branch labels; in Figure 5b, squared weight mass for the offer/proposal direction falls more in the second-order block. The captions do not give coordinate readings. Figure 12, on 200 held-out MMROLE examples, shows the visually grounded agent's mean is 0.103 higher than Base, with paired Wilcoxon p = 1.3×10−4; the authors state this metric is a token-overlap proxy, not grounding itself.
Other Ablations and Analyses
- Mind supervision ratio (Table 8, Qwen2.5-7B, Overall): 0% is 3.300, 25% is 3.650, 50% is 3.750, 100% is 3.856; 0% is a reward baseline without mind targets, not the same row as Table 1's Base 3.290.
- Posterior family (Table 9, BigToM held-out, n=5,976): Diagonal Gaussian reward accuracy/marginal/belief probe is 96.6%, 1.05, 99.8%; low-rank full covariance is 96.8%, 1.05, 99.9%. The authors claim the 0.2 percentage point accuracy difference falls within the ±0.65 percentage point sampling uncertainty for this n.
- First-order to second-order: Figure 7's center annotation shows Qwen's average score relative improvement +6.7%; the petals are relative changes per dimension over the official range, but the main text does not give per-dimension numbers.
- Cross-model reward: In Figure 9, LLaMA2-7B (ours) with same-architecture reward has mean score 3.541, switching to Qwen mind reward gives 3.557.
- Emotion probe: On DailyDialog five-class, [z1;z2] 5-NN accuracy is 0.662, silhouette coefficient +0.046; no-adapter Qwen is 0.529, chance level 0.200. The authors claim the gap is +0.13. They claim in t-SNE, z1 and [z1;z2] classes are more separated, while no-adapter projections have more inter-class overlap.
- Geometry: Figure 6's caption states branch F1 = 0.989; the authors claim task identity constitutes macro-structure, with aware and not-aware partially separated within neighboring task regions.
What are some points that can be further explored?
The authors state that training is primarily two-party, and multi-party end-to-end, embodied scenarios, and larger-scale strategies remain future work.
Limitations and future directions noted by the authors
- Two-party training: The authors write that the training environment is primarily two-party (Section 6 Limitations and future work).
- Multi-party: The authors write that the FANToM zero-shot transfer in Appendix A.3 provides only preliminary multi-party evidence; end-to-end multi-party training with participant-specific latent variable updates remains future work (Section 6).
- Embodied and robotics: The authors write that the same formulation can be extended to embodied and robotic scenarios, where partner beliefs, goals, visibility, and physical constraints vary over longer time horizons (Section 6).
- Scale and evaluation: The authors write that scaling to larger policies, more diverse partner models, richer online belief updates, and human-in-the-loop evaluation will help test how far explicit mental structures can push robust multi-agent behavior (Section 6).
Experimental coverage
- Backbones and adaptation: The open-source backbones trained in the main text are Qwen2.5-7B-Instruct, LLaMA2-7B-Chat, Mistral-7B-Instruct-v0.3, and Qwen2.5-VL-Chat, all using LoRA at the 7B scale (Section 4, Appendix A.1.3).
- Tasks: Evaluations include SOTOPIA's ALL, HARD, and partner average, official BigToM and ToMi, MMROLE's In/Out, CRAIGSLIST-BARGAIN's 100-example transfer, and zero-shot transfer on the first 5,000 probes of FANToM (Section 4, Appendix A.3).
- Transfer settings: Craigslist and FANToM do not use task-specific fine-tuning; the former uses only ToM data from SOTOPIA, the latter only BigToM-style data (Section 4, Appendix A.3).
- Annotation and audit: Mental annotations use GPT-4o and Qwen3-235B; human audit is a blind review of 100 items, which the authors state is not an inter-annotator agreement study (Appendix A.2.1–A.2.4).
- Not reported: The checklist states that formal per-trial error bars or confidence intervals for all main comparisons are not reported; at deployment, only the policy is kept, and the reward model is not used for test-time search or reranking (Appendix A.1.6).
Summarize the main content of the paper
Recursive ToM latent variables plus belief-conditioned reward training yield independently deployable policies, with reported gains on language and multimodal benchmarks.
The authors propose mental-model-enabled agents, which learn the opponent's hidden mental state as a trainable decision signal, rather than only modifying prompts or interaction protocols.
- Problem: Under partial observability, actions depend on the opponent's goals, beliefs, knowledge, and possible strategies. The authors argue that existing LLM agents lack explicit partner states that are semantically clear, uncertainty-aware, and reusable across tasks.
- Method: Learn first- and second-order Gaussian latent variables from interaction history, each further divided into belief, intent, and thought; after joint training with belief-conditioned rewards, update the policy with mental-reward-guided GRPO. At test time, only the policy is run; latent variables are not fed into inference.
- SOTOPIA: With a fixed GPT-4o-mini partner, Table 1 Overall is LLaMA 3.330→3.541, Mistral 3.511→3.784, Qwen 3.290→3.856. The authors claim Qwen2.5-7B achieves an average relative gain of 11.5% over the base model in the two-partner setting. In the same table, Mistral's Social rules goes from -0.122 to -0.189.
- ToM and multimodal: The authors claim an average improvement of 26.7 percentage points in paired TB/FB across six BigToM settings. On ToMi, Average 87.92→89.16, Joint 55.16→60.46, and false belief first- and second-order are 74.26→66.34, 71.27→62.55 (Table 7). MMROLE Overall goes from MMRole-Agent's 0.994 to 1.023 (Table 6). FANToM second-order score is Base 49.7, Ours 52.2 (Table 12).
- Authors' conclusion: The authors argue that structured partner modeling is a useful inductive bias for general multi-agent systems; augmenting existing data with mental annotations, utilities, rationales, and contrastive negatives can be used to learn reusable partner representations. They also list end-to-end multi-party training, embodied extensions, and larger-scale policies as future work.