Projecting Heterogeneous Annotations for Named Entity Recognition

Rodrigo Agerri, German Rigau

Abstract

In this work, researchers evaluate the performance of monolingual versus multilingual models for Spanish Named Entity Recognition (NER). While multilingual models like mBERT and XLM-RoBERTa offer broad coverage, they often suffer from capacity dilution in high-resource languages. By training a specialized monolingual Flair model on a massive Spanish corpus and ensembling it with Transformer-based models via a simple majority-vote "projection" technique, the authors achieved state-of-the-art results. Their approach secured first place in the CAPITEL 2020 NER task with a final F1 score of 90.34.

Introduction

Named Entity Recognition (NER) is a fundamental NLP task involving the identification of entities such as persons, locations, and organizations. Recently, the field has shifted toward massive, pre-trained multilingual models (e.g., mBERT, XLM-RoBERTa) that handle over 100 languages. However, this breadth can lead to "parameter interference," where a model's performance on a specific language is compromised to accommodate others. This study addresses whether monolingual models specifically tuned for Spanish still hold an advantage and if ensembling diverse architectures can further enhance performance.

Methods

The researchers compared several architectures to establish a robust baseline:

  1. Flair-Oscar: A character-level LSTM-based model trained on the 157GB OSCAR Spanish corpus.
  2. Transformers: Monolingual BETO (Spanish BERT), and multilingual mBERT and XLM-RoBERTa.

To leverage the strengths of these diverse models, the authors implemented a "projection" method. Unlike cross-lingual label projection, this technique involves merging predictions from multiple local models. They tested various ensemble combinations using a majority-vote heuristic: a token is assigned a label if at least 3 out of 5 selected models agree; otherwise, it is labeled as "O" (Outside).

Results

The evaluation was conducted on the CAPITEL corpus, a dataset of Spanish news articles. The results, summarized in Table 1, show that the monolingual Flair-Oscar (S4) was the strongest individual model on the test set, achieving an F1 score of 89.07. The ensemble approach (P3), combining S3, S4, S6, S7, and S8, provided a significant performance boost, reaching a winning F1 score of 90.34.

Table 1: Performance of individual systems (S1-S8) and ensemble projections (P1-P3) on the Development and Test sets of the CAPITEL corpus.

Discussion and Conclusion

The findings highlight that monolingual models remain superior for high-resource languages like Spanish. Furthermore, the success of the ensemble suggests that architectural diversity (LSTMs vs. Transformers) is beneficial, as different models capture distinct linguistic features. While training massive monolingual models like Flair-Oscar is computationally expensive—requiring a month of GPU time—the resulting performance gains are substantial. Future work may explore more sophisticated ensembling methods and the applicability of these findings to lower-resource languages.

Summary updated

BibTeX
@inproceedings{agerri2020projecting,
  author = {Rodrigo Agerri and German Rigau},
  title = {{Projecting Heterogeneous Annotations for Named Entity Recognition}},
  booktitle = {IberLEF@SEPLN},
  year = {2020},
}
Figure