[Paper Review] Pretrained Generalized Autoregressive Model with Adaptive Probabilistic Label Clusters for Extreme Multi-label Text Classification
This paper proposes APLC-XLNet, a novel deep learning framework for extreme multi-label text classification that fine-tunes the XLNet pretrained language model for enhanced text representation and introduces Adaptive Probabilistic Label Clusters (APLC) to efficiently handle unbalanced label distributions. The method achieves state-of-the-art performance on four of five benchmark datasets, with significant gains—up to 10% on P@3 and P@5—over prior methods on EURLex-4k.
Extreme multi-label text classification (XMTC) is a task for tagging a given text with the most relevant labels from an extremely large label set. We propose a novel deep learning method called APLC-XLNet. Our approach fine-tunes the recently released generalized autoregressive pretrained model (XLNet) to learn a dense representation for the input text. We propose Adaptive Probabilistic Label Clusters (APLC) to approximate the cross entropy loss by exploiting the unbalanced label distribution to form clusters that explicitly reduce the computational time. Our experiments, carried out on five benchmark datasets, show that our approach has achieved new state-of-the-art results on four benchmark datasets. Our source code is available publicly at https://github.com/huiyegit/APLC_XLNet.
Motivation & Objective
- Address the challenge of learning effective, contextual text representations in extreme multi-label text classification (XMTC) with massive label sets.
- Overcome the computational inefficiency of training with extremely large label sets by exploiting label distribution sparsity.
- Develop a flexible, scalable output layer mechanism that reduces training and inference time without sacrificing prediction accuracy.
- Demonstrate the effectiveness of combining pretrained language models with structured label clustering for XMTC tasks.
Proposed method
- Fine-tunes the generalized autoregressive pretrained model XLNet to learn deep, contextual representations of input text sequences.
- Introduces Adaptive Probabilistic Label Clusters (APLC), a hierarchical clustering strategy that groups labels based on their frequency and co-occurrence patterns.
- Applies APLC to approximate the cross-entropy loss by splitting the output layer into a head cluster (high-frequency labels) and tail clusters (low-frequency labels), reducing computation.
- Uses a two-stage prediction: first predict the head cluster, then refine predictions within the selected cluster using a conditional probability model.
- Employs a differentiable clustering mechanism that allows end-to-end training with backpropagation through the cluster assignment process.
- Configures APLC with adjustable parameters to balance accuracy and computational cost, including cluster count and label distribution proportions.
Experimental results
Research questions
- RQ1Can fine-tuning XLNet for text representation significantly improve performance in extreme multi-label text classification compared to prior models?
- RQ2How effective is the APLC mechanism in reducing computational cost while maintaining or improving prediction accuracy on unbalanced label distributions?
- RQ3What is the impact of cluster count and label distribution across clusters on model performance across diverse XMTC datasets?
- RQ4Can APLC be generalized as an efficient output layer for other extreme classification tasks beyond text classification?
Key findings
- APLC-XLNet achieves new state-of-the-art results on four out of five benchmark datasets, including a 10% improvement on P@3 and P@5 for EURLex-4k compared to the previous SOTA method AnnexML.
- The model outperforms strong baselines such as DisMEC and AttentionXML on three datasets (EURLex-4k, AmazonCat-13k, Wiki10-31k), with consistent gains in top-k precision.
- On EURLex-4k, APLC-XLNet achieves P@1 of 87.72 with only 2 clusters, which drops by 2% when increasing to 6 clusters, indicating that too many clusters degrade performance.
- The ablation study shows that allocating more labels to the head cluster (e.g., 70%) significantly improves P@1, especially on datasets like EURLex with highly skewed label distributions.
- The method maintains strong performance even when the number of clusters increases, demonstrating robustness and flexibility in hyperparameter tuning.
- APLC-XLNet achieves high accuracy while reducing computational cost through structured label clustering, making it suitable for real-world applications with large-scale label sets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.