ConRPG: Paraphrase Generation using Contexts as Regularizer
Key Lab of Intelligent Information Processing of Chinese Academy of Sciences(中国科学院智能信息处理重点实验室);Zhejiang University(浙江大学);Computer Center of Peking University(北京大学计算中心);Peng Cheng Laboratory(鹏城实验室)
Yuxian Meng, Xiang Ao, Qing He, Xiaofei Sun, Qinghong Han, Fei Wu, Chun fan, Jiwei Li
A long-standing issue with paraphrase generation is how to obtain reliable supervision signals. In this paper, we propose an unsupervised paradigm for paraphrase generation based on the assumption that the probabilities of generating two sentences with the same meaning given the same context should be the same. Inspired by this fundamental idea, we propose a pipelined system which consists of paraphrase candidate generation based on contextual language models, candidate filtering using scoring functions, and paraphrase model training based on the selected candidates. The proposed paradigm offers merits over existing paraphrase generation methods: (1) using the context regularizer on meanings, the model is able to generate massive amounts of high-quality paraphrase pairs; and (2) using human-interpretable scoring functions to select paraphrase pairs from candidates, the proposed framework provides a channel for developers to intervene with the data generation process, leading to a more controllable model. Experimental results across different tasks and datasets demonstrate that the effectiveness of the proposed model in both supervised and unsupervised setups.
现有的释义识别数据集缺乏具有高词汇重叠而不是释义的句子对。根据此类数据训练的模型无法区分从纽约飞往佛罗里达的航班和从佛罗里达飞往纽约的航班等对。本文介绍了PAWS(Paraphrase Adversaries from Word Scrambling),这是一个新的数据集,包含108,463个格式良好的释义和非释义对,具有高度词汇重叠。翻译对是通过受控的单词交换和反向翻译产生的,然后由人类评分员进行流畅性和释义判断。在现有数据集上训练的最先进的模型在PAWS上的性能很差(准确率<40%);然而,为这些模型提供PAWS训练数据可以将其准确率提高到85%,同时保持现有任务的性能。相比之下,不捕获非本地上下文信息的模型即使使用PAWS训练样本也会失败。因此,PAWS提供了一个有效的工具,用于推动更好地利用结构,上下文和成对比较的模型的进一步进展。
Deja Vu at Scale: Paraphrase-Robust Detection of Duplicate Gherkin Steps in Behaviour-Driven Software Testing with Sentence-Transformer Embeddings and a 1.1M-Step Open Benchmark
Modeling the language cortex with form-independent and enriched representations of sentence meaning reveals remarkable semantic abstractness
University of California San Diego(加州大学圣地亚哥分校);ShanghaiTech University(上海科技大学);Kempner Institute, Harvard University(哈佛大学凯普勒研究所);Shanghai Jiao Tong University(上海交通大学);Carnegie Mellon University(卡内基梅隆大学);Massachusetts Institute of Technology(麻省理工学院)