Enhancing Label Correlation Feedback in Multi-Label Text Classification via Multi-Task Learning

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

Here is a technical summary of the paper.

TL;DR

Existing sequence-to-sequence approaches for multi-label text classification (MLTC) struggle with artificial label ordering, error propagation, and overfitting to frequent label combinations. To overcome this, the authors introduce LACO, a non-autoregressive framework that combines transformer-based document-label joint embeddings, cross-attention, and auxiliary multi-task objectives that explicitly teach the model second-order and high-order label correlations without imposing an artificial sequence order.

What Problem Does This Paper Address?

In multi-label text classification (MLTC), each text document can belong to several interrelated labels simultaneously (e.g., tagging a paper with both Machine Learning and Computer Vision). While early methods treated labels independently via binary relevance, recent state-of-the-art approaches frame MLTC as a Sequence-to-Sequence (Seq2Seq) problem to capture correlations between labels.

However, Seq2Seq models introduce major flaws:

  1. Label order dependency: Labels naturally form an unordered set, yet Seq2Seq models are sensitive to arbitrary predefined decoding orders.
  2. Error propagation: An incorrect label prediction at step $t$ cascades through subsequent generation steps at inference time.
  3. Overfitting & poor generalization: Exposure bias causes models to memorize training combinations, making them unable to generate novel, unseen label sets and hurting performance on rare ("long-tail") labels.

Methods

The proposed model, LACO (LAbel COrrelation aware MLTC), consists of a shared transformer encoder and task-specific prediction modules:

  • Document-Label Joint Embedding (JE): Rather than encoding text and labels separately, input documents and label sequences are packed together into BERT: [CLS] D [SEP] Y [SEP]. This allows self-attention layers to implicitly capture token-to-label and label-to-label interactions in a shared semantic space.
  • Document-Label Cross Attention (CA): A compatibility matrix $M = H_D H_Y^T$ matches document representations $H_D$ with label representations $H_Y$. A 1D CNN with max-pooling and $\tanh$ extracts label-specific document feature vectors $\vec{c}$ before feeding into standard binary cross-entropy multi-label classification.
  • Auxiliary Label Co-occurrence Tasks (Multi-Task Learning): To explicitly inject label correlation signals without sequential decoding, the authors add two auxiliary tasks:
  • Pairwise Label Co-occurrence Prediction (PLCP): A binary classifier predicting whether two sampled labels co-occur in the document (captures 2nd-order correlations).
  • Conditional Label Co-occurrence Prediction (CLCP): Given a subset of positive labels $Y^G$, the model predicts whether each remaining masked label co-occurs with them (captures higher-order correlations).

Datasets

The authors evaluated their model on two widely used benchmark datasets (using identical splits from prior work):

  • AAPD (Arxiv Academic Paper Dataset): 55,840 computer science paper abstracts with 54 topic labels (average 2.41 labels per document). Characterized by a long-tail distribution.
  • RCV1-V2 (Reuters Corpus Volume I): 804,414 newswire stories across 103 hierarchical topics (average 3.24 labels per document).

No new benchmarks were introduced.

Key Insights and Ideas

  • Co-occurrence feedback rescues rare labels: Low-frequency tail labels often lack sufficient training examples on their own. Learning conditional relationships (CLCP) acts as an inductive bias: knowledge from frequent labels effectively transfers to correlated tail labels.
  • Avoiding decoders prevents combination collapse: Seq2Seq models achieve high subset accuracy primarily because they conservatively predict only the exact combinations seen in training. By keeping predictions parallel and modeling correlations in the encoder representations, LACO predicts significantly more diverse, valid label combinations.
  • High-order vs. Second-order correlations: CLCP (high-order) proved especially effective at boosting Macro-F1 compared to pairwise PLCP, demonstrating that conditioning on multi-label contexts provides stronger regularization than isolated label pairs.

Key Results

  • Overall Metrics: LACO variants set new state-of-the-art results across both datasets:
  • On AAPD, LACO+plcp achieved 74.9 Micro-F1 (vs. 70.5 for Seq2Set and 73.4 for BERT), while reducing Hamming Loss to 0.0212 (a 14% relative reduction over Seq2Set).
  • On RCV1-V2, LACO+clcp achieved 88.5 Micro-F1 and 73.1 Macro-F1 (vs. 66.1 Macro-F1 for Seq2Seq$_T$ and 66.7 for standard BERT).
  • Low-Frequency Label Gains: In the lowest-frequency label quartile (Group 4) of AAPD, LACO+clcp delivered a 74.5% Macro-F1 improvement relative to the transformer Seq2Seq baseline (Seq2Seq_T).
  • Combination Diversity: On AAPD test data, LACO+clcp predicted 321 distinct label combinations (ground truth: 392), whereas Seq2Seq_T only predicted 214, proving the proposed method significantly mitigates combination overfitting.
  • Training Efficiency: Multi-task gradient sharing led to faster convergence across training steps compared to BERT-based baselines.

Limitations and Future Work

  • Task Redundancy: Combining both PLCP and CLCP simultaneously provided no extra performance boost over using either one individually, indicating that the two objectives provide largely overlapping correlation signals.
  • Scalability to Extreme MLTC (XML): Concatenating the entire label space $Y$ directly into BERT's input sequence limits the approach to small-to-medium label spaces due to transformer sequence-length limits (e.g., 512 tokens).
  • Future Work: The authors propose adapting LACO for Extreme Multi-Label Text Classification through scheduled label sampling, label clustering, or hierarchical label embedding strategies.

Summary updated

BibTeX
@inproceedings{zhang2021enhancing,
  author = {Ximing Zhang and Qian-Wen Zhang and Zhao Yan and Ruifang Liu and Yunbo Cao},
  title = {{Enhancing Label Correlation Feedback in Multi-Label Text Classification via Multi-Task Learning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  url = {https://openreview.net/forum?id=ULaXjckbao},
}
Figure