Pipeline Analysis for Developing Instruct LLMs in Low-Resource Languages: A Case Study on Basque

Ander Corral, Ixak Sarasua, Xabier SaralegiNAACL 2025

Introduction

The rapid advancement of Large Language Models (LLMs) has primarily benefited high-resource languages like English, creating a significant "AI divide." Low-resource languages, such as Basque, often lack the massive, high-quality datasets required for traditional training. This study explores an efficient pipeline to adapt English-centric models to Basque, investigating the trade-offs between data quality, dataset size, and the utility of machine-translated data for fine-tuning.

Methodology: The Adaptation Pipeline

The researchers propose a three-stage adaptation pipeline using Llama-3.1-8B as the foundational architecture:

  1. Continual Pre-training (CPT): To establish a linguistic foundation, the model underwent further training on a curated mix of Basque and English data. An 80:20 ratio (Basque to English) was maintained to mitigate "catastrophic forgetting" of the model's original reasoning capabilities.
  2. Instruction Tuning (SFT): The model was fine-tuned using Parameter-Efficient Fine-Tuning (LoRA) on instruction-following datasets. Due to the scarcity of native Basque instruction sets, machine-translated versions of popular English datasets were utilized.
  3. Alignment (DPO): Finally, Direct Preference Optimization (DPO) was applied to align the model with human preferences using translated preference pairs (preferred vs. rejected responses).

Data Strategy and Quality

The study emphasizes the importance of data quality over sheer volume. Pre-training utilized the ZelaiHandi dataset, consisting of 521 million words of clean, licensed Basque text, supplemented by a subset of English FineWeb data. For instruction and alignment, Basque versions of No_Robots, SlimOrca, and UltraFeedback were generated via machine translation. To ensure rigorous evaluation, the authors introduced four new manually translated benchmarks: ARC_HT_eu, Winogrande_HT_eu, MMLU_HT_eu, and HellaSwag_HT_eu.

Results and Discussion

The adaptation pipeline resulted in a new state-of-the-art for Basque in the sub-10B parameter category. As illustrated in Figure 1, the Llama-eus-8B models show a marked improvement over the Llama-3.1-8B baselines in both foundational and instructed contexts.

Performance comparison of foundational and instructed models on Basque benchmarks.

A comprehensive analysis of Natural Language Understanding (NLU) performance (Figure 3) reveals that continual pre-training improved average scores by 12.47 points. The Llama-eus-8B model (61.22 average) significantly outperformed the base Llama-3.1-8B (48.75 average) and even rivaled or exceeded the performance of much larger models like Latxa v1.2 70B on specific benchmarks.

Detailed benchmark performance across various NLU tasks for Basque.

Key insights from the experiments include:

  • Foundation is Essential: Instruction tuning alone is insufficient; a solid linguistic foundation via CPT is required for the model to effectively follow instructions in the target language.
  • Translation Effectiveness: Machine-translated instruction sets proved highly effective, increasing instruction-following performance by 24 points (from 6% to 30% in manual evaluations) despite the lack of native-speaker-authored training data.
  • Preference Alignment: DPO provided an additional 7-point accuracy boost, confirming that alignment techniques remain effective even when applied to translated data.

Conclusion

This research demonstrates a viable blueprint for bridging the linguistic divide in NLP. While a 13.28-point performance gap remains between English and Basque, the proposed pipeline significantly narrows this margin. Future work will focus on addressing the limitations of sentence-level machine translation and developing larger-scale native Basque instruction datasets to move beyond the constraints of synthetic data.

Summary updated

BibTeX
@inproceedings{corral2025pipeline,
  author = {Ander Corral and Ixak Sarasua and Xabier Saralegi},
  title = {{Pipeline Analysis for Developing Instruct LLMs in Low-Resource Languages: A Case Study on Basque}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-long.629},
}
Figure