Machine-Generated Text (MGT) detection, a task that discriminates MGT from Human-Written Text (HWT), plays a crucial role in preventing misuse of text generative models, which excel in mimicking human writing style recently. Latest proposed detectors usually take coarse text sequences as input and fine-tune pretrained models with standard cross-entropy loss. However, these methods fail to consider the linguistic structure of texts. Moreover, they lack the ability to handle the low-resource problem which could often happen in practice considering the enormous amount of textual data online. In this paper, we present a coherence-based contrastive learning model named CoCo to detect the possible MGT under low-resource scenario. To exploit the linguistic feature, we encode coherence information in form of graph into text representation. To tackle the challenges of low data resource, we employ a contrastive learning framework and propose an improved contrastive loss for preventing performance degradation brought by simple samples. The experiment results on two public datasets and two self-constructed datasets prove our approach outperforms the state-of-art methods significantly. Also, we surprisingly find that MGTs originated from up-to-date language models could be easier to detect than these from previous models, in our experiments. And we propose some preliminary explanations for this counter-intuitive phenomena. All the codes and datasets are open-sourced.
CoCoA-MT: A Dataset and Benchmark for Contrastive Controlled MT with Application to Formality
AWS AI Labs(亚马逊云科技人工智能实验室)
机器翻译(MT)任务通常被公式化为针对输入段返回单个翻译的任务。然而,在许多情况下,多个不同的翻译是有效的,适当的翻译可能取决于预期的目标受众,扬声器的特性,甚至扬声器之间的关系。在处理敬语时会出现一些特殊的问题,特别是从英语翻译成带有正式标记的语言。例如,句子“你确定吗?“可以翻译成德语“Sind Sie sich sicher?(正式登记)或“Bist du dir sicher?“(非正式)。使用错误或不一致的语气可能会被某些文化和人口统计学的用户视为不合适或不和谐。这项工作解决的问题,学习控制目标语言属性,在这种情况下,正式,从少量的标记对比数据。我们引入了一个注释数据集(CoCoA-MT)和相关的评估指标,用于训练和评估六种不同目标语言的形式控制MT模型。我们表明,我们可以通过对标记的对比数据进行微调来训练形式控制模型,在保持整体质量的同时实现高准确度(82%的域内和73%的域外)。
CoCo-BERT: Improving Video-Language Pre-training with Contrastive Cross-modal Matching and Denoising
Sun Yat-sen University(中山大学);The Key Laboratory of Machine Intelligence and Advanced Computing (Sun Yat-sen University), Ministry of Education(机器智能与先进计算教育部重点实验室(中山大学));JD AI Research(京东人工智能研究院)