Few-Shot and Zero-Shot Multi-Label Learning for Structured Label Spaces

Anthony Rios, Ramakanth KavuluruEMNLP 2018

Introduction: The Challenge of the Long Tail

Large-scale multi-label text classification (MLTC) is a critical task in domains like healthcare, where clinical notes must be mapped to thousands of potential ICD-9 diagnostic codes. This task faces two primary challenges. First, documents can be extremely long, while the evidence for a specific label may be buried in a single sentence—a "needle in a haystack" problem. Second, label distributions typically follow a power law, or "long tail."

The long-tail distribution of ICD-9 labels in the MIMIC-III dataset, highlighting the prevalence of rare and unseen codes.

As shown in Figure 1, while a small subset of labels appears frequently, the vast majority occur rarely (few-shot) or not at all (zero-shot) in the training data. Standard supervised models struggle to learn robust representations for these tail labels due to the lack of training examples.

Methodology: The ZAGCNN Architecture

To address these challenges, this paper introduces the Zero-shot Attentive GCNN (ZAGCNN). The model leverages "side information"—specifically natural language label descriptors and hierarchical relationships—to bridge the gap for infrequent labels.

The ZAGCNN architecture, combining label-wise attention with a 2-layer Graph Convolutional Neural Network to leverage label hierarchies and descriptors.

The architecture, detailed in Figure 2, consists of four primary components:

  1. Label Representations: Initial vector representations are generated by averaging word embeddings of the label's natural language description (e.g., "Seborrheic dermatitis"). This maps labels and document text into a shared semantic space.
  2. Label-Wise Attention: Instead of a global document summary, the model uses each label's vector to "probe" the document for relevant n-grams. This creates a custom document representation tailored to every potential code.
  3. Graph Convolutional Neural Networks (GCNN): A 2-layer GCNN processes the label hierarchy (e.g., the ICD-9 taxonomy). This allows labels to "borrow" information from related nodes, enabling the model to estimate the behavior of unseen labels based on their parents or children.
  4. Matching Layer: The final prediction is based on a compatibility score between the label-specific document representation and the GCNN-refined label vector.

Experimental Setup

The model was evaluated on the MIMIC-II and MIMIC-III datasets. Labels were categorized into three evaluation groups:

  • Frequent (S): Labels with more than 5 training examples.
  • Few-Shot (F): Labels with 1 to 5 training examples.
  • Zero-Shot (Z): Labels with 0 training examples.

Results and Discussion

The ZAGCNN model demonstrates significant performance gains on the difficult "tail" labels compared to previous state-of-the-art methods like Attentive CNN (ACNN).

On the MIMIC-III dataset, ZAGCNN achieved a Recall@10 improvement of 4.8% for few-shot labels and a dramatic 19% improvement for zero-shot labels over existing benchmarks. Similar trends were observed in MIMIC-II, with gains of 6.2% (few-shot) and 17.3% (zero-shot).

These results suggest that structure is a powerful substitute for data. By using GCNNs to smooth the label space, knowledge flows from data-rich frequent labels to data-poor rare ones. Furthermore, using textual descriptors allows the model to perform a form of semantic search, making zero-shot prediction viable.

While ZAGCNN excels at the tail, there is a slight trade-off: models optimized purely for frequent labels still maintain a small edge on those specific codes. Future work may involve "novelty detection" to help the system decide when to rely on zero-shot logic versus standard supervised pathways, or incorporating broader external knowledge from sources like PubMed.

Summary updated

BibTeX
@inproceedings{rios2018few,
  author = {Anthony Rios and Ramakanth Kavuluru},
  title = {{Few-Shot and Zero-Shot Multi-Label Learning for Structured Label Spaces}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  doi = {10.18653/v1/d18-1352},
}
Figure