“Vorbești Românește?” A Recipe to Train Powerful Romanian LLMs with English Instructions

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

Introduction

While modern Large Language Models (LLMs) like GPT-4 or Llama 3 are technically multilingual, they remain overwhelmingly English-centric. This creates a significant performance gap for "less-resourced" languages like Romanian. While these models can technically process Romanian, they often lack cultural nuance, specific linguistic grounding, and the ability to follow instructions reliably in the target language without reverting to English.

Researchers have addressed this by releasing OpenLLM-Ro, the first comprehensive suite of high-performance LLMs specifically tailored for the Romanian language. The project explores whether powerful English-centric models can be transformed into Romanian experts without sacrificing their underlying reasoning capabilities.

The OpenLLM-Ro Recipe

The authors developed a two-stage adaptation strategy for popular open-source foundations, including Llama 2, Llama 3, Mistral, and Gemma:

  1. Continual Pre-training: Base models were further trained on a massive corpus of ~40 billion Romanian tokens from the CulturaX dataset. This stage allows the model to internalize the statistical patterns, syntax, and vocabulary of Romanian. Experiments with sequence lengths up to 2048 tokens indicated that longer contexts generally improved downstream performance.
  2. Instruction Fine-Tuning: To transform these models into useful assistants, the team translated approximately 2.7 million instructions and conversations from English sources (such as Alpaca, Orca, and UltraChat). They also employed Direct Preference Optimization (DPO) to refine the models based on human-preferred responses, significantly improving the "naturalness" and conversational flow of the output.

Evaluation Framework

The models were evaluated using a combination of standard academic benchmarks and novel cultural tests:

  • Standard Benchmarks: Romanian translations of ARC, MMLU, and GSM8k.
  • RoCulturaBench: A new, manually crafted benchmark of 100 prompts across 10 domains (history, geography, sports, etc.) designed to test specific knowledge of Romanian culture.
  • MT-Bench (Romanian): A manually translated version of the popular multi-turn conversation benchmark.

Key Results and Performance

The OpenLLM-Ro models established new state-of-the-art (SOTA) benchmarks for the Romanian language. As shown in the performance summary below, the adapted models consistently outperformed their base counterparts and other multilingual competitors.

Table 1: Performance of OpenLLM-Ro models across various academic benchmarks compared to base models and other multilingual LLMs.

Academic and Cultural Grounding

The RoLlama3.1-8b-Instruct model achieved a leading average score of 53.03 across academic benchmarks, a substantial leap from the base Llama 3.1 score of 37.29. On the RoCulturaBench, the Romanian-tuned models demonstrated superior factual accuracy regarding local history and geography, whereas vanilla English models frequently hallucinated or provided generic, non-specific answers.

Language Consistency and Conversational Ability

A critical challenge for multilingual models is "language drift," where a model prompted in Romanian responds in English. The OpenLLM-Ro recipe effectively "unlocked" the models' ability to stay in-language. While the base Llama-2-chat model provided correct language responses in only 21 out of 160 cases, the tuned RoLLMs achieved a perfect 160/160 consistency rate.

Table 2: MT-Bench results and language consistency metrics, showing the significant improvement in Romanian response rates for tuned models.

Key Insights

  • Quality Over Quantity: Increasing Romanian pre-training data from 10% to 20% of the corpus occasionally degraded performance. This suggests that for low-resource languages, rigorous data cleaning and high-quality text are more vital than raw volume.
  • The Power of DPO: Direct Preference Optimization was essential for reducing the "rigidity" of responses. DPO-aligned models felt more conversational and human-like compared to standard instruction-tuned versions, which often produced dry or repetitive text.

Limitations and Future Work

Despite these advancements, several hurdles remain. Because the instruction data was largely translated from English, some subtle Romanian-specific idioms may be missing. Additionally, while single-turn performance is strong, there is a slight performance degradation in multi-turn conversations (as seen in the "2nd turn" scores of MT-Bench).

Future research will focus on building robust safety and moderation safeguards for Romanian content and scaling the current recipe to larger model architectures (e.g., 70B+ parameters) to further push the boundaries of Romanian AI capabilities.

Summary updated

BibTeX
@inproceedings{masala2024vorbesti,
  author = {Mihai Masala and Denis C. Ilie-Ablachim and Alexandru Dima and Dragos-Georgian Corlatescu and Miruna-Andreea 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