Collaborative Theory of Mind: Learning to Self-Revise by Anticipating User Responses
cs.AI
Submitted: 2026-10-09
Updated: 2026-10-09
Code: https://github.com/thuzfz1/CToM
License: http://creativecommons.org/licenses/by/4.0/
The gist: Large language models (LLMs) demonstrate strong individual task performance, yet still struggle to collaborate with users over extended, multi-turn interactions, for example by attempting solutions
Abstract
Large language models (LLMs) demonstrate strong individual task performance, yet still struggle to collaborate with users over extended, multi-turn interactions, for example by attempting solutions before understanding the user's needs or by failing to revise mistaken assumptions after receiving feedback. We propose Collaborative Theory of Mind (CToM), a framework that addresses these challenges by explicitly training LLMs to anticipate user responses and to use those predictions to improve their own behavior. CToM drafts a response, predicts how the user will respond, and uses this prediction to guide internal revision before presenting a response. During training, the user's reply to each draft serves as the target for predicting the next turn, and we train the assistant to minimize the negative log-likelihood of that reply. We combine this prediction objective with group-relative policy optimization (GRPO) to optimize both task performance and interaction efficiency. Across mathematical reasoning, coding, and writing tasks, CToM achieves higher collaborative task performance than all baselines; for example, on a collaborative mathematical reasoning task, it improves final accuracy from 74.1% to 79.6% compared with naive GRPO. Ablations show that predicting user responses also makes collaboration more efficient: under the same reward, adding prediction supervision reduces the number of user replies by 8% on coding and 17% on writing while improving task performance. Behavioral analyses of interaction trajectories show that user-response predictions become more accurate after training, and that more accurate predictions are associated with larger improvements in collaborative task performance through self-revision.
Sources
- The Collaboration Gap: Exploration and Benchmarking of Open-World Agentic Cooperation
- Measuring Mathematical Problem Solving With the MATH Dataset
- On Overcoming Miscalibrated Conversational Priors in LLM-based Chatbots
- From Task Success to Productive Success: Evaluating Human-AI Collaboration by Quality and Cost
- LLMs Get Lost In Multi-Turn Conversation
- CoAuthor: Designing a Human-AI Collaborative Writing Dataset for Exploring Language Model Capabilities
- BASIS: Evaluating Belief-Aware Solutions in Interactive Settings beyond Instructions
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
- Training Proactive and Personalized LLM Agents
- Qwen3 Technical Report
- TOM-SWE: User Mental Modeling For Software Engineering Agents
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems