协作心智理论:通过预测用户响应学习自我修正
Collaborative Theory of Mind: Learning to Self-Revise by Anticipating User Responses
AI总结:
该研究提出协作心智理论(CToM)框架,结合GRPO优化LLMs的任务性能与交互效率,在多类协作任务中提升了性能并减少了用户回复数量。
摘要:
大型语言模型(LLMs)展现出强大的个体任务性能,但在与用户进行多轮长时协作时仍存在不足,例如在理解用户需求前就尝试给出解决方案,或在收到反馈后未能修正错误假设。我们提出协作心智理论(Collaborative Theory of Mind, CToM),这一框架通过明确训练LLMs预测用户响应并利用这些预测改进自身行为来应对上述挑战。CToM先草拟一个响应,预测用户将如何回应,再利用该预测指导内部修正,之后才呈现最终响应。训练过程中,每个草拟响应用户的回复作为预测下一轮的目标,我们训练助手最小化该回复的负对数似然。我们将这一预测目标与组相对策略优化(group-relative policy optimization, GRPO)结合,以优化任务性能和交互效率。在数学推理、编码和写作任务中,CToM的协作任务性能优于所有基线;例如,在协作数学推理任务中,与朴素GRPO相比,它将最终准确率从74.1%提升至79.6%。 ablation研究表明,预测用户响应还能提升协作效率:在相同奖励下,添加预测监督使编码任务的用户回复数量减少8%,写作任务减少17%,同时提升任务性能。对交互轨迹的行为分析显示,训练后用户响应预测的准确性提高,且更准确的预测通过自我修正与协作任务性能的更大提升相关联。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。