Multilingual Instruction Tuning With Just a Pinch of Multilinguality

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Shaham, Uri, Herzig, Jonathan, Aharoni, Roee, Szpektor, Idan, Tsarfaty, Reut, Eyal, Matan
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911882945757184
author Shaham, Uri
Herzig, Jonathan
Aharoni, Roee
Szpektor, Idan
Tsarfaty, Reut
Eyal, Matan
author_facet Shaham, Uri
Herzig, Jonathan
Aharoni, Roee
Szpektor, Idan
Tsarfaty, Reut
Eyal, Matan
contents As instruction-tuned large language models (LLMs) gain global adoption, their ability to follow instructions in multiple languages becomes increasingly crucial. In this work, we investigate how multilinguality during instruction tuning of a multilingual LLM affects instruction-following across languages from the pre-training corpus. We first show that many languages transfer some instruction-following capabilities to other languages from even monolingual tuning. Furthermore, we find that only 40 multilingual examples integrated in an English tuning set substantially improve multilingual instruction-following, both in seen and unseen languages during tuning. In general, we observe that models tuned on multilingual mixtures exhibit comparable or superior performance in multiple languages compared to monolingually tuned models, despite training on 10x fewer examples in those languages. Finally, we find that diversifying the instruction tuning set with even just 2-4 languages significantly improves cross-lingual generalization. Our results suggest that building massively multilingual instruction-tuned models can be done with only a very small set of multilingual instruction-responses.
format Preprint
id arxiv_https___arxiv_org_abs_2401_01854
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Multilingual Instruction Tuning With Just a Pinch of Multilinguality
Shaham, Uri
Herzig, Jonathan
Aharoni, Roee
Szpektor, Idan
Tsarfaty, Reut
Eyal, Matan
Computation and Language
Artificial Intelligence
Machine Learning
As instruction-tuned large language models (LLMs) gain global adoption, their ability to follow instructions in multiple languages becomes increasingly crucial. In this work, we investigate how multilinguality during instruction tuning of a multilingual LLM affects instruction-following across languages from the pre-training corpus. We first show that many languages transfer some instruction-following capabilities to other languages from even monolingual tuning. Furthermore, we find that only 40 multilingual examples integrated in an English tuning set substantially improve multilingual instruction-following, both in seen and unseen languages during tuning. In general, we observe that models tuned on multilingual mixtures exhibit comparable or superior performance in multiple languages compared to monolingually tuned models, despite training on 10x fewer examples in those languages. Finally, we find that diversifying the instruction tuning set with even just 2-4 languages significantly improves cross-lingual generalization. Our results suggest that building massively multilingual instruction-tuned models can be done with only a very small set of multilingual instruction-responses.
title Multilingual Instruction Tuning With Just a Pinch of Multilinguality
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2401.01854