Abstract
Cross-lingual transfer via "translate-train" is a standard approach for low-resource NLP, but projecting span-level labels (e.g., entities, answers) remains a significant challenge. Traditional word-alignment methods are often brittle and prone to error propagation. This paper introduces EasyProject, a simple yet highly effective "mark-then-translate" approach. By wrapping labels in square brackets before machine translation and applying lightweight fine-tuning, EasyProject consistently outperforms state-of-the-art alignment methods across 57 languages and multiple tasks, including NER, QA, and Event Extraction.
Introduction
Building NLP systems for low-resource languages often relies on translating labeled English data into the target language. However, for tasks requiring precise text spans—such as Named Entity Recognition (NER), Question Answering (QA), or Event Extraction—researchers face a "label projection" problem: determining exactly where a source label (e.g., "Apple" as an organization) should reside in the target translation.
Traditionally, this was solved using word alignment to map words between languages. However, alignment is a brittle, multi-step process. If the translation is slightly off or the alignment tool misses a word, the resulting training data becomes noisy and ineffective. This paper argues that the bottleneck in cross-lingual transfer is not the translation itself, but the alignment process.
Methodology
The authors propose a "mark-then-translate" paradigm. Instead of aligning words after translation, special markers are inserted around labeled spans in the source text (e.g., [Apple] is a company) before it is sent to the Machine Translation (MT) system. The MT system then naturally carries these markers into the target language.
EasyProject optimizes this process through three key innovations:
- Optimal Choice of Markers: Research found that square brackets
[]are superior to XML tags or quotation marks. They are language-agnostic and minimize subword tokenization, which preserves translation quality. - Lightweight MT Fine-tuning: The authors fine-tuned the NLLB (No Language Left Behind) model for just 200 steps on synthetic data. This teaches the model to treat brackets as pass-through characters, boosting the "projection rate" (the percentage of markers surviving translation) from 70% to over 96%.
- Fuzzy String Matching: To handle cases where word order changes during translation, a fuzzy matching algorithm pairs translated source spans with the bracketed slots in the target sentence.
Experimental Setup
The study evaluates EasyProject across an impressively broad scope of 57 languages, including 18 African languages. The method was tested on five major datasets:
- WikiANN & MasakhaNER 2.0: For Named Entity Recognition.
- ACE05: For complex Event Extraction (entities, relations, and triggers).
- TyDiQA-GoldP: For multilingual Question Answering.
- CoNLL-2002/2003: For benchmarking against previous methods.
Results and Discussion
EasyProject consistently outperformed the state-of-the-art "Awesome-align" method on nearly every task. On the WikiANN NER dataset, it achieved an average F1 gain of +4.1 over the zero-shot baseline.
Key insights from the results include:
- Boundary Preservation: Marker-based projection is significantly better at maintaining exact label boundaries. Alignment methods often suffer from "partial alignments," where only part of a multi-word entity is projected.
- Script Robustness: The method is particularly powerful for languages with distinct scripts (like Japanese, Chinese, and Thai) where traditional word alignment often fails. For example, Japanese NER saw a staggering +25.5 F1 increase compared to standard zero-shot transfer.
- Efficiency: Despite the addition of markers, translation speed only slowed by approximately 1.3x, making it a practical solution for generating large-scale synthetic training sets.
Conclusion
EasyProject demonstrates that the most effective way to project labels across languages is often the simplest. By leveraging the internal capabilities of modern MT systems to handle markers, researchers can bypass the errors inherent in traditional word alignment. While inserting markers slightly degrades translation quality (BLEU), the massive gains in label accuracy and boundary preservation far outweigh this cost. Future work will explore the robustness of emerging Large Language Models (LLMs) in handling similar structured text tasks.
Summary updated