Broaden your SCOPE! Efficient Multi-turn Conversation Planning for LLMs with Semantic Space
Department of Computer Science, National University of Singapore(新加坡国立大学计算机科学系);Institute for Infocomm Research (I2R), A*STAR, Singapore(新加坡A*STAR信息与通信研究所);Centre for Frontier AI Research (CFAR), A*STAR, Singapore(新加坡A*STAR前沿人工智能研究中心)
大语言模型(LLM)被用于聊天机器人或 AI 助手中,以与人类用户进行对话。在此类应用中,对话的质量(例如用户参与度、安全性)非常重要,而且只有在对话结束时才能确切知道。为了最大化预期质量,对话规划会对对话中的随机转移进行推理,以在每一轮选择最优的 LLM 回复。现有的基于模拟的对话规划算法通常通过在每一轮使用大量 LLM 查询来模拟未来对话,从而选择最优回复。然而,这一过程极其耗时,因此不适用于实时对话。本文提出了一种名为 Semantic space COnversation Planning with improved Efficiency(SCOPE)的新方法,该方法利用对话的稠密语义表示来高效执行对话规划。具体而言,SCOPE 对对话语义中的随机转移及其相关奖励进行建模,从而完全在语义空间内进行规划。这使我们能够在每个对话轮次选择最优的 LLM 回复,而无需额外的 LLM 查询来进行模拟。因此,当应用于现实世界中出现的多种对话开场白和两个奖励函数时,SCOPE 的对话规划速度比传统的基于模拟的规划算法快 70 倍,同时在实际规划预算内取得更高的奖励。我们的代码可在 https://github.com/chenzhiliang94/convo-plan-SCOPE 获取。
英文摘要:
Large language models (LLMs) are used in chatbots or AI assistants to hold conversations with a human user. In such applications, the quality (e.g., user engagement, safety) of a conversation is important and can only be exactly known at the end of the conversation. To maximize its expected quality, conversation planning reasons about the stochastic transitions within a conversation to select the optimal LLM response at each turn. Existing simulation-based conversation planning algorithms typically select the optimal response by simulating future conversations with a large number of LLM queries at every turn. However, this process is extremely time-consuming and hence impractical for real-time conversations. This paper presents a novel approach called Semantic space COnversation Planning with improved Efficiency (SCOPE) that exploits the dense semantic representation of conversations to perform conversation planning efficiently. In particular, SCOPE models the stochastic transitions in conversation semantics and their associated rewards to plan entirely within the semantic space. This allows us to select the optimal LLM response at every conversation turn without needing additional LLM queries for simulation. As a result, SCOPE can perform conversation planning 70 times faster than conventional simulation-based planning algorithms when applied to a wide variety of conversation starters and two reward functions seen in the real world, yet achieving a higher reward within a practical planning budget. Our code can be found at: https://github.com/chenzhiliang94/convo-plan-SCOPE.
The Power of Question Translation Training in Multilingual Reasoning: Broadened Scope and Deepened Insights
National Key Laboratory for Novel Software Technology(计算机软件新技术国家重点实验室);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);School of Informatics, University of Edinburgh(爱丁堡大学信息学院)
MemOps: Benchmarking Lifecycle Memory Operations in Long-Horizon Conversations
MemTensor (Shanghai) Technology Co., Ltd.(墨天轮(上海)科技有限公司);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Renmin University of China(中国人民大学)
From Words to Wisdom: Discourse Annotation and Baseline Models for Student Dialogue Understanding
Department of Electrical and Computer Engineering, Tufts University(电气与计算机工程系,塔夫茨大学);Department of Computer Science and Information Technology, Patuakhali Science and Technology University(计算机科学与信息技术系,帕图阿哈利科学与技术大学);Department of Electrical and Computer Engineering, Computer Science and Biomedical Engineering, Tufts University(电气与计算机工程系,计算机科学与生物医学工程系,塔夫茨大学);Department of Mechanical Engineering and Education, Tufts University(机械工程与教育系,塔夫茨大学)
Center for Healthcare Organization and Implementation Research, VA Bedford Health Care(VA贝德福德医疗中心健康组织与实施研究中心);Miner School of Computer and Information Sciences, University of Massachusetts Lowell(马萨诸塞大学洛厄尔分校计算机与信息科学学院);Manning College of Information and Computer Sciences, University of Massachusetts Amherst(马萨诸塞大学阿姆赫斯特分校信息与计算机科学学院)
Medication counseling with large language models: balancing flexibility and rigidity
Department of Engineering and Information Technology Åbo Akademi University(工程与信息科技系阿博阿卡迪米大学);Experience Lab Åbo Akademi University(经验实验室阿博阿卡迪米大学);Department of Natural and Health Sciences Åbo Akademi University(自然与健康科学系阿博阿卡迪米大学);Department of Caring and Ethics University of Stavanger(护理与伦理系斯塔万格大学)