An Empirical Study on Cross-lingual Vocabulary Adaptation for Efficient Language Model Inference

Atsuki Yamaguchi, Aline Villavicencio, Nikolaos Aletras
2/16/2024
cs.CLcs.AI

No official code found. Best implementation: gucci-j/llm-cva (4 stars, MIT, last commit 2024-09-20).

Abstract

The development of state-of-the-art generative large language models (LLMs) disproportionately relies on English-centric tokenizers, vocabulary and pre-training data. Despite the fact that some LLMs have multilingual capabilities, recent studies have shown that their inference efficiency deteriorates when generating text in languages other than English. This results in increased inference time and costs. Cross-lingual vocabulary adaptation (CVA) methods have been proposed for adapting models to a target language aiming to improve downstream performance. However, the effectiveness of these methods on increasing inference efficiency of generative LLMs has yet to be explored. In this paper, we perform an empirical study of five CVA methods on four generative LLMs (including monolingual and multilingual models) across four typologically-diverse languages and four natural language understanding tasks. We find that CVA substantially contributes to LLM inference speedups of up to 271.5\%. We also show that adapting LLMs that have been pre-trained on more balanced multilingual data results in downstream performance comparable to the original models.

View on arXivView PDF

Code Implementations(1)

gucci-j/llm-cvaCommunity100%
MIT

EMNLP 2024 Findings - An Empirical Study on Cross-lingual Vocabulary Adaptation for Efficient Language Model Inference

40Shell, PythonFeb 16, 20242 years agoMIT

Similar Papers

Cite this paper

@article{yamaguchi2024empirical,
  title  = {An Empirical Study on Cross-lingual Vocabulary Adaptation for Efficient Language Model Inference},
  author = {Atsuki Yamaguchi and Aline Villavicencio and Nikolaos Aletras},
  year   = {2024},
  eprint = {2402.10712},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.10712v3}
}

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

Discussion