Introduction
The MESINESP task presents a significant challenge in Extreme Multi-label Classification (XML), requiring the assignment of descriptors from the DeCS (Descriptors in Health Sciences) vocabulary to Spanish medical abstracts. With over 34,000 possible terms and a high degree of label sparsity, traditional classification methods often struggle. Researchers from Priberam Labs developed a multi-faceted approach combining statistical models, search-based retrieval, and novel neural architectures to address these complexities, ultimately securing 2nd place among competing teams.
Methods and Architectures
The team explored four primary strategies to handle the scale and language requirements of the task:
- Support Vector Machines (SVM): A classic one-vs-rest approach using TF-IDF features. To maintain computational feasibility, the team only considered labels appearing at least 20 times in the training set.
- Priberam Search: A proprietary search engine based on the Okapi-BM25 algorithm. This treats classification as a retrieval problem, using a k-nearest neighbors (k-NN) approach to "borrow" tags from similar indexed articles.
- XML BERT Classifier: Utilizing BETO (a Spanish-pretrained BERT), the team performed additional in-domain pretraining on medical corpora. They extended the base model with specialized heads, including a Label Attention mechanism.
- BERT-GRU: A recurrent approach that predicts labels sequentially. The authors found that predicting labels in ascending order of frequency (starting with the rarest) performed best when using a "Bag of Labels" loss. This suggests that modeling the dependencies between labels helps the network navigate the massive label space.
- SVM-rank Ensemble: A final ranking algorithm aggregated scores from all models to leverage the high recall of the SVM and the high precision of the neural models.
Key Results
The ensemble approach proved most effective, significantly boosting precision compared to individual models. The team achieved a Micro-F1 score of 0.4093 on the test set.
| Model | Micro-Precision (µP) | Micro-Recall (µR) | Micro-F1 (µF1) |
|---|---|---|---|
| SVM | 0.4183 | 0.3789 | 0.3976 |
| BERT-GRU (BOLL) | 0.4293 | 0.3314 | 0.3740 |
| SVM-rank Ensemble | 0.5336 | 0.3320 | 0.4093 |
Discussion and Conclusion
Key insights from the study highlight that in-domain transfer learning is essential for medical NLP in non-English languages. While neural models provided high precision, the statistical SVM baseline remained remarkably robust in terms of recall.
A noted limitation was the performance drop between internal validation and official test sets, likely due to a mismatch in annotation methods between the large-scale training data and the manually curated gold-standard sets. Future work will focus on better exploiting the hierarchical nature of the DeCS codes to ensure consistency across parent and child categories.
Summary updated