Machine learning algorithms typically assume independent and identically distributed samples in training and at test time. Much work has shown that high-performing ML classifiers can degrade significantly and provide overly-confident, wrong classification predictions, particularly for out-of-distribution (OOD) inputs. Conditional language models (CLMs) are predominantly trained to classify the next token in an output sequence, and may suffer even worse degradation on OOD inputs as the prediction is done auto-regressively over many steps. Furthermore, the space of potential low-quality outputs is larger as arbitrary text can be generated and it is important to know when to trust the generated output. We present a highly accurate and lightweight OOD detection method for CLMs, and demonstrate its effectiveness on abstractive summarization and translation. We also show how our method can be used under the common and realistic setting of distribution shift for selective generation (analogous to selective prediction for classification) of high-quality outputs, while automatically abstaining from low-quality ones, enabling safer deployment of generative language models.
近年来,随着深度学习的发展,文本生成技术发生了很大的变化,为人类提供了多种服务,如餐厅预订、日常交流等。自动生成的文本越来越流畅,研究者开始考虑更多的拟人化文本生成技术,即条件文本生成,包括情感文本生成、个性化文本生成等,条件文本生成(Conditional Text Generation,CTG)也因此成为研究热点。作为一个很有前途的研究领域,人们对它进行了大量的研究,本文就其研究的新动向作一综述。本文首先在CTG概念模型的基础上,总结了神经文本生成领域的几个关键技术,阐述了神经文本生成领域的技术演进路线。我们进一步调查现有的CTG领域,并提出了几个通用的CTG学习模型。最后,我们讨论了CTG的开放性问题和有前途的研究方向。
Learning towards Selective Data Augmentation for Dialogue Generation
KAUST(阿卜杜拉国王科技大学);Ant Group(蚂蚁集团);Xiaomi AI Lab(小米AI实验室);University of Notre Dame(圣母大学);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院)
GGC: Selective Query Correction for Reliable Text-to-SPARQL Generation
Nanyang Technological University(南洋理工大学);Institute of High Performance Computing, Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局高性能计算研究所)
A Well-Composed Text is Half Done! Composition Sampling for Diverse Conditional Generation
Google Research(谷歌研究院);Google Brain(谷歌大脑)
我们提出了组合采样,一个简单但有效的方法来产生不同的输出,有条件的生成更高的质量相比,以前的随机解码策略。它建立在最近提出的基于计划的神经生成模型(Narayan et al,2021)的基础上,这些模型经过训练,首先创建输出的组合,然后通过调节它和输入来生成。我们的方法避免了文本退化,首先采样组成的实体链的形式,然后使用束搜索,以产生最好的可能接地到这个实体链的文本。摘要(CNN/DailyMail和XSum)和问题生成(SQuAD)的实验,使用现有的和新提出的自动度量以及基于人类的评估,证明了成分采样是目前最好的解码策略,用于生成各种有意义的输出。
A Conditional Variational Framework for Dialog Generation
Saarland University(萨尔大学);Institute of Software, Chinese Academy of Science(中国科学院软件研究所);The Hong Kong Polytechnic University(香港理工大学);National Institute of Informatics(国立信息学研究所)
Tractable Transformers for Flexible Conditional Generation
Department of Computer Science, University of California, Los Angeles(加州大学洛杉矶分校计算机科学系);Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);Yuanpei College, Peking University(北京大学元培学院);Institute for Artificial Intelligence, University of Stuttgart(斯图加特大学人工智能研究院);School of Intelligence Science and Technology, Peking University(北京大学智能科学与技术学校)