HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Graph Convolutional Networks for Text Classification

Liang Yao; Chengsheng Mao; Yuan Luo

Graph Convolutional Networks for Text Classification

Abstract

Text classification is an important and classical problem in natural language processing. There have been a number of studies that applied convolutional neural networks (convolution on regular grid, e.g., sequence) to classification. However, only a limited number of studies have explored the more flexible graph convolutional neural networks (convolution on non-grid, e.g., arbitrary graph) for the task. In this work, we propose to use graph convolutional networks for text classification. We build a single text graph for a corpus based on word co-occurrence and document word relations, then learn a Text Graph Convolutional Network (Text GCN) for the corpus. Our Text GCN is initialized with one-hot representation for word and document, it then jointly learns the embeddings for both words and documents, as supervised by the known class labels for documents. Our experimental results on multiple benchmark datasets demonstrate that a vanilla Text GCN without any external word embeddings or knowledge outperforms state-of-the-art methods for text classification. On the other hand, Text GCN also learns predictive word and document embeddings. In addition, experimental results show that the improvement of Text GCN over state-of-the-art comparison methods become more prominent as we lower the percentage of training data, suggesting the robustness of Text GCN to less training data in text classification.

Code Repositories

codeKgu/text-gcn
pytorch
Mentioned in GitHub
koreyou/text-gcn-chainer
pytorch
Mentioned in GitHub
FoxerLee/TGCN
tf
Mentioned in GitHub
chengsen/pytorch_textgcn
pytorch
Mentioned in GitHub
ydtydr/hyla
pytorch
Mentioned in GitHub
plkmo/Bible_Text_GCN
pytorch
Mentioned in GitHub
yongbowin/Bible_Text_GCN_annotation
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
sentiment-analysis-on-mrText GCN
Accuracy: 76.74
text-classification-on-20newsText GCN
Accuracy: 86.34
text-classification-on-ohsumedText GCN
Accuracy: 68.36
text-classification-on-r52Text GCN
Accuracy: 93.56
text-classification-on-r8Text GCN
Accuracy: 97.07

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
Graph Convolutional Networks for Text Classification | Papers | HyperAI