NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Correlation-Guided Representation for Multi-Label Text Classification

Qian-Wen Zhang, Ximing Zhang, Zhao Yan, Ruifang Liu, Yunbo Cao, Min-Ling Zhang

Title: Correlation-Guided Representation for Multi-Label Text Classification

Abstract

Multi-label text classification (MLTC) requires assigning multiple, often interdependent, labels to a single text. Traditional approaches frequently treat labels as independent categories or fail to leverage their semantic content. We present CORE (COrrelation-guided REpresentation), a novel framework that jointly embeds text and labels into a shared latent space using a Transformer. By utilizing a word-label correlation matrix to guide attention, CORE captures complex dependencies between labels and context. Our evaluation on AAPD and RCV1-V2 datasets demonstrates that CORE significantly outperforms existing models, particularly in handling rare labels.

Introduction

Multi-label text classification is essential for tasks like document tagging and topic identification. However, current models face two primary challenges: ignoring the semantic information in label names and failing to account for context-dependent label correlations. Standard Transformer-based models like BERT typically process text in isolation from the label space during the representation phase.

Comparison of standard BERT (a) and a label-sequence variant (c).

CORE addresses these gaps by making labels an integral part of the input and attention mechanism, allowing the model to learn word-word, label-label, and word-label correlations simultaneously.

The CORE Framework

The CORE approach is structured into three distinct stages designed to create more discriminative text representations.

  1. Global Embedding Strategy: The input sequence is constructed by concatenating the document text and the entire set of potential labels, separated by special tokens (e.g., [CLS] context [SEP] labels [SEP]). This "packing" strategy enables the Transformer’s self-attention mechanism to explore interactions across the entire joint space.
  2. Attention Discovery via Correlation Matrix: Token-level representations are used to compute a word-label correlation matrix ($G$). A convolution layer is applied over $G$ to capture higher-order spatial dependencies between groups of words and labels.
  3. Correlation-Guided Representation: The correlation matrix is compressed into an attention vector $\vec{\alpha}$, which weights the original word representations to produce a final context vector $\vec{c}$. This ensures that the most relevant words for the given label set are prioritized.
The CORE architecture: Jointly embedding context and labels to capture multi-level correlations through a guided attention mechanism.

Experimental Evaluation

CORE was evaluated on two benchmark datasets:

  • AAPD (Arxiv Academic Paper Dataset): 55,840 abstracts with 54 labels.
  • RCV1-V2 (Reuters Corpus Volume I): 804,414 news stories with 103 labels.

Key Results and Insights

CORE consistently outperformed state-of-the-art baselines, including SGM, Seq2Set, and standard BERT.

  • Performance Gains: CORE achieved a Micro-F1 of 0.750 on AAPD and 0.887 on RCV1-V2, compared to BERT's 0.734 and 0.877.
  • Error Reduction: On the AAPD dataset, CORE reduced the Hamming Loss by 6.25% relative to BERT.
  • Robustness to Rare Labels: A standout feature of CORE is its performance on the "long tail" of label distributions. For the bottom 10% of labels by frequency in AAPD, CORE showed significant improvements, likely due to its ability to leverage global label semantics and correlations.
  • Optimization Efficiency: CORE converges faster than standard BERT, suggesting that including labels in the input provides a beneficial "hint" for the optimization process.

Conclusion and Future Work

CORE demonstrates the power of joint text-label embedding and correlation-guided attention for MLTC. Future research could address the scaling challenges for datasets with extremely large label sets (XML) where packing all labels exceeds sequence length limits. Additionally, exploring label sets as unordered structures rather than sequences may further refine the model's theoretical grounding.

Summary updated

BibTeX
@inproceedings{zhang2021correlation,
  author = {Qian-Wen Zhang and Ximing Zhang and Zhao Yan and Ruifang Liu and Yunbo Cao and Min-Ling Zhang},
  title = {{Correlation-Guided Representation for Multi-Label Text Classification}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/463},
}
Figure