Deep Interpretable Models of Theory of Mind

Ini Oguntola, Dana Hughes, Katia Sycara

Abstract

When developing AI systems that interact with humans, it is essential to design both a system that can understand humans, and a system that humans can understand. Most deep network based agent-modeling approaches are 1) not interpretable and 2) only model external behavior, ignoring internal mental states, which potentially limits their capability for assistance, interventions, discovering false beliefs, etc. To this end, we develop an interpretable modular neural framework for modeling the intentions of other observed entities. We demonstrate the efficacy of our approach with experiments on data from human participants on a search and rescue task in Minecraft, and show that incorporating interpretability can significantly increase predictive performance under the right conditions.

Introduction

As AI systems transition into collaborative roles—such as search and rescue or healthcare—the need for "Theory of Mind" (ToM) becomes critical. ToM refers to the ability to represent and reason about the mental states of others. For instance, if an AI understands that a human rescuer holds a false belief about a room's contents, it can intervene effectively to provide helpful guidance.

However, existing deep learning models for agent behavior often function as "black boxes." These models typically employ behavioral cloning to mimic external actions without accounting for underlying beliefs or intentions. This lack of transparency makes it difficult for humans to audit the AI's reasoning or trust its recommendations. This research addresses these gaps by proposing a modular, interpretable framework for modeling human intent.

Methodology

The proposed framework is grounded in the psychological Belief-Desire-Intention (BDI) model. The architecture is decomposed into three distinct, interacting modules:

  1. Belief Model: A rule-based component that updates the agent's internal world map based on new observations (e.g., noting the location of a victim).
  2. Desire Model: A neural network that processes the current belief state to predict the human's Intent, defined as a specific goal location.
  3. Action Model: A non-differentiable planning algorithm (A* search) that calculates the physical actions required to achieve the predicted intent.
The modular BDI framework: observations update the Belief Model, which informs the Desire Model to predict intent, finally leading to an action via the Action Model.

By modeling "Intent" as a physical location rather than an abstract latent vector, the framework provides a concrete, verifiable point of reference for human observers.

Interpretable Desire Modeling via Concept Whitening

The core innovation of this work lies in making the neural Desire Model interpretable. Standard neural networks often have "tangled" latent spaces where individual neurons do not correspond to clear concepts. To solve this, the authors integrated a Concept Whitening (CW) layer.

The Concept Whitening (CW) layer aligns the latent space of the neural network with predefined human concepts by maximizing activations for specific nodes.

CW performs a change of basis during training, ensuring that specific axes in the latent space align with predefined human-understandable concepts. In the context of the search and rescue task, these concepts included mission time remaining, victim types in the field of view, and the human's knowledge of specific signals.

Experimental Evaluation

The model was evaluated using 75 human trajectories from a Minecraft-based search and rescue mission. Participants navigated a complex environment to triage victims of varying point values. The study included different "knowledge conditions" to test the model's ability to infer internal states, such as whether a participant understood the meaning of audio "beeps" indicating nearby victims.

Key Results

  • Performance Gains: Contrary to the common assumption of an interpretability-accuracy trade-off, the interpretable model achieved 84.1% accuracy in intent prediction, significantly outperforming the "black box" baseline (73.0%). The alignment with human concepts provided a beneficial inductive bias that improved generalization.
  • Concept Importance: Qualitative analysis confirmed that the model prioritized relevant concepts. For example, the "critical victim in view" concept showed peak activation when the model predicted a move toward a high-value target.
  • Ablation Studies: Removing concepts related to the human's knowledge (e.g., understanding beep signals) led to a significant drop in accuracy, proving the model's reliance on these inferred mental states to make accurate predictions.

Conclusion and Future Work

This research demonstrates that modularity and interpretability can enhance the performance of Theory of Mind models. By aligning AI reasoning with human concepts, the system becomes more transparent and effective at predicting human intent.

Future work aims to automate concept discovery, reducing the need for manual labeling. Additionally, the researchers envision using this framework for counterfactual reasoning—allowing AI assistants to simulate how a human's intent might change if provided with specific information, thereby optimizing intervention strategies.

Summary updated

BibTeX
@misc{oguntola2021deep,
  author = {Ini Oguntola and Dana Hughes and Katia Sycara},
  title = {{Deep Interpretable Models of Theory of Mind}},
  year = {2021},
  eprint = {2104.02938},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.02938},
}
Figure