arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.09946cs.CL
收藏

Dialog2API:与API描述和示例程序的面向任务对话

Dialog2API: Task-Oriented Dialogue with API Description and Example Programs

AWS AI Labs(亚马逊云科技人工智能实验室)

Raphael Shu, Elman Mansimov, Tamer Alkhouli, Nikolaos Pappas, Salvatore Romeo, Arshit Gupta, Saab Mansour, Yi Zhang, Dan Roth

摘要:

功能性和对话体验是任务导向对话系统的两个重要因素。具有封闭模式的常规方法(例如,会话语义解析)经常失败,因为功能和对话体验都受到底层模式的强烈约束。我们引入了一种新的面向任务的对话模式-Dialog 2API-以极大地扩展功能并提供无缝的对话体验。会话模型通过生成和执行触发一组预定义API的程序来与环境交互。该模型还管理对话策略,并通过生成适当的自然语言响应与用户交互。通过允许生成自由形式的程序,Dialog 2API通过组合不同的API来支持复合目标,而不受限制的程序修订提供了自然和强大的对话体验。为了方便Dialog 2API,核心模型提供了API文档,执行环境和可选的一些用程序注释的示例对话。我们提出了一种为Dialog 2API量身定制的方法,其中对话状态由程序堆栈表示,最近提到的程序位于堆栈的顶部。Dialog 2API可用于许多应用场景,如软件自动化和客户服务。在本文中,我们为AWS S3 API构建了一个数据集,并展示了上下文学习基线的评估结果。

英文摘要:

Functionality and dialogue experience are two important factors of task-oriented dialogue systems. Conventional approaches with closed schema (e.g., conversational semantic parsing) often fail as both the functionality and dialogue experience are strongly constrained by the underlying schema. We introduce a new paradigm for task-oriented dialogue - Dialog2API - to greatly expand the functionality and provide seamless dialogue experience. The conversational model interacts with the environment by generating and executing programs triggering a set of pre-defined APIs. The model also manages the dialogue policy and interact with the user through generating appropriate natural language responses. By allowing generating free-form programs, Dialog2API supports composite goals by combining different APIs, whereas unrestricted program revision provides natural and robust dialogue experience. To facilitate Dialog2API, the core model is provided with API documents, an execution environment and optionally some example dialogues annotated with programs. We propose an approach tailored for the Dialog2API, where the dialogue states are represented by a stack of programs, with most recently mentioned program on the top of the stack. Dialog2API can work with many application scenarios such as software automation and customer service. In this paper, we construct a dataset for AWS S3 APIs and present evaluation results of in-context learning baselines.

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

↑