arXiv(opens in a new tab)cs.CLSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.05043

EuroAlpaca: Task-Preserving Localisation of Instruction Data for European Languages

Aleix Sant, Jordi Luque, Carlos Escolano

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Machine translation (MT) offers a scalable way to extend English instruction-tuning data to multiple languages, but it can distort task-critical constraints and required outputs, creating corrupted training examples and degrading models trained on such data. We introduce EUROALPACA, a task-preserving localisation pipeline and near-parallel resource covering 50 European languages and regional varieties, together with EUROPEAN-IFEVAL, a multilingual benchmark for verifiable instruction following. Depending on the example, our pipeline applies field-wise MT while preserving task-critical content or reconstructs a task-equivalent target-language instance, followed by validation of cross-field coherence and target-language consistency. Across LoRA experiments with four LLMs, training on directly translated data improves ROUGE-L and FBERT on the Aya Evaluation Suite, but reduces accuracy on EUROPEAN-IFEVAL by 29.8% relative to the unadapted baseline. In contrast, adaptation with EUROALPACA improves accuracy by 12.9% over the same baseline, reversing the degradation caused by direct MT, while also achieving the highest ROUGE-L and FBERT scores on Aya. These results show that preserving task semantics is essential for multilingual instruction tuning.

1 Introduction

Instruction tuning enables language models to follow diverse natural-language requests and generalise to unseen tasks (Wei et al., 2022; Ouyang et al., 2022). However, open instruction-tuning resources remain predominantly English-centric. These corpora encompass heterogeneous tasks, including question answering, summarisation, classification, reasoning, rewriting, constrained generation and code-related tasks. A common scalable strategy for extending them to new languages is to machine-translate English instruction datasets, in-

cluding the textual fields of each instruction–input–output record (Upadhayay and Behzadan, 2023; Singh et al., 2024; Chen et al., 2024a; Shaham et al., 2024). Although scalable, this strategy conflates preserving sentence meaning with preserving the task encoded by the complete example (Roy et al., 2021).

The distinction matters when a task depends on linguistic form or on the role of a particular field. Previous work has shown that translated instruction data can corrupt language-dependent tasks such as grammatical-error correction, phonological constraints and examples containing code or language-specific knowledge (Chen et al., 2024b; Li et al., 2024). For example, translating an intentionally ungrammatical sentence may silently correct the error that the model is expected to identify. Similarly, constraints involving word length, rhyme, alliteration or acronym formation are not generally invariant under MT, because they depend on the linguistic form of the target-language expression. Translating classification labels, source code, URLs, paths or required output strings can likewise make an otherwise fluent example inconsistent. In such cases, we use the term task-preserving localisation to mean constructing a target-language instruction–input–output triple that preserves the underlying task, its explicit constraints, its difficulty and the answer relation, even when its surface form is not a literal translation.

In line with Skadins et al., 2014, we argue that task preservation is a central requirement for synthetic instruction data adaptation in new and low-resource languages. Fluency alone is insufficient. Translated supervision may appear natural while weakening a model's ability to satisfy verifiable instructions. We therefore formulate multilingual instruction-data generation as a structured decision process rather than uniform machine translation. Each example is treated as a structured instruction-following instance, and LLM-based judge modules determine whether it is suitable for direct translation, which fields must be preserved, and when task-level rewriting is required.

Starting from the 51,760 examples in Alpaca Cleaned¹, we build EUROALPACA. Our proposed data processing pipeline (i) annotates the task and domain, (ii) decides whether the sample can be machine-translated, (iii) judges which fields must remain unchanged, (iv) translates or rewrites the example for a target language ℓ\ell, and (v) validates the complete target-language triple for coherence and language consistency. The resulting resource is near-parallel, i.e. examples remain aligned by source identifier and task intent, but language-dependent content may differ when literal equivalence would break the task. This makes task-preserving localisation a constrained NLG problem rather than a purely translation-based one, since some target-language content must be adapted or reconstructed to preserve the task.

We evaluate the usefulness of EUROALPACA, our localised version of the Alpaca Cleaned instruction dataset, by language-specific fine-tuning across four contemporary, state-of-the-art small-sized language models. By leveraging the Aya Evaluation Suite alongside our newly curated EUROPEAN-IFEVAL benchmark, we provide a comprehensive analysis of 50 European languages, which reveals an evaluation mismatch. Direct MT improves reference similarity but substantially reduces instruction-following accuracy. In contrast, models trained with EUROALPACA consistently improve both, supporting our assumption that multilingual instruction data should preserve task function rather than only target-language fluency and sentence meaning. Our contributions are:

  • An LLM-guided pipeline for task-preserving multilingual instruction-data generation.
  • EUROALPACA, a source-aligned, near-parallel resource covering English and 50 European languages and regional varieties.
  • EUROPEAN-IFEVAL, a normalised multilingual instruction-following benchmark collection with explicit source provenance across the same language set.
  • Controlled language-specific experiments across four instruction-tuned models.
  • Matched comparisons with multilingual instruction datasets, including Bactrian-X, Okapi and MITS.

References (25)