Hierarchical Heterogeneous Graph Representation Learning for Short Text Classification

Yaqing Wang, Song Wang, Quanming Yao, Dejing Dou

Abstract

Short text classification (STC) is a critical task in natural language processing, yet it suffers from semantic sparsity and a lack of labeled data. Traditional models often fail to capture sufficient context from brief inputs like tweets or headlines. This paper introduces SHINE (HIerarchical heterogeNEous graph representation learning), a novel framework that addresses these challenges by modeling short text datasets as hierarchical graphs. SHINE integrates word, part-of-speech (POS) tag, and entity information into a multi-level structure, employing a dynamically learned document graph to enhance label propagation. Our evaluation across five benchmark datasets demonstrates that SHINE achieves state-of-the-art performance while maintaining high parameter efficiency.

Introduction

Short text classification involves categorizing brief textual snippets such as search queries, social media posts, or news titles. Unlike long-form documents, short texts lack rich syntactic structures and contextual redundancy, making them "semantically sparse." Furthermore, obtaining large-scale labeled datasets for specific domains is often prohibitively expensive, leading to "label scarcity."

While Graph Neural Networks (GNNs) have shown promise by modeling corpus-level relationships, existing methods often overlook the direct interactions between documents or rely on computationally expensive architectures. SHINE addresses these limitations by leveraging a hierarchical approach that captures both fine-grained linguistic features and global document similarities.

Methodology: The SHINE Framework

SHINE operates through a two-level hierarchical architecture designed to enrich short text representations.

Level 1: Component Graph Construction

To overcome semantic sparsity, SHINE constructs three distinct heterogeneous graphs to capture different information types:

  • Word Graph ($G_w$): Captures semantic co-occurrence using Point-wise Mutual Information (PMI) between words.
  • POS Tag Graph ($G_p$): Models syntactic roles by connecting Part-of-Speech tags, helping the model understand grammatical structures.
  • Entity Graph ($G_e$): Incorporates external world knowledge by linking text to entities in the NELL knowledge base using TransE embeddings.

Level 2: Dynamic Short Document Graph

The core innovation of SHINE is the dynamic learning of a document-level graph. After pooling embeddings from the component graphs to form initial document vectors, the model learns an adjacency matrix ($A_s$) based on document similarity. This allows for efficient label propagation: if a labeled document is similar to an unlabeled one, the label can be "shared" across the graph. This process is trained end-to-end, optimizing the graph structure alongside the classification task.

Overview of the SHINE framework, including (a) graph construction from short text datasets and (b) the hierarchical representation learning process.

Experimental Results

The authors evaluated SHINE on five benchmark datasets: Ohsumed, Twitter, MR, Snippets, and TagMyNews. These datasets vary in class count and average text length, providing a robust testing ground for STC models.

Performance Comparison

SHINE consistently outperformed a wide range of baselines, including traditional models (TFIDF+SVM), deep learning models (CNN, LSTM), and recent GNN-based approaches (TextGCN, HGAT).

Comparison of SHINE against state-of-the-art models across five benchmark datasets. SHINE achieves the highest accuracy (ACC) and F1 scores in nearly all cases.

Key findings include:

  • Superior Accuracy: SHINE achieved significant relative improvements, particularly on the Twitter dataset (12.76% improvement in ACC).
  • Parameter Efficiency: SHINE is remarkably lightweight. For instance, on the TagMyNews dataset, SHINE utilizes approximately 204,000 parameters, compared to over 10 million for the HGAT model, representing a nearly 50x reduction in model size without sacrificing performance.
  • Low-Data Robustness: The dynamic document graph proves especially effective when labeled training data is scarce, as seen in the high performance gains on datasets with very low training ratios (e.g., Twitter and MR).

Conclusion

SHINE offers a powerful and efficient solution for short text classification by combining multi-faceted linguistic features with a dynamic hierarchical graph structure. By explicitly modeling document-to-document relationships and incorporating syntactic and entity-level knowledge, SHINE overcomes the inherent sparsity of short texts. Future work may explore the integration of additional auxiliary information, such as topic graphs, to further enhance the model's contextual understanding.

Summary updated

BibTeX
@inproceedings{wang2021hierarchical,
  author = {Yaqing Wang and Song Wang and Quanming Yao and Dejing Dou},
  title = {{Hierarchical Heterogeneous Graph Representation Learning for Short Text Classification}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.247},
}
Figure