PRAM: An End-to-end Prototype-based Representation Alignment Model for Zero-resource Cross-lingual Named Entity Recognition

Yucheng Huang, Wenqiang Liu, Xianli Zhang, Jun Lang, Tieliang Gong, Chen Li

Abstract

Zero-resource Cross-lingual Named Entity Recognition (ZRCL-NER) aims to adapt models from resource-rich source languages to unlabeled target languages. We present PRAM (Prototype-based Representation Alignment Model), an end-to-end framework that utilizes category prototypes as anchors to align representations and predictions. Central to PRAM is the Attribution-Prediction Consistency (APC) objective, which minimizes the divergence between classifier outputs and prototype-based similarity scores. Experimental results on benchmarks like WikiAnn demonstrate that PRAM achieves state-of-the-art performance, particularly for linguistically distant language pairs, without the heavy computational overhead of translation-based methods.

Introduction

Named Entity Recognition (NER) is a foundational NLP task, but training deep learning models typically requires massive amounts of labeled data. For the vast majority of the world's languages, such data is unavailable, leading to the "Zero-resource Cross-lingual NER" (ZRCL-NER) challenge. The goal is to train a model on a "rich" language (e.g., English) and transfer its capabilities to a "zero-resource" target language (e.g., Hindi or Arabic) without target-language labels.

Existing solutions generally follow two approaches: data transfer via machine translation, which is slow and computationally expensive, or representation transfer using multilingual pre-trained models (mPLMs). While faster, mPLMs often suffer from an alignment gap where entity types are not consistently represented across different scripts and grammars, failing to align specific entity types across different linguistic structures.

Methodology

PRAM addresses these issues by building upon an mPLM with a novel training objective: Attribution-Prediction Consistency (APC).

The PRAM framework and Attribution-Prediction Consistency (APC) mechanism.

The core components of the model include:

  • Prototypes as Anchors: For each entity class (e.g., Person, Location, Organization), the model calculates a "prototype"—the average vector representation (centroid) of all tokens belonging to that class in the source language. These act as universal landmarks in the high-dimensional space.
  • Dual Distribution Alignment: For any given token, the model computes two probability distributions: a Prediction Distribution (the standard classifier output) and an Attribution Distribution (a similarity score between the token’s vector and the class prototypes).
  • Consistency Loss: The APC loss minimizes the Jensen-Shannon (JS) divergence between these two distributions. This forces the model's predictions to be consistent with its representation's proximity to prototypes, effectively "pulling" target-language entities toward the correct source-language anchors.

Experimental Setup

The researchers evaluated PRAM on three major benchmarks:

  • CoNLL-2002: Spanish (es) and Dutch (nl).
  • CoNLL-2003: English (en) and German (de).
  • WikiAnn: English served as the source, with Arabic (ar), Hindi (hi), and Chinese (zh) as target languages. These are particularly challenging due to different language families and scripts.

Results and Discussion

PRAM demonstrates significant improvements over existing methods. On the WikiAnn dataset, it achieved a 3.92% absolute improvement in F1-score over the previous state-of-the-art (MTMT). In multi-source settings, PRAM outperformed the BERT-f baseline by 4.61% and the previous best teacher-student model (TSL) by 3.88%.

Performance comparison of different training objectives across language pairs.

The effectiveness of the APC objective is highlighted by its ability to act as a form of self-supervision in target languages. By ensuring that a token's representation moves closer to the correct prototype when the classifier identifies it as a specific entity, PRAM bridges the linguistic gap. This is particularly evident in linguistically distant pairs, where prototype-based alignment proves more robust than traditional methods. Qualitative analysis via t-SNE visualizations further confirmed that PRAM produces much tighter, more distinct clusters of entities across languages compared to standard mBERT fine-tuning.

Limitations

Despite its success, PRAM remains dependent on the underlying cross-lingual capabilities of the mPLM. Performance may degrade for languages not included in the mPLM's original pre-training. Additionally, maintaining stable prototypes in multi-source settings requires large batch sizes, which can lead to high GPU memory requirements.

Conclusion

PRAM introduces an efficient, end-to-end approach for zero-resource cross-lingual NER. By leveraging category prototypes and the APC objective, it achieves state-of-the-art results while avoiding the costs of translation-based data augmentation. Future directions include exploring more space-efficient ways to handle multi-source prototypes to reduce hardware requirements.

Summary updated

BibTeX
@inproceedings{huang2023pram,
  author = {Yucheng Huang and Wenqiang Liu and Xianli Zhang and Jun Lang and Tieliang Gong and Chen Li},
  title = {{PRAM: An End-to-end Prototype-based Representation Alignment Model for Zero-resource Cross-lingual Named Entity Recognition}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.201},
}
Figure