Theory of Mind Using Active Inference: A Framework for Multi-Agent Cooperation
Riddhi J. Pitliya, Ozan Çatal, Toon Van de Maele, Corrado Pezzato, Tim Verbelen · 2025
Read Theory of Mind Using Active Inference: A Framework for Multi-Agent Cooperation by Riddhi J. Pitliya, Ozan Çatal, Toon Van de Maele, Corrado Pezzato, Tim Verbelen (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2508-00401.txt.
Introduction
Riddhi Pitliya, Ozan Çatal, Toon Van de Maele, Corrado Pezzato, and Tim Verbelen give man-made agents a theory of mind through active inference, in a two thousand twenty-five paper. Theory of mind means recognizing that others hold their own beliefs and goals.
Earlier active inference methods to cooperation needed shared task-certain models or explicit communication. Here each agent keeps split representations of its own and others' beliefs, then plans with an extended tree-search algorithm that reasons recursively about joint policies. In collision avoidance and foraging model runs, theory-of-mind agents cooperated better, crashing less and duplicating less effort. They inferred beliefs purely from observed conduct.
Catalog record
| CREATOR | Riddhi J. Pitliya, Ozan Çatal, Toon Van de Maele, Corrado Pezzato, Tim Verbelen |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 38 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2508-00401
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Theory of Mind Using Active Inference: A Framework for Multi-Agent Cooperation Riddhi J. Pitliya, Ozan Çatal, Toon Van de Maele, Corrado Pezzato, Tim Verbelen Abstract Theory of Mind (ToM) – the ability to understand that others can have differing knowledge and goals – enables agents to reason about others’ beliefs while planning their own actions. We present a novel approach to multi-agent cooperation by implementing ToM within active inference. Unlike previous active inference approaches to multi-agent cooperation, our method neither relies on task-specific shared generative models nor requires explicit communication. In our framework, ToM-equipped agents maintain distinct representations of their own and others’ beliefs and goals. ToM agents then use an extended and adapted version of the sophisticated inference tree-based planning algorithm to systematically explore joint policy spaces through recursive reasoning. We evaluate our approach through collision avoidance and foraging simulations. Results suggest that ToM agents cooperate better compared to non-ToM counterparts by being able to avoid collisions and reduce redundant efforts. Crucially, ToM agents accomplish this by inferring others’ beliefs solely from observable behaviour and considering them when planning their own actions. Our approach shows potential for generalisable and scalable multi-agent systems while providing computational insights into ToM mechanisms. 1 Introduction Theory of Mind (ToM) represents one of the most remarkable achievements of human cognition – the ability to understand that other agents possess minds with beliefs and goals that may differ from our own [ 6 ] . This meta-cognitive skill enables us to recognise that others may hold false beliefs and maintain perspectives distinct from our own. For example, when we observe someone searching for an object that we know has been moved in their absence, we can anticipate their search behaviour based on where they believe the object to be, rather than its actual location [ 1 , 12 ] . This fundamental distinction between reality and belief enables sophisticated forms of cooperation, competition, and communication. ToM emerges early in human development and underpins our ability to navigate complex multi-agent environments [ 11 ] . While ToM is fundamental to human social cognition, current approaches to multi-agent cooperation using active inference lack this crucial capability. Previous active inference models for multi-agent cooperation have predominantly relied upon assumptions of shared or identical generative models that limit their generalisability and practical application. We propose that a better solution to conduct and model multi-agent cooperation is by implementing ToM within the planning stage of active inference. This offers a more principled and generalisable solution for multi-agent artificial intelligent systems, and a computational model that could serve as a tool to deepen our understanding of how humans implement ToM. Before presenting our novel approach, we first elaborate on the limitations of existing approaches of conducting cooperation using active inference. 1.1 Existing Active Inference Approaches to Multi-Agent Cooperation Maisto and colleagues [ 9 ] introduced “interactive inference”, wherein agents maintain probabilistic beliefs about shared goals (such as both agents pressing the same or different buttons) and update these beliefs through observations of others’ locations and actions. Their agents selected epistemic policies designed to reduce uncertainty about the joint goals. However, this approach assumes agents share identical goals, which is not always the case in multi-agent cooperation tasks. Moreover, their model relies on a carefully tailored generative model for the focal agent (i.e., the agent conducting ToM) that incorporates the other agent’s location as an observation which itself encodes information about the shared goal. These assumptions limit generalisability to scenarios where actions do not inherently signal goals or where agents have complementary rather than identical and shared objectives. Matsumura and colleagues [ 10 ] addressed collision avoidance (agents passing by each other without colliding) using simulation theory, where agents use their own internal models to imagine others’ situations. While this enables basic perspective-taking, their implementation is domain-specific to navigation tasks that use the social force model as it includes parameters for forward movement and mutual repulsion. The approach lacks the recursive reasoning capabilities that relies on maintenance of separate belief representations for different agents, which is necessary for more complex coordination scenarios. Other researchers have proposed multi-agent cooperation through explicit information exchange mechanisms [ 2 , 5 ] . These approaches involve agents sharing likelihood messages – information about the probability of observations given states – rather than posterior beliefs directly. However, this requires the generative model structures (state factors and observation modalities) to be identical between agents. Moreover, while mathematically principled, this method sidesteps the fundamental challenge of inferring others’ beliefs from observable behaviour alone, a capability that humans routinely demonstrate and leverage during multi-agent cooperation. Overall, these approaches predominantly assume that all agents operate under the same generative model, with identical beliefs about transition dynamics, observation likelihoods and goal structures. Such aligned models fail to capture the reality of agents with different experiences, capabilities, and objectives. Furthermore, these approaches typically involve only single-level reasoning ( “what will the other agent do?” ) rather than the recursive beliefs that characterise ToM ( “what do I think the other agent thinks about the situation?” ). Many implementations are also tailored to specific tasks (e.g., navigation or mutual button-pressing) and do not provide general principles for multi-agent cooperation across different tasks. To address these limitations, we present the first generalisable implementation for multi-agent cooperation by implementing ToM using sophisticated active inference [ 3 ] , with three key features: 1. Our agents maintain distinct beliefs and generative models for themselves and others, allowing them to reason about different perspectives while avoiding the assumption of shared knowledge and knowledge structures. 2. We propose a novel tree-based planning procedure that systematically explores joint policy spaces by interleaving policy and observation rollouts between agents. 3. Our agents can reason about how others’ actions affect the world states via message passing between their own beliefs and their beliefs of the other agent’s beliefs, maintaining perspective separation while allowing for information integration. We empirically validate our approach by simulating two multi-agent scenarios: a collision avoidance task where agents must navigate past each other without occupying the same location, and an apple foraging task requiring efficient search and consumption of resources. These scenarios are implemented in a simple 3×3 grid environment to provide a clear and interpretable proof of concept, with future work aimed at extending the approach to larger and more complex settings. Our results demonstrate that ToM-equipped agents conduct multi-agent cooperation more effectively than non-ToM agents. The ToM agents successfully avoid collisions and reduce redundant efforts as they are able to interact proactively rather than reactively with other agents. 2 Our Approach: Theory of Mind in Active Inference 2.1 Sophisticated Inference Our approach builds upon sophisticated inference [ 3 ] , which extends standard active inference to consider recursive forms of expected free energy (EFE). In standard active inference, agents evaluate policies by considering “what would happen if I did that?” . Sophisticated inference instead deepens this to “what would I believe about what would happen if I did that?” . This distinction is crucial for ToM. When reasoning about other agents, we need to consider not just what they will do, but what they believe about the consequences of their actions. This recursive reasoning about the