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

素描和定制:一个反事实的故事发生器

Sketch and Customize: A Counterfactual Story Generator

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Tencent AI Lab(腾讯人工智能实验室)

Changying Hao, Liang Pang, Yanyan Lan, Yan Wang, Jiafeng Guo, Xueqi Cheng

摘要:

现有的文本生成模型很容易为给定的文本生成相关的、流畅的文本,但在对给定文本的某些部分进行修改时,缺乏因果推理能力。反事实故事重写是最近提出的测试文本生成模型的因果推理能力的任务,它需要一个模型来预测相应的故事结局时,条件被修改为反事实之一。以往的研究表明,传统的序列到序列模型不能很好地处理这个问题,因为它经常捕捉到原始和反事实结局之间的一些虚假相关性,而不是条件和结局之间的因果关系。为了解决这个问题,我们提出了一个草图和自定义生成模型的指导下的因果关系所隐含的条件和结局。在草图阶段,通过从原始结尾中删除与反事实条件相冲突的单词来提取骨架。在定制阶段,使用生成模型,在反事实条件的指导下,在骨架中填充合适的词。这样,所获得的反事实结局既与原结局相关,又与反事实条件相一致。实验结果表明,与传统的序列到序列模型相比,该模型产生了更好的结尾。

英文摘要:

Recent text generation models are easy to generate relevant and fluent text for the given text, while lack of causal reasoning ability when we change some parts of the given text. Counterfactual story rewriting is a recently proposed task to test the causal reasoning ability for text generation models, which requires a model to predict the corresponding story ending when the condition is modified to a counterfactual one. Previous works have shown that the traditional sequence-to-sequence model cannot well handle this problem, as it often captures some spurious correlations between the original and counterfactual endings, instead of the causal relations between conditions and endings. To address this issue, we propose a sketch-and-customize generation model guided by the causality implicated in the conditions and endings. In the sketch stage, a skeleton is extracted by removing words which are conflict to the counterfactual condition, from the original ending. In the customize stage, a generation model is used to fill proper words in the skeleton under the guidance of the counterfactual condition. In this way, the obtained counterfactual ending is both relevant to the original ending and consistent with the counterfactual condition. Experimental results show that the proposed model generates much better endings, as compared with the traditional sequence-to-sequence model.

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

↑