Abstract
Semantic indexing of biomedical articles is essential for efficient information retrieval but remains a significant challenge due to domain complexity and the "long-tail" distribution of medical vocabularies. This paper presents a hybrid system developed for the 2021 BioASQ MESINESP challenge, which focuses on indexing Spanish medical literature with DeCS (Health Sciences Descriptors). The system, named pi_dna, combines a Spanish-specific BERT model (BETO) for frequent labels with a Named Entity Recognition (NER) and synonym-matching pipeline for rare labels. Our results show that this hybrid approach effectively compensates for the limitations of deep learning models on rare classes, securing second place in the competition.
Introduction
In biomedical research, tagging articles with terms from controlled vocabularies like DeCS or MeSH is crucial. However, manual indexing is a significant bottleneck. Automated systems face three primary hurdles: the density of specialized terminology, the "long-tail" problem where many terms appear rarely in training data, and the relative scarcity of high-quality NLP resources for non-English languages like Spanish. This work addresses these challenges by proposing a robust hybrid architecture tailored for Spanish biomedical text.
System Architecture
The proposed architecture splits the indexing task into two parallel paths based on label frequency to optimize performance across the entire vocabulary.
Frequent Label Prediction
For labels appearing frequently in the training set, the system utilizes BETO, a BERT transformer model pre-trained on Spanish corpora. The task is framed as a Multi-Label Text Classification (MLTC) problem, where the model predicts a set of labels based on the article's title and abstract.
Rare Label Identification
Standard machine learning models often struggle with labels that have few training examples. To address this, the team integrated a Named Entity Recognition (NER) component. Entities identified in the text (such as specific diseases or medications) are matched against the DeCS vocabulary using an exact synonym-matching process. This "safety net" ensures that rare terms explicitly mentioned in the text are not overlooked by the transformer model.
Dataset and Experimental Setup
The study used the MESINESP subtrack 1 dataset from BioASQ 2021, comprising 237,574 training articles and a test set of approximately 10,000 articles. The target vocabulary, DeCS, contains over 34,000 terms. The hybrid logic employed a threshold: if a term appeared fewer than three times in training, the system prioritized the NER/synonym-matching path.
Results
The hybrid pi_dna system significantly outperformed both the baseline and a BERT-only variant (pi_dna_2).
As shown in the results table, the hybrid model achieved a Micro F-Measure (MiF) of 0.4225. Notably, the inclusion of the NER component led to substantial gains in Macro Precision (+0.0401) and Macro Recall (+0.0432) compared to the BERT-only model. These improvements confirm that the NER pipeline successfully captures rare classes that the transformer model fails to learn effectively. The system ultimately ranked second among all participating teams.
Discussion and Conclusion
The success of the pi_dna system highlights several key insights. First, domain-specific pre-training (BETO) provides a superior foundation compared to general multilingual models. Second, a hybrid approach is essential for handling the "long-tail" distribution inherent in medical indexing. While transformers excel at frequent patterns, NER-based synonym matching provides critical coverage for rare but important descriptors.
Future work will focus on improving the synonym-matching step by integrating DeCS synonyms directly into the NER training process and optimizing the frequency threshold for rare terms to further enhance recall. This framework holds promise for application in other specialized domains and non-English languages.
Summary updated