Skip to main content
QUICK REVIEW

[Paper Review] Machine Theory of Mind

Neil C. Rabinowitz, Frank Perbet|arXiv (Cornell University)|Feb 21, 2018
Evolutionary Game Theory and CooperationSocial Sciences55 references69 citations
TL;DR

The paper introduces ToMnet, a meta-learning neural network that builds agent models from observed behavior to predict future actions and latent states, effectively performing few-shot inference across diverse agent populations in gridworld POMDPs and passing classic Theory of Mind tasks.

ABSTRACT

Theory of mind (ToM; Premack & Woodruff, 1978) broadly refers to humans' ability to represent the mental states of others, including their desires, beliefs, and intentions. We propose to train a machine to build such models too. We design a Theory of Mind neural network -- a ToMnet -- which uses meta-learning to build models of the agents it encounters, from observations of their behaviour alone. Through this process, it acquires a strong prior model for agents' behaviour, as well as the ability to bootstrap to richer predictions about agents' characteristics and mental states using only a small number of behavioural observations. We apply the ToMnet to agents behaving in simple gridworld environments, showing that it learns to model random, algorithmic, and deep reinforcement learning agents from varied populations, and that it passes classic ToM tasks such as the "Sally-Anne" test (Wimmer & Perner, 1983; Baron-Cohen et al., 1985) of recognising that others can hold false beliefs about the world. We argue that this system -- which autonomously learns how to model other agents in its world -- is an important step forward for developing multi-agent AI systems, for building intermediating technology for machine-human interaction, and for advancing the progress on interpretable AI.

Motivation & Objective

  • Motivate the need for interpretable, anticipatory models of other agents in AI and human-machine interaction.
  • Propose a meta-learning observer (ToMnet) that forms a general prior over agent behavior and an agent-specific posterior from observed traces.
  • Demonstrate that ToMnet can model random, algorithmic, and deep RL agents across populations.
  • Show that ToMnet can infer goals, beliefs, and belief-related states (including false beliefs) from behavior alone.
  • Highlight potential applications in multi-agent AI, interpretability, and human-machine interfaces.

Proposed method

  • Define ToMnet with three modules: a character net that builds a character embedding from past trajectories, a mental state net that infers current agents’ mental state from current trajectory, and a prediction net that outputs future behaviour conditioned on embeddings.
  • Train ToMnet end-to-end to amortize inference over agent populations, enabling rapid online predictions on new agents with limited data.
  • Represent agents and POMDPs as a family of tasks where rewards, discounts, and observations are agent-specific while dynamics come from POMDPs.
  • Use a simulated gridworld setup with multiple agent species (random, algorithmic, and deep RL) to evaluate different ToMnet capabilities.
  • Incorporate a Bayesian-inspired interpretation where the character embedding acts as a prior over agent behavior and the mental state embedding acts as a posterior over latent states.

Experimental results

Research questions

  • RQ1Can a neural observer learn a general prior over a population of agents and rapidly adapt to individual agents from few observations?
  • RQ2Can ToMnet perform online inference of agents’ goal-directed behavior, including predicting goals and successor representations?
  • RQ3Does ToMnet capture abstract, interpretable distinctions among agent species, including false beliefs in POMDPs?
  • RQ4How does incorporating a bottleneck on the agent embedding affect disentanglement of agent factors and prediction quality?
  • RQ5What are the capabilities and limitations of ToMnet across random, algorithmic, and deep RL agent populations in gridworld environments?

Key findings

  • ToMnet approximates Bayes-like hierarchical inference over agent characteristics for simple random agents.
  • ToMnet can infer goals and object preferences of algorithmic agents and predict successor representations in POMDPs.
  • ToMnet distinguishes and models different deep RL agent species (blind, sighted, and sighted with memory) and can form abstract embeddings of these agents.
  • Training with a bottleneck (Deep Variational Information Bottleneck) helps ToMnet disentangle factors of variation in agent personality space.
  • ToMnet can implicitly learn that agents hold false beliefs in POMDPs and can predict belief states from behaviour alone.
  • The architecture supports online, sample-efficient inference and can generalize across populations with varying observability and policy architectures.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.