Low-frequency word prediction remains a challenge in modern neural machine translation (NMT) systems. Recent adaptive training methods promote the output of infrequent words by emphasizing their weights in the overall training objectives. Despite the improved recall of low-frequency words, their prediction precision is unexpectedly hindered by the adaptive objectives. Inspired by the observation that low-frequency words form a more compact embedding space, we tackle this challenge from a representation learning perspective. Specifically, we propose a frequency-aware token-level contrastive learning method, in which the hidden state of each decoding step is pushed away from the counterparts of other target words, in a soft contrastive way based on the corresponding word frequencies. We conduct experiments on widely used NIST Chinese-English and WMT14 English-German translation tasks. Empirical results show that our proposed methods can not only significantly improve the translation quality but also enhance lexical diversity and optimize word representation space. Further investigation reveals that, comparing with related adaptive training strategies, the superiority of our method on low-frequency word prediction lies in the robustness of token-level recall across different frequencies without sacrificing precision.
Contrastive Learning for Context-aware Neural Machine TranslationUsing Coreference Information
Dept. of Electrical and Computer Engineering, Seoul National University(首尔大学电气与计算机工程系);Automation and Systems Research Institute, Seoul National University(首尔大学自动化与系统研究所)
Neural Machine Translation with Contrastive Translation Memories
Peking University(北京大学);Tencent AI Lab(腾讯人工智能实验室);Shandong University(山东大学);Beijing Institute of General Artificial Intelligence(北京通用人工智能研究院);Renmin University of China(中国人民大学)
Gender Aware Spoken Language Translation Applied to English-Arabic
Microsoft AI & Research(微软人工智能与研究部)
口语翻译(Spoken Language Translation,缩写为EBT)的使用越来越广泛,并成为一种有助于跨越语言障碍的沟通工具。性别平等的挑战之一是从一种没有性别认同的语言翻译成一种有性别认同的语言,如英语翻译成阿拉伯语。在本文中,我们介绍了一种方法来解决这种限制,使神经机器翻译系统产生性别意识的翻译。我们表明,NMT系统可以模拟说话者/听话者的性别信息,产生性别意识的翻译。我们提出了一种方法来生成用于适应NMT系统产生性别意识的数据。所提出的方法可以实现显着提高翻译质量的2 BLEU点。
Evaluating Multilingual Sentence Embeddings for Translation Error Detection:An English--Greek Contrastive Study
Ionian University(爱奥尼亚大学);Laboratory on Digital Libraries and Electronic Publishing(数字图书馆与电子出版实验室);Centre for Literary Translation and Book Policy(文学翻译与图书政策中心)
Selective Contrastive Learning For Gloss Free Sign Language Translation
School of Informatics, Xiamen University, China(厦门大学信息学院);Key Lab of Digital Protection and Intelligent Processing of Intangible Cultural Heritage of Fujian-Taiwan (XMU), Ministry of Culture and Tourism, China(福建省 Fujian-Taiwan 非物质文化遗产数字保护与智能处理重点实验室,文化部,中国);National Language Resources Monitoring and Research Center for Education and Teaching Media, Xiamen University, China(教育与教学媒体语言资源监测与研究中心,厦门大学,中国)
Fudan University(复旦大学);Shanghai AI Laboratory(上海人工智能实验室);The University of Hong Kong(香港大学);Shanghai Collaborative Innovation Center of Intelligent Visual Computing(上海智能视觉计算协同创新中心)
TaCL: Improving BERT Pre-training with Token-aware Contrastive Learning
University of Cambridge(剑桥大学);Beijing Institute of Technology(北京理工大学);Amazon(亚马逊);Monash University(莫纳什大学)
在过去的几年里,BERT和RoBERTa等掩蔽语言模型(Masked language models,MLMs)彻底改变了自然语言理解领域。然而,现有的预先训练的MLM通常输出令牌表示的各向异性分布,其占据整个表示空间的窄子集。这样的标记表示并不理想,特别是对于需要不同标记的区别性语义的任务。在这项工作中,我们提出了TaCL(令牌感知对比学习),一种新的连续预训练方法,鼓励BERT学习令牌表示的各向同性和歧视性分布。TaCL是完全无监督的,不需要额外的数据。我们在广泛的英语和中文基准上广泛测试我们的方法。实验结果表明,TaCL模型较之原有的BERT模型有了一致的、显著的改进。此外,我们进行详细的分析,以揭示我们的方法的优点和内部工作。
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%的域外)。
Cultivar: A Contrastive and Locale-Oriented Translation Benchmark for Investigating Contamination and Localisation Robustness
Queen’s University Belfast(贝尔法斯特女王大学);University of Technology Nuremberg(纽伦堡工业大学);Saarland University(萨尔大学);University of Melbourne(墨尔本大学);University of Helsinki(赫尔辛基大学);IIIT Hyderabad(海得拉巴国际信息技术学院);TCS Research(塔塔咨询服务公司研究院);Johns Hopkins University(约翰斯·霍普金斯大学);Imam Ja’afar Al-Sadiq University(伊玛目贾法尔·萨迪克大学);Cohere(Cohere公司);Last Token(Last Token公司);Charles University(查理大学);University of Edinburgh(爱丁堡大学);ETH Zurich(苏黎世联邦理工学院);University of Zurich(苏黎世大学)
Dual Contrastive Learning: Text Classification via Label-Aware Data Augmentation
SKLSDE, School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机学院软件开发环境国家重点实验室);Beijing Advanced Institution on Big Data and Brain Computing, Beihang University(北京航空航天大学大数据与脑机智能高精尖创新中心);School of Electrical Engineering and Computer Science, University of Ottawa(渥太华大学电气工程与计算机科学学院)