Concept-Based Label Distribution Learning for Text Classification

Hui Li, Guimin Huang, Yiqun Li, Xiaowei Zhang, Yabing WangInternational Journal of Computational Intelligence Systems 2022 · DOI

Abstract

Text classification is a crucial task in data mining and artificial intelligence. In recent years, deep learning-based text classification methods have made great development. The deep learning methods supervise model training by representing a label as a one-hot vector. However, the one-hot label representation cannot adequately reflect the relation between an instance and the labels, as labels are often not completely independent, and the instance may be associated with multiple labels in practice. Simply representing the labels as one-hot vectors leads to overconfidence in the model, making it difficult to distinguish some label confusions. In this paper, we propose a simulated label distribution method based on concepts (SLDC) to tackle this problem. This method captures the overlap between the labels by computing the similarity between an instance and the labels and generates a new simulated label distribution for assisting model training. In particular, we incorporate conceptual information from the knowledge base into the representation of instances and labels to address the surface mismatching problem when instances and labels are compared for similarity. Moreover, to fully use the simulated label distribution and the original label vector, we set up a multi-loss function to supervise the training process. Expensive experiments demonstrate the effectiveness of SLDC on five complex text classification datasets. Further experiments also verify that SLDC is especially helpful for confused datasets.

Introduction: The Limitations of One-Hot Encoding

In traditional deep learning for text classification, labels are typically treated as "one-hot" vectors. For instance, a document categorized under "Politics" receives a value of 1 for that specific category and 0 for all others. This rigid approach suffers from two primary flaws:

  1. Label Confusion Problem (LCP): Categories are rarely independent. A news article discussing a "Ford Ranger" is technically about "autos," but it is also conceptually related to "small trucks." One-hot encoding forces the model into overconfidence, ignoring these natural semantic overlaps.
  2. Surface Mismatching: There is often a semantic gap between specific entities in a text and abstract labels. If a text mentions "Beyoncé" but the label is "Music," a standard model may struggle to bridge the connection if the word "music" never appears.
A case study of the label-concept relationship graph showing how specific entities like "Ford Ranger" map to concepts and labels.

The SLDC Framework

To address these issues, the researchers developed SLDC (Simulated Label Distribution method based on Concepts). This framework replaces rigid labels with a fluid distribution of probabilities based on conceptual relationships.

1. Concept Retrieval

Using the Microsoft Concept Graph (MCG), the model identifies entities within the text (e.g., "Ford Ranger") and maps them to broader concepts (e.g., "automaker," "small truck"). This "conceptualization" provides the high-level context necessary to bridge the surface mismatch between text and labels.

2. Graph-Based Label Encoding

Labels are treated as nodes in a graph rather than static vectors. A relationship graph is constructed between labels and concepts based on their co-occurrence in training data. A Graph Attention Network (GAT) processes this graph to generate label representations that incorporate the topology of related categories.

3. Simulated Label Distribution (LDL)

During training, the model calculates the similarity between the text (encoded via a Transformer layer and BiLSTM) and these concept-aware labels. This generates a "simulated" distribution—a soft set of probabilities—that reflects the document's relevance to multiple related categories.

The complete SLDC architecture, featuring Text Encoding, Concept Retrieval, and Label Encoding modules.

4. Multi-Loss Supervision

The model employs a multi-loss function to balance two objectives: matching the original ground-truth label (via Cross-Entropy) and matching the new, concept-aware simulated distribution (via KL Divergence). A learned "soft switch" dynamically balances these goals on a per-instance basis.

Experimental Results

SLDC was evaluated on five standard benchmarks: 20-Newsgroups (20NG), R8, R52, Ohsumed, and Movie Review (MR).

  • Superior Accuracy: On the 20NG dataset, which contains many similar categories (e.g., rec.autos vs. rec.motorcycles), SLDC achieved an accuracy of 87.48%, significantly outperforming the standard BERT baseline of 84.62%.
  • Robustness to Confusion: In tests on "Highly Confused Datasets," SLDC drastically reduced misclassifications between related topics compared to traditional predictors.
  • Ablation Study: Removing either the conceptual information or the multi-loss function resulted in a performance drop, confirming that the integration of external knowledge and distribution learning is critical to the model's success.

Conclusion and Future Work

SLDC demonstrates that treating labels as nodes in a conceptual graph allows models to navigate the nuances of language more effectively than one-hot encoding. Future research will focus on expanding this framework to multi-label classification scenarios and further exploiting hierarchical "is-A" relationships within knowledge bases to build even more sophisticated label models.

Summary updated

Abstract

Abstract Text classification is a crucial task in data mining and artificial intelligence. In recent years, deep learning-based text classification methods have made great development. The deep learning methods supervise model training by representing a label as a one-hot vector. However, the one-hot label representation cannot adequately reflect the relation between an instance and the labels, as labels are often not completely independent, and the instance may be associated with multiple labels in practice. Simply representing the labels as one-hot vectors leads to overconfidence in the model, making it difficult to distinguish some label confusions. In this paper, we propose a simulated label distribution method based on concepts (SLDC) to tackle this problem. This method captures the overlap between the labels by computing the similarity between an instance and the labels and generates a new simulated label distribution for assisting model training. In particular, we incorporate conceptual information from the knowledge base into the representation of instances and labels to address the surface mismatching problem when instances and labels are compared for similarity. Moreover, to fully use the simulated label distribution and the original label vector, we set up a multi-loss function to supervise the training process. Expensive experiments demonstrate the effectiveness of SLDC on five complex text classification datasets. Further experiments also verify that SLDC is especially helpful for confused datasets.
BibTeX
@article{li2022concept,
  author = {Hui Li and Guimin Huang and Yiqun Li and Xiaowei Zhang and Yabing Wang},
  title = {{Concept-Based Label Distribution Learning for Text Classification}},
  journal = {International Journal of Computational Intelligence Systems},
  year = {2022},
  doi = {10.1007/s44196-022-00144-y},
}
Figure