Improving In-context Learning of Multilingual Generative Language Models with Cross-lingual Alignment

Chong Li, Shaonan Wang, Jiajun Zhang, Chengqing Zong
11/14/2023
cs.CL

No official code found. Best implementation: chongli17/CrossLingualAlignment (5 stars, MIT, last commit 2024-05-09).

Abstract

Multilingual generative models obtain remarkable cross-lingual in-context learning capabilities through pre-training on large-scale corpora. However, they still exhibit a performance bias toward high-resource languages and learn isolated distributions of multilingual sentence representations, which may hinder knowledge transfer across languages. To bridge this gap, we propose a simple yet effective cross-lingual alignment framework exploiting pairs of translation sentences. It aligns the internal sentence representations across different languages via multilingual contrastive learning and aligns outputs by following cross-lingual instructions in the target language. Experimental results show that even with less than 0.1 {\textperthousand} of pre-training tokens, our alignment framework significantly boosts the cross-lingual abilities of generative language models and mitigates the performance gap. Further analyses reveal that it results in a better internal multilingual representation distribution of multilingual models.

View on arXivView PDF

Code Implementations(1)

MIT

The code for paper "Improving In-context Learning of Multilingual Generative Language Models with Cross-lingual Alignment"

50Shell, PythonMar 15, 20242 years agoMIT

Similar Papers

Cite this paper

@article{li2023improving,
  title  = {Improving In-context Learning of Multilingual Generative Language Models with Cross-lingual Alignment},
  author = {Chong Li and Shaonan Wang and Jiajun Zhang and Chengqing Zong},
  year   = {2023},
  eprint = {2311.08089},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.08089v2}
}

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

Discussion