Abstract
Multi-label text classification (MLTC) is an attractive and challenging task in natural language processing (NLP). Compared with single-label text classification, MLTC has a wider range of applications in practice. In this paper, we propose a label-interpretable graph convolutional network model to solve the MLTC problem by modeling tokens and labels as nodes in a heterogeneous graph. In this way, we are able to take into account multiple relationships including token-level relationships. Besides, the model allows better interpretability for predicted labels as the token-label edges are exposed. We evaluate our method on four real-world datasets and it achieves competitive scores against selected baseline methods. Specifically, this model achieves a gain of 0.14 on the F1 score in the small label set MLTC, and 0.07 in the large label set scenario.
Introduction
Multi-label text classification (MLTC) involves assigning multiple relevant categories to a single document. While transformer-based models like BERT have significantly advanced the field, they often struggle with two critical issues: extreme class imbalance and the "black box" nature of deep learning, which obscures the reasoning behind specific label assignments. Existing approaches frequently overlook the inherent correlations between labels and the direct semantic links between specific tokens and those labels.
The LiGCN Framework
To address these challenges, we introduce the Label-interpretable Graph Convolutional Network (LiGCN). Unlike traditional sequence-based models, LiGCN constructs a heterogeneous graph for each document.
Graph Construction
The graph consists of two primary node types:
- Token Nodes ($X_{token}$): Representing individual words, initialized with pre-trained embeddings (e.g., BERT).
- Label Nodes ($X_{label}$): Representing the classification categories, initialized as one-hot vectors.
As shown in Figure 1, the model employs multiple GCN layers. While token-to-token edges are based on sentence structure, token-to-label edges ($A_{token-label}$) are dynamic. They are reconstructed at each layer based on the cosine similarity between node embeddings, allowing the model to learn which words are most relevant to specific labels during training. The authors found that a 2-layer GCN provided the optimal balance for information flow without suffering from over-smoothing.
Experimental Evaluation
LiGCN was evaluated on four diverse datasets: SemEval-2018 (emotion detection in tweets), RenCECps (Chinese blog emotion analysis), RCV1 (Reuters news topics), and AAPD (arXiv paper abstracts).
The results demonstrate significant performance improvements. In scenarios with smaller label sets, LiGCN achieved a 0.14 gain in F1 score over baseline models. In larger label set scenarios, such as RCV1, the model maintained a 0.07 F1 score advantage. This suggests that treating labels as nodes allows the model to effectively learn label correlations, aiding the prediction of rare or co-occurring categories.
Interpretability and Visualization
A key advantage of LiGCN is its inherent interpretability. Because predictions are derived from the edge weights between token and label nodes in the final layer, these weights can be visualized as heatmaps to identify "trigger words."
As illustrated in Figure 2, the model clearly highlights which tokens contribute most to specific classifications. Quantitative analysis using the RenCECps dataset—which includes human-annotated trigger words—confirmed that LiGCN’s internal weights align more closely with human intuition than standard attention mechanisms, as measured by Mean Squared Error.
Conclusion
LiGCN provides a robust framework for MLTC by integrating label correlations and token-label relationships into a unified graph structure. By making the connections between words and categories explicit, it offers both superior performance and much-needed transparency for complex classification tasks. Future work will explore scaling LiGCN to extreme MLTC scenarios with tens of thousands of labels.
Summary updated