Skip to main content
QUICK REVIEW

[Paper Review] SGM: Sequence Generation Model for Multi-label Classification

Pengcheng Yang, Xu Sun|arXiv (Cornell University)|Jun 13, 2018
Text and Document Classification TechnologiesComputer Science20 references54 citations
TL;DR

SGM treats multi-label classification as sequence generation, using an encoder–decoder with attention and a novel global embedding decoder to capture label correlations and text-content contributions, achieving state-of-the-art results on RCV1-V2 and AAPD datasets.

ABSTRACT

Multi-label classification is an important yet challenging task in natural language processing. It is more complex than single-label classification in that the labels tend to be correlated. Existing methods tend to ignore the correlations between labels. Besides, different parts of the text can contribute differently for predicting different labels, which is not considered by existing models. In this paper, we propose to view the multi-label classification task as a sequence generation problem, and apply a sequence generation model with a novel decoder structure to solve it. Extensive experimental results show that our proposed methods outperform previous work by a substantial margin. Further analysis of experimental results demonstrates that the proposed methods not only capture the correlations between labels, but also select the most informative words automatically when predicting different labels.

Motivation & Objective

  • Motivate addressing label correlations in multi-label classification (MLC) by modeling the task as sequence generation.
  • Propose a Seq2Seq-based model with attention and a novel decoder to capture label dependencies and content contributions.
  • Show that incorporating a global embedding improves performance over standard seq2seq and baselines.
  • Demonstrate effectiveness on large-scale MLC text datasets and analyze the impact of design choices (masking, sorting, global embedding).

Proposed method

  • Model the MLC task as predicting a sequence of labels to capture label correlations via an LSTM-based decoder with attention.
  • Encode the input text with a bidirectional LSTM and compute context vectors via attention at each decoding step.
  • Predict the next label using a masked softmax to avoid repeats, conditioning on previous label predictions and context.
  • Introduce a global embedding g(y_{t-1}) that combines the embedding of the top predicted label with a weighted average over all label embeddings, modulated by a transform gate H.
  • Use a beam search for inference to explore high-probability label sequences.
  • Train with cross-entropy loss and employ dropout, Adam optimization, and hyperparameters tuned per dataset.

Experimental results

Research questions

  • RQ1How can sequential label generation capture high-order label correlations in multi-label classification?
  • RQ2Does integrating an attention mechanism over text help the model assign different word contributions for different labels?
  • RQ3Can a global embedding that leverages all possible labels improve robustness to earlier mispredictions?
  • RQ4Do the proposed architectural choices scale to large label sets and large datasets?
  • RQ5What is the impact of masking and label-ordering strategies on performance?

Key findings

  • SGM outperforms traditional baselines (BR, CC, LP) and CNN/CNN-RNN models on both datasets.
  • Using global embedding (SGM+GE) further improves micro-F1 and reduces hamming loss across datasets.
  • On RCV1-V2, SGM+GE achieves F1+ of 0.878 and hamming loss 0.0075, surpassing baselines; without GE, SGM still beats baselines.
  • On AAPD, SGM+GE yields F1+ of 0.710 and hamming loss 0.0245, again outperforming baselines.
  • Analyses show global embedding enriches information by incorporating all possible label signals, aiding prediction under exposure bias.
  • Attention visualizations demonstrate the model focuses on informative words differently for each label (e.g., CV vs CL).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.