Abstract
Multi-label text classification (MLTC) often suffers from a "long-tail" distribution where a few "head" labels have abundant training data while many "tail" labels are severely data-deficient. This paper introduces PIRAN (Pairwise Instance Relation Augmentation Network), a framework that enhances tail label classification by transferring pairwise document relationships from head labels to tail labels. By generating diverse synthetic instances in the feature space, PIRAN significantly improves performance on rare categories without compromising accuracy on common ones.
Introduction
In real-world MLTC tasks, such as tagging news articles or legal documents, the distribution of labels is typically imbalanced. Standard models excel at learning head labels but struggle with tail labels due to the lack of intra-class diversity in the training set. Simple oversampling often leads to overfitting—the model memorizes specific documents rather than learning general concepts. PIRAN addresses this by "borrowing" the variance patterns of head labels to simulate diversity for tail labels.
Methodology: The PIRAN Framework
PIRAN operates in the high-level feature space and consists of three primary modules:
- Semantic Extractor: Utilizes a Bi-LSTM with a multi-head attention mechanism to transform raw text into robust feature vectors.
- Relation Collector: Analyzes head labels to capture pairwise relations—the mathematical "differences" between documents within the same category. This represents the natural diversity of a well-sampled class.
- Tail Instance Generator: Creates synthetic feature vectors for tail labels by applying the collected head relations as perturbations to a tail label "prototype" (the average of available tail instances).
To ensure the quality of generated data, the model employs three specific regularizers: Generation Consistency (preserving label meaning), Generation Diversity (prevents redundancy), and Variance Consistency (matching the statistical spread of head labels).
Experimental Results
The model was evaluated on three benchmark datasets: AAPD (computer science abstracts), RCV1 (Reuters news), and EUR-Lex (legal documents). PIRAN consistently outperformed state-of-the-art baselines like AttentionXML and HTTN across all datasets.
Key performance highlights include:
- Overall Accuracy: On the AAPD dataset, PIRAN achieved an F1-score of 69.81, surpassing the next best baseline.
- Tail Label Breakthrough: The most dramatic gains were seen on tail labels. On AAPD, PIRAN's tail-specific F1-score reached 25.90, nearly doubling the 13.23 achieved by AttentionXML.
- Ablation Success: Experiments confirmed that removing any of the three regularizers led to a drop in performance, validating the "controlled" augmentation approach.
Conclusion
PIRAN demonstrates that transferring the "knowledge of diversity" from head to tail labels is a powerful strategy for long-tailed classification. By augmenting data in the feature space with controlled perturbations, the model effectively bridges the data gap for rare labels. Future work may explore incorporating label hierarchies and semantic definitions to further refine the relation transfer process.
Summary updated