arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.03884cs.CLcs.AI
收藏

ChatSOP: 一种SOP引导的MCTS规划框架,用于可控的LLM对话代理

ChatSOP: An SOP-Guided MCTS Planning Framework for Controllable LLM Dialogue Agents

TJUNLP Lab, College of Intelligence and Computing, Tianjin University(天津大学智能计算学院TJUNLP实验室);Ping An Technology(平安科技);Tübingen AI Center, University of Tübingen(图宾根大学图宾根人工智能中心);Kunming University of Science and Technology(昆明理工大学)
Zhigen Li, Jianxiang Peng, Yanmeng Wang, Yong Cao, Tianhao Shen, Minghui Zhang, Linxi Su, Shang Wu, Yihang Wu, Yuqian Wang, Ye Wang, Wei Hu, Jianfeng Li, Shaoju… 展开作者

Zhigen Li, Jianxiang Peng, Yanmeng Wang, Yong Cao, Tianhao Shen, Minghui Zhang, Linxi Su, Shang Wu, Yihang Wu, Yuqian Wang, Ye Wang, Wei Hu, Jianfeng Li, Shaojun Wang, Jing Xiao, Deyi Xiong

AI总结:

提出ChatSOP框架,通过SOP引导的蒙特卡洛树搜索增强LLM对话代理的可控性,在动作准确率上相比GPT-3.5基线提升27.95%。

摘要:

由大型语言模型驱动的对话代理在各种任务中表现出优越的性能。尽管它们能更好地理解用户并生成类人回复,但**缺乏可控性**仍然是一个关键挑战,常常导致对话偏离主题或任务失败。为了解决这个问题,我们引入标准操作程序来规范对话流程。具体来说,我们提出了**ChatSOP**,一种新颖的SOP引导的蒙特卡洛树搜索规划框架,旨在增强LLM驱动的对话代理的可控性。为此,我们整理了一个数据集,包含使用GPT-4o的半自动角色扮演系统生成的、经过严格人工质量控制验证的SOP标注的多场景对话。此外,我们提出了一种新方法,将思维链推理与监督微调相结合用于SOP预测,并利用SOP引导的蒙特卡洛树搜索在对话中进行最优动作规划。实验结果表明了我们方法的有效性,例如,与基于GPT-3.5的基线模型相比,动作准确率提高了27.95%,并且在开源模型上也显示出显著的提升。数据集和代码已公开。

英文摘要:

Dialogue agents powered by Large Language Models (LLMs) show superior performance in various tasks. Despite the better user understanding and human-like responses, their **lack of controllability** remains a key challenge, often leading to unfocused conversations or task failure. To address this, we introduce Standard Operating Procedure (SOP) to regulate dialogue flow. Specifically, we propose **ChatSOP**, a novel SOP-guided Monte Carlo Tree Search (MCTS) planning framework designed to enhance the controllability of LLM-driven dialogue agents. To enable this, we curate a dataset comprising SOP-annotated multi-scenario dialogues, generated using a semi-automated role-playing system with GPT-4o and validated through strict manual quality control. Additionally, we propose a novel method that integrates Chain of Thought reasoning with supervised fine-tuning for SOP prediction and utilizes SOP-guided Monte Carlo Tree Search for optimal action planning during dialogues. Experimental results demonstrate the effectiveness of our method, such as achieving a 27.95% improvement in action accuracy compared to baseline models based on GPT-3.5 and also showing notable gains for open-source models. Dataset and codes are publicly available.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑