Zero-Shot and Few-Shot Classification of Biomedical Articles in Context of the COVID-19 Pandemic

Simon Lupart, Benoît Favre, Vassilina Nikoulina, Salah Ait-Mokhtar

Abstract

The rapid emergence of the COVID-19 pandemic necessitated efficient indexing of vast amounts of scientific literature. Traditional classification methods struggle with "long-tail" labels and emerging concepts that lack extensive training data. This paper presents a multi-task learning (MTL) framework that leverages the hierarchical structure of Medical Subject Headings (MeSH). By training a model to simultaneously classify articles and predict a term's "Tree Number" within the MeSH hierarchy, the researchers improved the model's semantic intuition, enabling better performance on rare and zero-shot labels.

Introduction: The Challenge of the Medical Long Tail

Indexing biomedical literature is a monumental task involving the Medical Subject Headings (MeSH) thesaurus, which contains over 30,000 terms. Two primary challenges hinder automated indexing:

  1. The Long Tail: A significant portion of MeSH terms appear very rarely. In the datasets studied, nearly 3,000 terms appeared only once in the training set, making it difficult for standard models to learn their characteristics through repetition alone.
  2. Emerging Concepts: New health crises like COVID-19 introduce terms without historical labeled data. Effective indexing requires "Zero-Shot" learners—models capable of assigning labels they have never encountered by understanding the label's semantic context and its position within the broader medical taxonomy.

Standard classifiers often treat labels as simple ID numbers. This research argues that labels should instead be treated as rich semantic objects with specific "addresses" in a giant map of medical knowledge.

Methodology: Multi-Task Learning with Hierarchy

The proposed architecture builds on BioBERT, a version of BERT pre-trained on millions of PubMed articles. Moving away from standard "N-way" classification, the authors adopt an "Open Input" approach: the model processes both the document abstract and a candidate MeSH term (including its description) to output a matching score.

The core innovation is the Multi-Task Learning (MTL) framework, which utilizes two distinct tasks to train the model:

  • Task 1 (Classification): A binary task determining if a specific MeSH term describes a given abstract.
  • Task 2 (Hierarchy Generation): A secondary GRU-based decoder is tasked with generating the "Tree Number" of the MeSH term.
The Multi-Task Learning architecture combines matching-based classification with a tree number generator to encode hierarchical knowledge.

In the MeSH system, every term has a coordinate (e.g., Infections is C01, while COVID-19 is C01.748.214). By forcing the model to generate these strings, the researchers "bake" the hierarchical structure of medical knowledge directly into the model's internal representations, effectively using the hierarchy as a regularizer.

Experimental Setup and Datasets

The researchers utilized two primary datasets for evaluation:

  • MedLine/MeSH: A massive dataset of biomedical abstracts. The study focused on a subset of approximately 19,000 documents annotated with over 8,000 distinct MeSH descriptors.
  • LitCovid: A specialized subset of MedLine specifically tracking COVID-19 literature. This served as the primary benchmark for testing how well the model transfers knowledge to a specific, high-stakes, and rapidly evolving domain.

Key Results and Insights

The MTL approach demonstrated superior performance, particularly in the difficult "Siblings" task, where the model must distinguish between very similar terms that share a parent in the hierarchy. The MTL model achieved an F1-score of 0.402, outperforming the standard Single-Task (STL) model's score of 0.390.

A critical finding was the model's improved performance on low-frequency terms. By understanding the hierarchy, the model could "borrow" knowledge from parent or sibling categories to better classify terms with few or no training examples.

F1-score comparison showing that the MTL model generally maintains or improves performance across various occurrence frequencies, particularly in few-shot scenarios.

Furthermore, structural probing revealed that the MTL model's internal vector space more accurately mirrored the actual MeSH tree structure. The "Distance Error" in the hierarchy was reduced from 1.462 to 1.323, confirming that the multi-task objective successfully encoded the taxonomic structure of the medical domain.

Limitations and Future Directions

Despite its success, the "open input" method faces significant scalability hurdles. Because the model must compare an abstract against every possible label, it is computationally expensive to scale to the full 30,000+ MeSH terms in real-time. Future work suggests combining this semantic approach with high-speed retrieval systems (like BM25 or ColBERT) to create a production-ready pipeline.

Additionally, balancing the two tasks during training is complex. The classification task often converges much faster than the hierarchy generation task, requiring careful tuning of loss weights to ensure the model benefits from both objectives.

Conclusion

By integrating hierarchical knowledge through multi-task learning, this research provides a robust framework for indexing emerging scientific literature. The ability to treat medical labels as structured semantic objects significantly enhances the model's performance in zero-shot and few-shot scenarios, providing a vital tool for organizing research during global health emergencies.

Summary updated

BibTeX
@inproceedings{lupart2022zero,
  author = {Simon Lupart and Benoît Favre and Vassilina Nikoulina and Salah Ait-Mokhtar},
  title = {{Zero-Shot and Few-Shot Classification of Biomedical Articles in Context of the COVID-19 Pandemic}},
  booktitle = {SDU @ AAAI},
  year = {2022},
}
Figure