NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Priberam Labs at the NTCIR-15 SHINRA2020-ML: Classification Task

Rúben Cardoso, Afonso Mendes, Andre Lamurias

Introduction

Wikipedia serves as a massive, crowdsourced knowledge base, yet its unstructured nature limits its direct utility for automated AI systems. The SHINRA2020-ML shared task addresses this by categorizing Wikipedia entities across 30 languages into the Extended Named Entity (ENE) ontology—a 4-level hierarchy containing over 200 categories (e.g., Name -> Location -> Geological/Political Entity -> City). This task presents two primary challenges: achieving high performance across diverse languages (including zero-shot capabilities) and navigating a complex multi-label hierarchical taxonomy.

Methodology

The proposed architectures leverage Multilingual BERT (mBERT) as a backbone, processing the initial 511 tokens of each Wikipedia article. To extract features from mBERT's contextualized embeddings, three pooling strategies were evaluated:

  • CLS: Utilizing the standard [CLS] token embedding.
  • Mean: Averaging all 511 token embeddings.
  • Concat (Novel): A specialized strategy that concatenates the [CLS] embedding, individual embeddings of the first 200 tokens, and the average of the remaining 311 tokens.
The novel Concat pooling strategy, which preserves detailed information from the beginning of the article.

These pooled representations are then fed into one of three classification heads:

  1. Linear Classification: A standard layer predicting leaf nodes.
  2. Multi-level Hierarchical: A linear layer trained on an expanded label set including all ancestors, forcing the model to learn the taxonomy structure.
  3. Hierarchical Sequential (GRU): A Gated Recurrent Unit that predicts the four hierarchical levels sequentially, using a masking system to ensure valid taxonomic paths.

Experimental Setup

Models were trained on the SHINRA2020-ML dataset, utilizing 13 high-resource languages (e.g., English, Spanish, Russian, Chinese, Korean) totaling approximately 3.1 million annotated pages. Zero-shot evaluation was conducted on six languages entirely absent from the training set, such as Hindi, Ukrainian, and Vietnamese.

Results and Discussion

The Linear+Concat and GRU+CLS models emerged as the top performers. A key insight was that the beginning of a Wikipedia article contains the most critical classification features; the Linear+Concat strategy successfully capitalized on this by preserving the first 200 token embeddings. However, the high dimensionality of this strategy (~155,000 dimensions) proved difficult for the GRU-based sequential model to process effectively.

Macro F1 performance across training epochs for the Korean (KO) language, showing upward trends for most models.

On the official test set, Micro F1 scores ranged from 0.7545 (Arabic) to 0.8436 (Turkish). Notably, mBERT demonstrated exceptional zero-shot stability, with performance dropping by only 3.7% to 4.8% when moving to unseen languages. As shown in Figure 6, validation scores were still increasing when training was halted due to compute constraints, suggesting that further training would likely improve results.

Conclusion

The study demonstrates that combining mBERT with specialized pooling strategies and hierarchical classification heads provides a robust framework for multilingual Wikipedia entity classification. Future work will focus on scaling sequential models to handle multi-label classification natively and exploring more efficient pooling methods for longer text sequences.

Summary updated

BibTeX
@inproceedings{cardoso2020priberam,
  author = {Rúben Cardoso and Afonso Mendes and Andre Lamurias},
  title = {{Priberam Labs at the NTCIR-15 SHINRA2020-ML: Classification Task}},
  booktitle = {NTCIR},
  year = {2020},
}
Figure