How Vocabulary Sharing Facilitates Multilingualism in LLaMA?

Fei Yuan, Shuai Yuan, Zhiyong Wu, Lei Li
11/15/2023
cs.CLcs.AI

Official code: CONE-MT/Vocabulary-Sharing-Facilitates-Multilingualism (0 stars, last commit 2024-05-21).

Abstract

Large Language Models (LLMs), often show strong performance on English tasks, while exhibiting limitations on other languages. What is an LLM's multilingual capability when it is trained only on certain languages? The underlying mechanism remains unclear. This study endeavors to examine the multilingual capability of LLMs from the vocabulary sharing perspective by conducting an exhaustive analysis across 101 languages. Through the investigation of the performance gap before and after embedding fine-tuning, we discovered four distinct quadrants. By delving into each quadrant we provide actionable and efficient guidelines for tuning these languages. Extensive experiments reveal that existing LLMs possess multilingual capabilities that surpass our expectations, and we can significantly improve the multilingual performance of LLMs based on these attributes of each quadrant~\footnote{\url{https://github.com/CONE-MT/Vocabulary-Sharing-Facilitates-Multilingualism}.}.

View on arXivView PDF

Code Implementations(1)

00Shell, PythonMay 21, 20242 years ago

Similar Papers

Cite this paper

@article{yuan2023vocabulary,
  title  = {How Vocabulary Sharing Facilitates Multilingualism in LLaMA?},
  author = {Fei Yuan and Shuai Yuan and Zhiyong Wu and Lei Li},
  year   = {2023},
  eprint = {2311.09071},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.09071v2}
}

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

Discussion