Skip to main content
QUICK REVIEW

[Paper Review] Label-guided Learning for Text Classification

Xien Liu, Song Wang|arXiv (Cornell University)|Feb 25, 2020
Topic ModelingComputer Science16 references8 citations
TL;DR

This paper proposes LguidedLearn, a novel label-guided learning framework that enhances text classification by jointly learning local contextual information and global label clues through a label-guided encoding layer. By mapping universal text embeddings into label-specific spaces via attentive encoding, the method achieves more discriminative representations, outperforming strong baselines like BiLSTM and LEAM across multiple benchmark datasets, with gains up to 4.5% on R52 and 8.8% on Ohsumed.

ABSTRACT

Text classification is one of the most important and fundamental tasks in natural language processing. Performance of this task mainly dependents on text representation learning. Currently, most existing learning frameworks mainly focus on encoding local contextual information between words. These methods always neglect to exploit global clues, such as label information, for encoding text information. In this study, we propose a label-guided learning framework LguidedLearn for text representation and classification. Our method is novel but simple that we only insert a label-guided encoding layer into the commonly used text representation learning schemas. That label-guided layer performs label-based attentive encoding to map the universal text embedding (encoded by a contextual information learner) into different label spaces, resulting in label-wise embeddings. In our proposed framework, the label-guided layer can be easily and directly applied with a contextual encoding method to perform jointly learning. Text information is encoded based on both the local contextual information and the global label clues. Therefore, the obtained text embeddings are more robust and discriminative for text classification. Extensive experiments are conducted on benchmark datasets to illustrate the effectiveness of our proposed method.

Motivation & Objective

  • To address the limitation of existing text classification models that ignore global label information during representation learning.
  • To improve text representation robustness and discriminativeness by integrating label clues into the encoding process.
  • To develop a simple yet effective framework that can be easily combined with any contextual encoding model.
  • To demonstrate that jointly learning contextual and label-aware representations leads to superior classification performance.

Proposed method

  • Introduces a label-guided encoding layer that performs label-based attentive encoding on universal text embeddings from a contextual encoder.
  • Each label is represented by a learnable embedding matrix, enabling the model to map input text into multiple label-specific embedding spaces.
  • The framework integrates contextual encoding (e.g., BiLSTM or BERT) and label-guided encoding in an end-to-end trainable manner.
  • The label-guided layer uses query-key-dot-product attention to align words with label representations, producing label-wise embeddings.
  • The method is modular and compatible with various pre-trained contextual encoders, including BiLSTM and BERT.
  • The model jointly optimizes for both contextual coherence and label-aware representation through standard backpropagation.

Experimental results

Research questions

  • RQ1Can incorporating label information as global clues improve text representation learning for classification?
  • RQ2How does label-guided encoding compare to conventional contextual encoding alone in terms of classification accuracy?
  • RQ3Does the joint learning of contextual and label-aware features lead to more robust and discriminative embeddings?
  • RQ4How does the number of label embeddings per label affect model performance?
  • RQ5Can the label-guided layer be effectively applied with modern pre-trained models like BERT?

Key findings

  • LguidedLearn achieves a 96.12% accuracy on the R52 dataset, outperforming the baseline BiLSTM (90.54%) and LEAM (91.84%) by significant margins.
  • On the Ohsumed dataset, LguidedLearn improves accuracy by 10.56 percentage points over the baseline BiLSTM (49.27% vs. 69.89%).
  • Using five embeddings per label instead of one leads to a 1.57% improvement on 20NG (85.58% vs. 84.01%), demonstrating the benefit of label embedding space modeling.
  • When applied with BERT, the label-guided layer boosts performance from 67.90% (BERT) to 78.87% on 20NG, showing compatibility and effectiveness with strong pre-trained models.
  • LguidedLearn-1 (with one embedding per label) still outperforms LEAM on all datasets, indicating the superiority of the proposed framework design.
  • Preliminary experiments show that the label-guided layer brings consistent gains across diverse datasets, including real-world application data.

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.