Massively Multilingual Transfer for NER

Afshin Rahimi, Yuan Li, Trevor Cohn

Introduction

Supervised learning for Natural Language Processing (NLP) often benefits high-resource languages like English while leaving low-resource languages behind. Cross-lingual transfer learning attempts to bridge this gap by training models on a high-resource "source" language and applying them to a "target" language. However, traditional approaches often rely on only one or two source languages. Scaling this to dozens of source languages—a "massively multilingual" setting—introduces a significant noise problem. While a Spanish model might transfer well to Italian, a Japanese model might act as a "spammer," providing incorrect labels that drown out useful signals. Standard techniques like majority voting often fail in this environment because unreliable voters can easily outnumber reliable ones.

Methods for Robust Transfer

The authors introduce two primary strategies to manage the noise inherent in massive transfer:

1. Bayesian Entity Aggregation (BEA)

BEA is an unsupervised, zero-shot method inspired by crowdsourcing aggregation techniques like the Dawid-Skene model. It treats each source language model as an unreliable annotator and uses a Bayesian graphical model to estimate a confusion matrix for each source.

The Bayesian graphical model for BEA, which estimates source reliability by treating models as noisy annotators.

The core intuition is that while "bad" models make diverse mistakes, "good" models are consistently correct. By identifying consistency across the "crowd," BEA learns which sources to trust for specific entity types—for instance, recognizing that a specific model might be reliable for locations but not for person names.

2. Ranking and Retraining (RaRe)

For scenarios where a small amount of data (e.g., 100 sentences) is available, the authors propose RaRe. This few-shot method first ranks source models based on their performance on the small gold set. It then distills knowledge from the top-ranked models into a new target-language model using a large unannotated corpus. Finally, the model is fine-tuned on the gold sentences to capture language-specific nuances.

Key Insights

  • Script Similarity Over Language Family: A significant finding is that script similarity (e.g., both languages using Cyrillic) often predicts transfer quality better than language family. For example, Slavic languages in Latin script transfer poorly to those in Cyrillic.
  • The Failure of Democracy: Simple majority voting (MV) is often ineffective because most source languages are "distant" from the target, making the majority of models wrong. BEA succeeds by weighting votes based on inferred reliability rather than simple counts.
  • Entity-Level Granularity: Aggregating at the token level can result in "illegal" tag sequences (e.g., an "Inside-Organization" tag following a "Person" tag). Aggregating at the entity span level—treating a multi-word name as a single unit—significantly improves consistency.

Results and Performance

The proposed methods were evaluated on the WikiAnn corpus (41 languages) and the CoNLL 2002/2003 benchmarks.

F1 performance across 41 languages compared against annotation requirements, highlighting the effectiveness of BEA and RaRe.

The unsupervised BEA model significantly outperformed majority voting, often matching the performance of an "Oracle" model that knows the single best source language in advance. On CoNLL datasets, RaRe outperformed previous state-of-the-art unsupervised methods like BWET, demonstrating that massive transfer is more robust than transferring from English alone. Furthermore, BEA is "black-box" compatible, requiring only the predictions of source models rather than their internal weights, making it highly practical for real-world deployment.

Conclusion

This work demonstrates that "massively multilingual" transfer is a viable path for low-resource NER, provided that the noise from distant sources is managed effectively. While challenges remain—such as the requirement for 100 sentences in few-shot settings and sensitivity to hyperparameters—the Bayesian approach offers a robust framework for aggregating cross-lingual knowledge without target-language labels.

Summary updated

BibTeX
@inproceedings{rahimi2019massively,
  author = {Afshin Rahimi and Yuan Li and Trevor Cohn},
  title = {{Massively Multilingual Transfer for NER}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1015},
}
Figure