Mutual Theory of Mind in Human-AI Collaboration: An Empirical Study with LLM-driven AI Agents in a Real-time Shared Workspace Task

Shao Zhang, Xihuai Wang, Wenhao Zhang, Yongshan Chen, Landi Gao, Dakuo Wang, Weinan Zhang, Xinbing Wang, Ying WenarXiv 2024 · DOI

Introduction

Effective human collaboration often hinges on Theory of Mind (ToM)—the cognitive ability to attribute mental states, such as beliefs, desires, and intentions, to others. In high-stakes, real-time environments like professional kitchens or emergency response, this "mentalizing" allows team members to anticipate needs and coordinate actions without constant verbalization. As AI agents increasingly enter these shared workspaces, the concept of Mutual Theory of Mind (MToM)—where both the human and the AI agent actively model each other—becomes critical. This study investigates how LLM-driven agents equipped with ToM capabilities influence team performance and human perception in a chaotic, real-time coordination task.

The Challenge of Real-Time Coordination

Most research into Human-AI Teams (HATs) has focused on turn-based games or static environments where communication is leisurely. However, real-world tasks are often fast-paced with high interdependencies. In these settings, the "operational burden" of explicit communication can conflict with the need for rapid action. This paper addresses whether an AI agent that "thinks" about the human's intentions can improve coordination in a custom version of the popular game Overcooked.

Methodology: Agent Architecture and Experimental Design

The researchers developed a sophisticated agent framework powered by GPT-4o mini, designed to operate within a "Counter Circuit" layout in Overcooked.

Agent Architecture

The agent's intelligence is divided into three functional modules:

  1. Theory of Mind (ToM) Module: Periodically (every 75 time-steps), this module reviews the history of actions and messages to update its "belief" about the human partner's strategy or preferences.
  2. Policy Module: To mitigate LLM latency, the agent utilizes a Finite State Machine (FSM) for routine tasks. For complex coordination, it employs Code-as-Policy, where the LLM generates Python logic snippets to dynamically override the FSM.
  3. Communication Module: This module decides when a verbal message is necessary and generates concise text (under 10 words) to align goals with the human.
The Mutual Theory of Mind (MToM) framework illustrating the interaction between the agent's ToM module, policy, and the shared workspace.

Experimental Setup

The study employed a 4x2 mixed-design experiment involving 68 participants. The primary variables were:

  • Communication Levels: Bidirectional (Bi-Comm), Human-only (H-Comm), Agent-only (A-Comm), and No Communication (No-Comm).
  • Agent ToM: Participants played with both a ToM-enabled agent and a baseline agent without ToM capabilities.
The experimental interface showing the shared workspace (Overcooked layout) and the message command UI used for human-agent communication.

Key Insights: The Communication Paradox

A central finding of the study was the "Communication Paradox." Contrary to expectations that more communication would lead to better coordination, the No-Communication group achieved the highest mean scores (~180). In contrast, the Bidirectional group performed the worst (~164).

In fast-paced environments, the cognitive load required to process and send messages often outweighs the informational benefits. Participants frequently relied more on the agent's physical movements—implicit communication—to infer intent than on the text messages provided.

Results: Performance vs. Perception

While the inclusion of a ToM module did not lead to a dramatic increase in objective game scores, it significantly altered the human experience:

  • Subjective Understanding: Participants felt significantly more "understood" by the ToM-enabled agent (p < 0.001). The agent's actions were perceived as more logical and consistent with the human's own goals.
  • Contribution Rates: ToM-enabled agents showed a statistically significant 2% increase in their contribution to sub-tasks, indicating more efficient task allocation.
  • Trust and Hallucinations: A major barrier to trust was LLM "hallucination." When an agent's verbal commitment (e.g., "I'll get the beef") contradicted its physical action (moving toward lettuce), human trust was severely compromised.

Discussion and Future Directions

The study highlights that for AI to be an effective partner in real-time settings, it must balance explicit communication with behavioral transparency. Future work should explore higher-order ToM, where the agent models what the human thinks the agent is doing. Additionally, adapting to the human's specific skill level—treating experts and novices differently—is a promising avenue for improving coordination.

Conclusion

Mutual Theory of Mind is a powerful tool for improving the "vibe" and perceived intelligence of AI partners, even if it doesn't always translate to higher raw scores in high-pressure tasks. As AI agents move into more complex, real-time human environments, the ability to "mentalize" will be essential for building trust and fostering seamless collaboration.

Summary updated

BibTeX
@misc{zhang2024mutual,
  author = {Shao Zhang and Xihuai Wang and Wenhao Zhang and Yongshan Chen and Landi Gao and Dakuo Wang and Weinan Zhang and Xinbing Wang and Ying Wen},
  title = {{Mutual Theory of Mind in Human-AI Collaboration: An Empirical Study with LLM-driven AI Agents in a Real-time Shared Workspace Task}},
  year = {2024},
  eprint = {2409.08811},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.08811},
}
Figure