Robustification of Multilingual Language Models to Real-world Noise in Crosslingual Zero-shot Settings with Robust Contrastive Pretraining

Asa Cooper Stickland, Sailik Sengupta, Jason Krone, Saab Mansour, He He
10/10/2022
cs.CLcs.AIcs.LG
contrastive-ssl

Official code: amazon-science/multilingual-robust-contrastive-pretraining (7 stars, Python, Apache-2.0, last commit 2023-02-10).

Abstract

Advances in neural modeling have achieved state-of-the-art (SOTA) results on public natural language processing (NLP) benchmarks, at times surpassing human performance. However, there is a gap between public benchmarks and real-world applications where noise, such as typographical or grammatical mistakes, is abundant and can result in degraded performance.

Show full abstract

Unfortunately, works which evaluate the robustness of neural models on noisy data and propose improvements, are limited to the English language. Upon analyzing noise in different languages, we observe that noise types vary greatly across languages. Thus, existing investigations do not generalize trivially to multilingual settings. To benchmark the performance of pretrained multilingual language models, we construct noisy datasets covering five languages and four NLP tasks and observe a clear gap in the performance between clean and noisy data in the zero-shot cross-lingual setting. After investigating several ways to boost the robustness of multilingual models in this setting, we propose Robust Contrastive Pretraining (RCP). RCP combines data augmentation with a contrastive loss term at the pretraining stage and achieves large improvements on noisy (and original test data) across two sentence-level (+3.2%) and two sequence-labeling (+10 F1-score) multilingual classification tasks.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Robust Contrastive Pre-training for developing robust multilingual language models (EACL 2023).

71Python, ShellFeb 7, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{stickland2022robustification,
  title  = {Robustification of Multilingual Language Models to Real-world Noise in Crosslingual Zero-shot Settings with Robust Contrastive Pretraining},
  author = {Asa Cooper Stickland and Sailik Sengupta and Jason Krone and Saab Mansour and He He},
  year   = {2022},
  eprint = {2210.04782},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.04782}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.04782.svg)](https://codeofpaper.com/paper/2210.04782)

Discussion