Open domain response generation has achieved remarkable progress in recent years, but sometimes yields short and uninformative responses. We propose a new paradigm for response generation, that is response generation by editing, which significantly increases the diversity and informativeness of the generation results. Our assumption is that a plausible response can be generated by slightly revising an existing response prototype. The prototype is retrieved from a pre-defined index and provides a good start-point for generation because it is grammatical and informative. We design a response editing model, where an edit vector is formed by considering differences between a prototype context and a current context, and then the edit vector is fed to a decoder to revise the prototype response for the current context. Experiment results on a large scale dataset demonstrate that the response editing model outperforms generative and retrieval-based models on various aspects.
How to Write Summaries with Patterns? Learning towards Abstractive Summarization through Prototype Editing
Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);Tencent AI Lab(腾讯AI实验室);Center for Data Science, Peking University(北京大学数据科学中心)
在特殊情况下,摘要应符合特定的文体模式,如法院判决书和学术论文摘要。为此,可以利用原型文档-摘要对来生成更好的摘要。在这个任务中有两个主要的挑战:(1)模型需要从原型中整合学习到的模式,但是(2)应该避免将模式化单词以外的内容(例如不相关的事实)复制到生成的摘要中。为了解决这些问题,我们设计了一个基于原型编辑的摘要生成器(Prototype Editing based Summary Generator,PESG)。PESG首先通过分析原型文档与其摘要之间的相关性来学习摘要模式和原型事实。然后利用原型事实来帮助从输入文档中提取事实。接下来,编辑生成器基于概要模式或提取的事实生成新的概要。最后,为了解决第二个挑战,使用事实检查器来估计输入文档和生成的摘要之间的互信息,为生成器提供附加信号。在大规模真实文本摘要数据集上进行的大量实验表明,PESG在自动度量和人工评估方面都达到了最先进的性能。
MedREK: Retrieval-Based Editing for Medical LLMs with Key-Aware Prompts
City University of Hong Kong(香港城市大学);Harvard Medical School(哈佛医学院);Institute of Automation, CAS(中国科学院自动化研究所);Columbia University(哥伦比亚大学);Ohio State University(俄亥俄州立大学);Westlake University(西湖大学);Nanjing University(南京大学)
Consistency-Aware Editing for Entity-level Unlearning in Language Models
Shanxi University, China(山西大学);Cardiff University, UK(卡地夫大学);Singapore University of Technology and Design, Singapore(新加坡科技设计大学);ILCC, School of Informatics, University of Edinburgh, Edinburgh, UK(爱丁堡大学信息学院ILCC)
From Completion to Editing: Unlocking Context-Aware Code Infilling via Search-and-Replace Instruction Tuning
USTC(University of Science and Technology of China);Alibaba Group(阿里巴巴集团);CASIA(Chinese Academy of Sciences Institute of Automation);SIAT(Institute of Automation, Chinese Academy of Sciences)