A Dual-Contrastive Framework for Low-Resource Cross-Lingual Named Entity Recognition

Yingwen Fu, Nankai Lin, Ziyu Yang, Shengyi JiangarXiv 2022 · DOI

Introduction

Named Entity Recognition (NER) is a fundamental NLP task involving the identification of entities like names, locations, and organizations. However, NER models are typically "data-hungry," requiring extensive labeled datasets. Cross-lingual NER attempts to mitigate this by transferring knowledge from high-resource languages (e.g., English) to low-resource ones. Yet, many specialized domains (medical, legal) lack abundant labels even in high-resource languages.

The ConCNER framework addresses this "alignment gap." It is designed for scenarios where labeled data is scarce in both source and target languages, utilizing dual-level contrastive learning and knowledge distillation to effectively bridge linguistic divides.

Methodology

ConCNER leverages three primary components to maximize the utility of limited labeled samples:

Dual-Contrastive Learning

The core of the framework lies in two contrastive objectives that align representations across languages:

  1. Translation Contrastive Learning (TCL): Operating at the sentence level, TCL forces the model to produce similar vector representations for an original sentence and its machine-translated version. This aligns the global context across the language pair.
  2. Label Contrastive Learning (LCL): Operating at the token level, LCL ensures that tokens with the same entity label (e.g., "Person") are clustered together in the embedding space, regardless of the language. This helps the model ignore translation noise and focus on language-independent features.
The dual-contrastive learning architecture showing token-level (LCL) and sentence-level (TCL) alignment.

Knowledge Distillation

To further adapt to the target language's nuances, ConCNER employs a teacher-student paradigm. A "Teacher" model, trained with the contrastive objectives, generates "soft labels" for a large unlabeled target-language corpus. A "Student" model is then trained on these predictions, facilitating better fit for the target language's specific linguistic patterns.

The knowledge distillation process where a Teacher model guides a Student model using unlabeled target-language data.

Experimental Setup

The researchers evaluated ConCNER using mBERT as the backbone encoder across several benchmarks:

  • CoNLL-2002/2003: English (en), German (de), Dutch (nl), and Spanish (es).
  • WikiAnn: Arabic (ar), Hindi (hi), and Chinese (zh).
  • Low-Resource Simulation: Training sets were restricted to 500, 1,000, and 2,000 English samples to test performance under extreme data scarcity.

Results and Key Insights

ConCNER consistently outperformed state-of-the-art baselines like MulDA across all tested languages:

  • Efficiency: With only 500 source samples, ConCNER achieved an average F1-score of 60.77%, surpassing baselines trained on twice as much data.
  • Scaling: At 2,000 samples, the average F1 reached 64.94%.
  • Ablation Study: Removing knowledge distillation led to a 2.85% drop in F1, highlighting its necessity for target-language adaptation.

The Translation Paradox

The study confirms that simple data augmentation via translation is insufficient. Without explicit alignment objectives like TCL and LCL, models often treat translated data as noise. ConCNER's dual-level alignment creates a robust, language-agnostic vector space, where LCL effectively "filters" translation errors by pulling representations toward correct entity clusters.

Conclusion and Future Work

While ConCNER significantly improves low-resource cross-lingual NER, it currently treats labels as independent units, ignoring sequential dependencies (e.g., I-PER following B-PER). Future work will explore integrating these label dependencies directly into the contrastive objectives and reducing reliance on high-quality machine translation for extremely low-resource pairs.

Summary updated

BibTeX
@misc{fu2022dual,
  author = {Yingwen Fu and Nankai Lin and Ziyu Yang and Shengyi Jiang},
  title = {{A Dual-Contrastive Framework for Low-Resource Cross-Lingual Named Entity Recognition}},
  year = {2022},
  eprint = {2204.00796},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.00796},
}
Figure