arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.04161cs.CLcs.AI
收藏

面向任务的对话系统的逻辑推理

Logical Reasoning for Task Oriented Dialogue Systems

Amazon(亚马逊)

Sajjad Beygi, Maryam Fazel-Zarandi, Alessandra Cervone, Prakash Krishnan, Siddhartha Reddy Jonnalagadda

摘要:

近年来,大型预训练模型已被用于对话系统中,以提高成功的任务完成率。然而,对话平台的推理能力的缺乏使得难以提供相关且流畅的响应,除非对话体验的设计者花费大量时间在基于外部规则的模块中实现这些能力。在这项工作中,我们提出了一种新的方法来微调预训练的Transformer模型,如Roberta和T5。在给定的对话环境中对一组事实进行推理。我们的方法包括一个合成数据生成机制,它可以帮助模型学习逻辑关系,例如数值列表之间的比较,逆关系(和否定),分类属性的包含和排除,以及数值和分类值的属性组合的应用,以及数值的口语形式,而不需要额外的训练数据集。我们表明,基于Transformer的模型可以执行逻辑推理来回答问题时,对话上下文包含所有所需的信息,否则它是能够提取适当的约束传递到下游组件(例如知识库)时,部分信息可用。我们观察到,基于Transformer的模型(如UnifiedQA-T5)可以被微调,以对在训练时间中看到的属性(例如,对于小于$k_{\max}$ =5的值与保留测试数据集的比较,准确度为90%+)。

英文摘要:

In recent years, large pretrained models have been used in dialogue systems to improve successful task completion rates. However, lack of reasoning capabilities of dialogue platforms make it difficult to provide relevant and fluent responses, unless the designers of a conversational experience spend a considerable amount of time implementing these capabilities in external rule based modules. In this work, we propose a novel method to fine-tune pretrained transformer models such as Roberta and T5. to reason over a set of facts in a given dialogue context. Our method includes a synthetic data generation mechanism which helps the model learn logical relations, such as comparison between list of numerical values, inverse relations (and negation), inclusion and exclusion for categorical attributes, and application of a combination of attributes over both numerical and categorical values, and spoken form for numerical values, without need for additional training dataset. We show that the transformer based model can perform logical reasoning to answer questions when the dialogue context contains all the required information, otherwise it is able to extract appropriate constraints to pass to downstream components (e.g. a knowledge base) when partial information is available. We observe that transformer based models such as UnifiedQA-T5 can be fine-tuned to perform logical reasoning (such as numerical and categorical attributes' comparison) over attributes that been seen in training time (e.g., accuracy of 90\%+ for comparison of smaller than $k_{\max}$=5 values over heldout test dataset).

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

↑