Token-Level Graphs for Short Text Classification
Preprint
Abstract
The classification of short texts is a common subtask in Information Retrieval (IR). Recent advances in graph machine learning have led to interest in graph-based approaches for low resource scenarios, showing promise in such settings. However, existing methods face limitations such as not accounting for different meanings of the same words or constraints from transductive approaches. We propose an approach which constructs text graphs entirely based on tokens obtained through pre-trained language models (PLMs). By applying a PLM to tokenize and embed the texts when creating the graph(-nodes), our method captures contextual and semantic information, overcomes vocabulary constraints, and allows for context-dependent word meanings. Our approach also makes classification more efficient with reduced parameters compared to classical PLM fine-tuning, resulting in more robust training with few samples. Experimental results demonstrate how our method consistently achieves higher scores or on-par performance with existing methods, presenting an advancement in graph-based text classification techniques. To support reproducibility of our work we make all implementations publicly available to the community\footnote{\url{https://github.com/doGregor/TokenGraph}}.Keywords
All Related Versions
This publication has 15 references indexed in Scilit:
- Everything is connected: Graph neural networksCurrent Opinion in Structural Biology, 2023
- Graph Neural Networks for Natural Language Processing: A SurveyFoundations and Trends in Machine Learning, 2023
- Deep Learning on Graphs for Natural Language Processing2021
- Fast WordPiece Tokenization2021
- Hierarchical Heterogeneous Graph Representation Learning for Short Text Classification2021
- BERT4GCN: Using BERT Intermediate Layers to Augment GCN for Aspect-based Sentiment Classification2021
- BertGCN: Transductive Text Classification by Combining GNN and BERT2021
- Be More with Less: Hypergraph Attention Networks for Inductive Text Classification2020
- Every Document Owns Its Structure: Inductive Text Classification via Graph Neural Networks2020
- Network sciencePhilosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, 2013