TL;DR
This paper introduces MICOL, a novel zero-shot learning framework for large-scale multi-label text classification (LMTC). MICOL leverages document metadata (like authors and venues) to create similar document pairs for contrastive learning, bypassing the need for expensive human-annotated data. This approach significantly outperforms existing zero-shot methods and even rivals supervised methods, particularly excelling at identifying less frequent labels.
What Problem Does This Paper Address?
Large-scale multi-label text classification (LMTC) involves assigning multiple relevant labels to a document from a vast pool of potential labels. Traditional methods heavily rely on massive amounts of human-annotated training data. This presents two major challenges:
- Cost and Scalability: Acquiring such extensive labeled datasets is expensive and time-consuming, especially as the number of labels grows.
- Long-Tail Distribution: Real-world datasets often exhibit a "long-tail" distribution, where a few labels are very common, but many others are extremely rare. Supervised models tend to perform poorly on these infrequent "tail" labels.
Furthermore, supervised models struggle with new, emerging labels that weren't present in the training data, requiring costly retraining. This paper tackles LMTC in a zero-shot setting, meaning it aims to classify documents into labels that were not seen during training, using only the label names and descriptions as guidance.
Methods
The core innovation is the Metadata-Induced Contrastive Learning (MICOL) framework. MICOL operates in two stages:
- Retrieval Stage: A fast, initial step to narrow down the vast label space. This is done using simple methods like exact keyword matching and sparse retrieval (BM25) between document text and label names/descriptions.
- Re-ranking Stage: A more sophisticated stage that uses a BERT-based model (specifically SciBERT in their experiments) to accurately score the relevance of candidate labels to a document.
The novelty lies in how MICOL trains the re-ranking model without labeled data. Instead of using document-label pairs, it leverages document metadata to create similar document-document pairs. This is achieved by:
- Constructing a Heterogeneous Information Network (HIN): This network connects documents, authors, venues, and other metadata entities.
- Defining Meta-Paths and Meta-Graphs: These are patterns within the HIN that describe relationships between documents (e.g., two papers sharing an author, or two papers cited by the same set of other papers).
- Metadata-Induced Contrastive Learning: If two documents are connected by a meta-path/meta-graph (meaning they are "reachable"), they are considered similar. MICOL trains a BERT model to pull the representations of these similar document pairs closer together while pushing dissimilar document pairs apart. This learned similarity scorer is then used to re-rank candidate labels for a given document.
MICOL can be implemented with either a Bi-Encoder (processing document and label independently) or a Cross-Encoder (processing document and label jointly), with the latter generally showing better performance.
Datasets
The paper evaluates MICOL on two large-scale, real-world datasets:
- MAG-CS: Derived from the Microsoft Academic Graph, focusing on computer science publications. It contains over 15,000 labels.
- PubMed: A collection of biomedical literature from MEDLINE, featuring over 17,000 labels.
For their zero-shot setting, the authors use the testing sets from a previous supervised LMTC study [68] as their target documents, while combining the training and validation sets from that study as their unlabeled corpus for training MICOL.
Key Insights and Ideas
- Metadata as a Powerful Signal for Zero-Shot Learning: The paper demonstrates that readily available document metadata, often overlooked, can be a highly effective signal for learning document representations in a zero-shot setting, especially when labeled data is scarce.
- Contrastive Learning Beyond Text Augmentation: MICOL moves beyond traditional text-based data augmentation (like synonym replacement or back-translation) for contrastive learning. By using metadata-derived document relationships, it creates more semantically meaningful positive pairs.
- Bridging the Gap to Supervised Performance: MICOL's ability to achieve performance comparable to supervised methods trained on tens or hundreds of thousands of labeled documents is a significant achievement for zero-shot LMTC.
- Natural Advantage on Tail Labels: The zero-shot nature of MICOL, combined with its metadata-driven approach, inherently biases it towards predicting less frequent labels, effectively mitigating the long-tail problem that plagues supervised models.
Key Results
- Outperforms Zero-Shot Baselines: MICOL significantly outperforms strong zero-shot text classification and contrastive learning baselines on both MAG-CS and PubMed datasets in terms of P@k and NDCG@k metrics.
- Competitive with Supervised Methods: MICOL (specifically the Cross-Encoder version with certain meta-paths like P → P ← P) is on par with the state-of-the-art supervised metadata-aware LMTC method (MATCH) trained on 10K-50K labeled documents.
- Superior on Tail Labels: When evaluated using metrics that specifically reward predicting infrequent labels (PSP@k and PSN@k), MICOL is on par with supervised methods trained on much larger datasets (100K-200K labeled documents). The ratio of PSP@k/P@k indicates that MICOL predicts significantly more infrequent labels than supervised MATCH.
- Meta-Path Effectiveness: The choice of meta-path/meta-graph matters, with some (like P → P ← P and P ← (PP) → P) showing better results. Cross-Encoder architectures generally outperform Bi-Encoders within MICOL.
Limitations and Future Work
- Meta-Path Selection: While MICOL shows effectiveness across various meta-paths, the optimal meta-path/meta-graph often needs to be manually selected. The paper suggests that automatically selecting the most effective meta-paths is an interesting future research direction.
- Combining Meta-Paths: Experimenting with combining multiple meta-paths for training did not consistently yield significant improvements, possibly due to conflicting similarity signals.
- Future Work: The authors propose extending MICOL to zero-shot hierarchical text classification and exploring how label hierarchy might further enhance contrastive learning.
Summary updated