"Vorbeşti Româneşte?" A Recipe to Train Powerful Romanian LLMs with English Instructions

Mihai Masala, Denis C. Ilie-Ablachim, Alexandru Dima, Dragos Corlatescu, Miruna Zavelca, Ovio Olaru, Simina-Maria Terian, Andrei Terian, Marius Leordeanu, Horia Velicu, Marius Popescu, Mihai Dascalu, Traian Rebedea · DOI

Abstract

While Large Language Models (LLMs) demonstrate remarkable capabilities in English, their performance often degrades in lower-resource languages like Romanian. This paper introduces OpenLLM-Ro, a suite of high-performance LLMs specifically optimized for the Romanian language. By employing a systematic pipeline of continual pre-training, instruction fine-tuning, and Direct Preference Optimization (DPO), the authors develop models that significantly outperform larger multilingual counterparts on Romanian-specific benchmarks.

Introduction

Modern LLMs, despite their massive scale, exhibit a significant performance gap when applied to languages underrepresented in their training data. For Romanian, this manifests as a lack of cultural nuance, poor reasoning in native contexts, and a tendency to "drift" back into English during interactions. The OpenLLM-Ro project addresses these challenges by creating a reproducible "recipe" to adapt open-source English models (Llama, Mistral, and Gemma) into proficient Romanian-speaking assistants.

Methodology

The adaptation process follows a four-stage pipeline:

  1. Continual Pre-training: Base models are exposed to approximately 40 billion Romanian tokens from the CulturaX corpus. This stage is critical for embedding foundational linguistic structures and cultural knowledge.
  2. Instruction Fine-Tuning: The models are trained on a diverse set of 2.7 million instructions. This includes native Romanian datasets and high-quality English sets (Alpaca, Dolly, Orca) translated into Romanian.
  3. Direct Preference Optimization (DPO): To enhance conversational "naturalness" and alignment with human preferences, the authors applied DPO using a translated version of the HelpSteer dataset.
  4. Full Parameter Tuning: Unlike parameter-efficient methods like LoRA, the authors performed full-parameter updates for both foundational and instruct variants to ensure maximum performance gains.

Evaluation and Datasets

The models were evaluated using a comprehensive suite of benchmarks:

  • Academic Reasoning: Romanian translations of MMLU, ARC, and GSM8k.
  • RoCulturaBench: A new benchmark designed to assess "Romanian cultural IQ" across domains like history and geography.
  • Downstream Tasks: Sentiment analysis (LaRoSeDa), translation (WMT’16), and question answering (XQuAD).
  • Conversational Quality: MT-Bench was used to evaluate multi-turn dialogue capabilities.

Key Results

The resulting RoLLMs established new state-of-the-art (SOTA) benchmarks for Romanian language processing.

Performance of RoLLMs across various academic benchmarks compared to base and multilingual models.

As shown in Figure 1, RoMistral-7b and RoLlama3-8b-Instruct consistently outperform their English base models and larger multilingual models like Aya-23-8B. Notably, RoMistral-7b-Instruct achieved a significant lead in average performance across reasoning tasks.

MT-Bench scores and language consistency metrics for various models.

Figure 2 highlights the impact of the instruction tuning and DPO stages. The RoLLM variants show near-perfect language consistency (answering 160/160 prompts in Romanian) and significantly higher MT-Bench scores compared to non-adapted models. For instance, RoLlama3.1-8b-Instruct reached a conversational score of 6.21, rivaling much larger proprietary systems.

Key Insights

  • Pre-training as a Cultural Foundation: Cultural knowledge is primarily acquired during pre-training. Fine-tuning alone is insufficient for deep cultural competence.
  • Mitigating Language Drift: Explicitly prompting the model to "answer only in Romanian" was found to be a simple yet effective strategy to prevent models from reverting to English.
  • Alignment via DPO: DPO was essential for moving beyond rigid, formal responses to more natural, human-like dialogue.
  • Sequence Length: Increasing context windows during pre-training (up to 2048 tokens) improved performance on complex reasoning tasks.

Conclusion and Future Work

The OpenLLM-Ro project demonstrates that a targeted adaptation recipe can transform English-centric models into powerful tools for lower-resource languages. While highly successful, limitations remain, including the reliance on translated training data and the lack of dedicated safety guardrails. Future efforts will focus on scaling the recipe to larger architectures (e.g., 70B parameters) and incorporating more native, multi-turn dialogue data.

Summary updated

BibTeX
@inproceedings{masala2024vorbesti,
  author = {Mihai Masala and Denis C. Ilie-Ablachim and Alexandru Dima and Dragos Corlatescu and Miruna Zavelca and Ovio Olaru and Simina-Maria Terian and Andrei Terian and Marius Leordeanu and Horia Velicu and Marius Popescu and Mihai Dascalu and Traian Rebedea},
  title = {{"Vorbeşti Româneşte?" A Recipe to Train Powerful Romanian LLMs with English Instructions}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.681},
}
Figure