Abstract
Zero-shot learning (ZSL) aims to classify instances into categories that were not seen during training. In this work, researchers from Imperial College London present a two-phase framework for zero-shot text classification. By leveraging data augmentation through "topic translation" and feature augmentation using external semantic knowledge (e.g., ConceptNet and class hierarchies), the proposed model effectively transfers knowledge from seen to unseen classes.
Introduction
Traditional text classifiers are typically restricted to a "closed world" setting, where they can only recognize labels present in the training set. However, real-world applications—such as monitoring emerging social media trends or evolving medical diagnoses—require the ability to handle new, unseen categories without retraining from scratch. Zero-shot text classification addresses this by enabling models to categorize documents into labels they have never encountered, provided there is some semantic description of those labels.
The Two-Phase Framework
The authors propose a robust architecture that separates the detection of new classes from the final classification task. This two-phase approach prevents the common ZSL bias where models attempt to force-fit novel data into known categories.
Phase 1: Coarse-grained Classification
This phase acts as a gatekeeper, determining whether an input document $x_i$ belongs to a "seen" class ($\mathcal{C}_S$) or an "unseen" class ($\mathcal{C}_U$). To train this component effectively, the authors employ Topic Translation for data augmentation. By solving word-level analogies (e.g., Company : Firm :: Village : ?), they "translate" training documents from seen classes into synthetic examples of unseen classes. This allows the model to learn the boundaries of known categories more effectively.
Phase 2: Fine-grained Classification
Once a document is routed by Phase 1:
- Seen Classes: A standard CNN-based classifier identifies the specific category.
- Unseen Classes: A specialized Zero-shot Classifier takes over, utilizing augmented features to map the document to the most likely unseen label.
Semantic Knowledge Integration
A core contribution of this research is the integration of multiple sources of semantic knowledge to bridge the gap between seen and unseen labels. While many ZSL models rely solely on word embeddings, this framework incorporates natural language descriptions, structural hierarchies, and common-sense knowledge graphs.
Specifically, the model uses ConceptNet to generate "relationship vectors" that quantify the semantic distance between document words and class labels based on general world knowledge. This is combined with class hierarchies (e.g., an "Artist" is a type of "Person") to provide a much richer signal for the zero-shot classifier.
Experimental Results
The model was evaluated on the DBpedia ontology and 20newsgroups datasets, with varying "unseen rates" (25% and 50%).
- Superior Accuracy: On DBpedia (25% unseen), the framework achieved 85.2% overall accuracy, significantly outperforming competitive baselines like Deep Open Classification (DOC).
- Ablation Studies: The results confirmed that both data augmentation (Topic Translation) and feature augmentation (ConceptNet) were critical. Topic translation improved Phase 1's ability to detect unseen classes by over 10% in certain configurations.
- Knowledge Synergy: Combining embeddings with hierarchical and graph-based knowledge provided a significantly richer signal than using any single source in isolation.
Conclusion and Future Work
By decoupling the detection of unseen classes from their classification and enriching the feature space with external semantic knowledge, this framework sets a new standard for zero-shot text classification. Future research directions include extending the model to multi-label classification scenarios and incorporating more domain-specific knowledge graphs for specialized fields like medicine or law.
Summary updated