Abstract
Parameter efficient finetuning has emerged as a viable solution for improving the performance of Large Language Models without requiring massive resources and compute. Prior work on multilingual evaluation has shown that there is a large gap between the performance of LLMs on English and other languages. Further, there is also a large gap between the performance of smaller open-source models and larger LLMs. Finetuning can be an effective way to bridge this gap and make language models more equitable. In this work, we finetune the Llama-2 and Mistral models on two synthetic multilingual instruction tuning datasets to determine its effect on model performance on six downstream tasks covering forty-one languages in all. Additionally, we experiment with various parameters, such as rank for low-rank adaptation and values of quantisation to determine their effects on downstream performance and find that higher rank and higher quantisation values benefit low-resource languages. We find that parameter efficient finetuning of smaller open-source models sometimes bridges the gap between the performance of these models and the larger ones, however, English performance can take a hit. We also find that finetuning sometimes improves performance on low-resource languages, while degrading performance on high-resource languages.
Introduction
Large Language Models (LLMs) like GPT-4 exhibit a significant performance disparity between English and other languages, as well as between massive proprietary models and smaller open-source alternatives. The MAPLE (Multilingual Evaluation of Parameter Efficient Finetuning) framework investigates whether Parameter Efficient Finetuning (PEFT) can bridge these gaps, making high-quality language modeling more equitable and accessible globally.
Methodology
The study focuses on Low-Rank Adaptation (LoRA) and its quantized variant (QLoRA) applied to LLaMA-2-7B and Mistral-7B models. The researchers performed an extensive hyperparameter sweep across LoRA ranks (8 to 128) and quantization levels (4-bit to 16-bit). Models were instruction-tuned using two synthetic multilingual datasets: MultiAlpaca (11 languages) and Bactrian-X (up to 52 languages). Evaluation spanned six benchmarks covering 40 languages, including reading comprehension (Belebele), natural language inference (XNLI), and question answering (XQuAD, MLQA).
Hyperparameter Analysis
A key finding of the MAPLE framework is the sensitivity of multilingual performance to rank and precision. While high-resource languages are relatively robust to low-rank, high-compression configurations, low-resource languages require higher capacity to capture linguistic nuances.
As shown in the heatmaps, increasing the LoRA rank and using higher-precision quantization (16-bit) significantly improves performance across both LLaMA and Mistral architectures. This suggests that the "equitable" performance sought by the researchers is tied to the model's available trainable capacity during the PEFT process.
Results and Analysis
The evaluation reveals that finetuned 7B-parameter models can rival or even exceed the performance of proprietary giants on specific multilingual tasks, although a "multilingual tax" is often observed in English proficiency.
As illustrated in the radar plot, the finetuned Mistral-7B model (green) significantly outperforms the base model and even proprietary models like GPT-4 (red) on XQuAD and MLQA. Specifically, on XQuAD, the finetuned Mistral-7B achieved an average score of 0.79, notably higher than GPT-4’s 0.69. However, GPT-4 maintains a lead in classification tasks (XNLI, XCOPA) and English-specific evaluation (AlpacaEval). All models exhibit relatively low performance on the generative XLSum task, highlighting a remaining frontier for small-model finetuning.
Discussion and Limitations
Despite these gains, improving performance in low-resource languages often results in "catastrophic forgetting" of English proficiency, though this can be mitigated by using higher LoRA ranks. Furthermore, the reliance on synthetic training data introduces potential biases from the teacher models used to generate the instructions. There is also a limit to how much a 7B model can learn; adding more languages to the training set sometimes diluted performance rather than helping it.
Conclusion
MAPLE demonstrates that smaller, open-source models can "punch above their weight" in multilingual settings through strategic parameter-efficient finetuning. By optimizing rank and quantization, researchers can create models that are more equitable across languages, providing a viable path for high-performance NLP in resource-constrained environments.
Summary updated