Abstract
Multi-label text classification (MLTC) is a fundamental yet challenging task in natural language processing. Dominant discriminative approaches mainly rely on encoder-only pre-trained language models to obtain contextual semantic representations. However, such methods typically capture general semantics without an effective mechanism to incorporate external domain knowledge. In addition, they treat each label dimension independently and overlook inherent label correlations. To tackle these issues, this paper proposes a Knowledge-Aware Heterogeneous Graph Neural Network (KHGNet) for multi-label text classification. The model constructs a heterogeneous graph consisting of word, knowledge concept, and label nodes. Specifically, external conceptual knowledge retrieved from ConceptNet enriches word-level semantics, while topological correlations between labels are established using the Pearson correlation coefficient of label co-occurrence. A multi-layer graph attention network (GAT) is then adopted for message passing over the graph. Finally, the learned label node representations are concatenated with the contextual representations from the BERT encoder for multi-label prediction. Extensive experiments on the SemEval, RenCECps, and AAPD datasets demonstrate that KHGNet consistently outperforms competitive discriminative baselines. In particular, KHGNet achieves Micro-F1 scores of 70.8%, 63.7%, and 74.3% on SemEval, RenCECps, and AAPD, respectively, surpassing the fine-tuned BERT baseline by 0.7%, 1.2%, and 1.0%. Meanwhile, it reduces the Hamming loss on AAPD to 0.0214. Ablation studies further verify the essential roles of external knowledge, label correlations, and label embeddings. This work shows that the heterogeneous knowledge graph helps enrich semantic representations and improves the performance of MLTC.