SGP-TOD:通过模式引导的LLM提示轻松构建任务机器人
SGP-TOD: Building Task Bots Effortlessly via Schema-Guided LLM Prompting
AI总结:
研究提出SGP-TOD,一种基于LLM的模式引导提示框架,通过任务模式指导固定LLM生成回复,无需训练数据。在多个数据集上实现SOTA零样本性能,超越少样本方法,并可通过添加模式规则轻松适应新功能。
摘要:
以最少的人力构建端到端任务机器人并维护其与新功能的集成,是对话研究中的一项长期挑战。最近,大型语言模型(LLMs)在各种下游任务中展现出了卓越的对话参与能力和指令遵循能力。在这项工作中,我们提出了SGP-TOD,这是一种基于LLM的模式引导提示(Schema-Guided Prompting)方法,用于轻松构建面向任务的对话系统。利用符号知识——任务模式,我们指导固定的LLM在新任务上生成合适的回复,从而避免了对训练数据的需求。具体而言,SGP-TOD包含三个组件:一个用于与用户交互的LLM,一个DST Prompter来辅助LLM进行对话状态跟踪(随后用于检索数据库项),以及一个Policy Prompter来引导生成符合所提供对话策略的恰当回复。在Multiwoz、RADDLE和STAR数据集上的实验结果表明,我们这种无需训练的策略SGP-TOD在没有任何任务特定数据的情况下,实现了最先进的(SOTA)零样本性能,大幅超越了少样本方法。在领域扩展设置中,SGP-TOD仅需添加补充的模式规则即可很好地适应新功能。我们已公开代码和数据。
英文摘要:
Building end-to-end task bots and maintaining their integration with new functionalities using minimal human efforts is a long-standing challenge in dialog research. Recently large language models (LLMs) have demonstrated exceptional proficiency in conversational engagement and adherence to instructions across various downstream tasks. In this work, we introduce SGP-TOD, Schema-Guided Prompting for building Task-Oriented Dialog systems effortlessly based on LLMs. Utilizing the symbolic knowledge -- task schema, we instruct fixed LLMs to generate appropriate responses on novel tasks, circumventing the need for training data. Specifically, SGP-TOD comprises three components: a LLM for engaging with users, a DST Prompter to aid the LLM with dialog state tracking, which is then used to retrieve database items, and a Policy Prompter to elicit proper responses adhering to the provided dialog policy. Experimental results on Multiwoz, RADDLE and STAR datasets show that our training-free strategy SGP-TOD, without any task-specific data, yields state-of-the-art (SOTA) zero-shot performance, greatly surpasses the few-shot approaches. In a domain-extension setting, SGP-TOD aptly adapts to new functionalities by merely adding supplementary schema rules. We make our code and data publicly available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。