HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Text Level Graph Neural Network for Text Classification

Lianzhe Huang Dehong Ma Sujian Li Xiaodong Zhang Houfeng WANG

Text Level Graph Neural Network for Text Classification

Abstract

Recently, researches have explored the graph neural network (GNN) techniques on text classification, since GNN does well in handling complex structures and preserving global information. However, previous methods based on GNN are mainly faced with the practical problems of fixed corpus level graph structure which do not support online testing and high memory consumption. To tackle the problems, we propose a new GNN based model that builds graphs for each input text with global parameters sharing instead of a single graph for the whole corpus. This method removes the burden of dependence between an individual text and entire corpus which support online testing, but still preserve global information. Besides, we build graphs by much smaller windows in the text, which not only extract more local features but also significantly reduce the edge numbers as well as memory consumption. Experiments show that our model outperforms existing models on several text classification datasets even with consuming less memory.

Code Repositories

Cynwell/Text-Level-GNN
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
text-classification-on-ohsumedOur Model*
Accuracy: 69.4
text-classification-on-r52Our Model*
Accuracy: 94.6
text-classification-on-r8Our Model*
Accuracy: 97.8

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Text Level Graph Neural Network for Text Classification | Papers | HyperAI