2025-02-18 · 专家 · 自然语言处理

Can a Single Model Master Both Multi-turn Conversations and Tool Use? CALM: A Unified Conversational Agentic Language Model

本文提出了一种名为CALM的统一型对话代理语言模型,它整合了任务型对话和代理功能,在多轮对话和API调用任务中均取得了优异的性能,并超越了包括GPT-4在内的现有模型。

更新于 2025-02-19。作者:Emre Can Acikgoz、Jeremiah Greer、Akul Datta、Ze Yang、William Zeng、Oussama Elachqar、Emmanouil Koukoumidis、Dilek Hakkani-Tür、Gokhan Tur。

中文摘要

具有API调用能力的大型语言模型 (LLM) 推动了有效语言代理 (LA) 的构建,同时也彻底改变了传统的任务型对话 (TOD) 范式。然而,当前的方法面临着一个关键的困境:TOD系统通常在有限的目标API集上进行训练,当与新服务交互时,需要新的数据来保持其质量,而LA并没有经过训练来在多轮对话中保持用户意图。由于强大的多轮管理和高级函数调用对于有效的会话代理至关重要,我们评估了这三种技能在三个流行基准上的表现:MultiWOZ 2.4(TOD)、BFCL V3(LA)和API-Bank(LA),我们的分析表明,专门的方法在一个领域表现出色,但在另一个领域表现不佳。为了弥合这一差距,我们引入了CALM(会话代理语言模型),这是一种将会话能力和代理能力相结合的统一方法。我们创建了CALM-IT,这是一个精心构建的多任务数据集,它将多轮ReAct推理与复杂的API使用交织在一起。利用CALM-IT,我们训练了三个模型:CALM 8B、CALM 70B和CALM 405B,它们在所有三个基准测试中都优于顶级特定领域模型,包括GPT-4o。

英文摘要

Large Language Models (LLMs) with API-calling capabilities enabled building effective Language Agents (LA), while also revolutionizing the conventional task-oriented dialogue (TOD) paradigm. However, current approaches face a critical dilemma: TOD systems are often trained on a limited set of target APIs, requiring new data to maintain their quality when interfacing with new services, while LAs are not trained to maintain user intent over multi-turn conversations. Because both robust multi-turn management and advanced function calling are crucial for effective conversational agents, we evaluate these skills on three popular benchmarks: MultiWOZ 2.4 (TOD), BFCL V3 (LA), and API-Bank (LA), and our analyses reveal that specialized approaches excel in one domain but underperform in the other. To bridge this chasm, we introduce CALM (Conversational Agentic Language Model), a unified approach that integrates both conversational and agentic capabilities. We created CALM-IT, a carefully constructed multi-task dataset that interleave multi-turn ReAct reasoning with complex API usage. Using CALM-IT, we train three models CALM 8B, CALM 70B, and CALM 405B, which outperform top domain-specific models, including GPT-4o, across all three benchmarks.

解读

一句话总结

本文提出了一种名为CALM的统一型对话代理语言模型,它整合了任务型对话和代理功能,在多轮对话和API调用任务中均取得了优异的性能,并超越了包括GPT-4在内的现有模型。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt