Towards Multi-Sense Cross-Lingual Alignment of Contextual Embeddings

Linlin Liu, Thien Hai Nguyen, Shafiq Joty, Lidong Bing, Luo Si
3/11/2021
cs.CLcs.AI

Official code: ntunlp/multisense_embedding_alignment (1 star, Python, last commit 2022-10-14).

Abstract

Cross-lingual word embeddings (CLWE) have been proven useful in many cross-lingual tasks. However, most existing approaches to learn CLWE including the ones with contextual embeddings are sense agnostic.

Show full abstract

In this work, we propose a novel framework to align contextual embeddings at the sense level by leveraging cross-lingual signal from bilingual dictionaries only. We operationalize our framework by first proposing a novel sense-aware cross entropy loss to model word senses explicitly. The monolingual ELMo and BERT models pretrained with our sense-aware cross entropy loss demonstrate significant performance improvement for word sense disambiguation tasks. We then propose a sense alignment objective on top of the sense-aware cross entropy loss for cross-lingual model pretraining, and pretrain cross-lingual models for several language pairs (English to German/Spanish/Japanese/Chinese). Compared with the best baseline results, our cross-lingual models achieve 0.52%, 2.09% and 1.29% average performance improvements on zero-shot cross-lingual NER, sentiment classification and XNLI tasks, respectively.

View on arXivView PDF

Code Implementations(1)

11Python, ShellAug 31, 20224 years ago

Similar Papers

Cite this paper

@article{liu2021towards,
  title  = {Towards Multi-Sense Cross-Lingual Alignment of Contextual Embeddings},
  author = {Linlin Liu and Thien Hai Nguyen and Shafiq Joty and Lidong Bing and Luo Si},
  year   = {2021},
  eprint = {2103.06459},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.06459}
}

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/2103.06459.svg)](https://codeofpaper.com/paper/2103.06459)

Discussion