Abstract
Named Entity Recognition (NER) is a critical component of natural language processing, yet its effectiveness is often limited by the scarcity of labeled training data in low-resource languages. This paper presents Constrained Labeled Data Generation (CLDG), a novel framework that leverages pretrained transformer language models and constrained beam search to synthesize high-quality training data. By enforcing translated named entities as hard constraints while allowing the model to generate fluent surrounding context, CLDG bridges the gap between simple dictionary translation and high-quality human annotation. Our experiments demonstrate that CLDG achieves state-of-the-art performance on diverse low-resource languages, particularly those linguistically distant from English.
Introduction
The primary bottleneck in developing robust NER systems for the world's 7,000+ languages is the lack of annotated corpora. Traditional cross-lingual transfer methods, such as parallel projection, require parallel corpora that are rarely available for truly low-resource settings. Alternatively, "cheap translation"—word-for-word dictionary translation—often produces ungrammatical sentences that fail to capture the syntactic nuances of the target language, leading to poor model performance.
The fundamental challenge lies in generating training data that is both accurately labeled and grammatically coherent. CLDG addresses this by treating the task as a constrained generation problem, where a language model acts as the "grammatical glue" to connect translated entities into natural sentences.
The CLDG Framework
The CLDG pipeline consists of three primary stages designed to transform high-resource English data into high-quality target-language training sets:
- Dictionary-Based Entity Translation: Entities from English NER datasets are translated word-by-word into the target language using available bilingual dictionaries.
- Target Language Modeling: A transformer-based model (e.g., BART or T5) is pretrained on unlabeled text from the target language (such as Wikipedia) to learn its syntax and structure.
- Constrained Generation: Using an enhanced Grid Beam Search (GBS), the model generates sentences in the target language. The translated entities are treated as hard constraints that must appear in the output, while the model "fills in the blanks" to ensure grammatical fluency.
To mitigate label noise, the framework includes a "naive NER predictor" during the generation phase to identify and label any additional entities the model might spontaneously generate.
Experimental Results
The authors evaluated CLDG on the CoNLL 2002/2003 benchmarks and the LORELEI project, which includes linguistically diverse languages such as Akan, Arabic, Turkish, Wolof, Yoruba, and Uzbek.
CLDG consistently outperformed existing state-of-the-art methods in low-resource scenarios. Notably, in Yoruba, the method achieved a 12.86-point F1 improvement over zero-shot baselines. The framework proved particularly effective for languages with word orders significantly different from English (e.g., SOV languages like Turkish and Uzbek), where simple word-level translation typically fails.
Furthermore, CLDG's performance was found to be competitive with systems utilizing proprietary translation engines like Google Translate, despite relying only on bilingual dictionaries and unlabeled text.
Discussion and Limitations
A key insight of this work is the ability of language models to resolve translation ambiguities. When a dictionary provides multiple candidates for a word, the beam search allows the model to select the translation that best fits the generated context.
However, the method is not without limitations. It remains dependent on the quality of the underlying bilingual dictionary. Additionally, there is a "noise ceiling"; generating more than 3-4 times the original source data volume tends to introduce enough synthetic noise to degrade performance. Future research may focus on more selective sentence sampling to further refine the quality of hallucinated data.
Conclusion
CLDG represents a significant step forward for low-resource NLP. By combining the strengths of pretrained language models with the precision of constrained decoding, it provides a scalable way to generate high-quality labeled data without the need for expensive human annotation or rare parallel corpora.
Summary updated