Graph Convolutional Networks for Text Classification

Liang Yao, Chengsheng Mao, Yuan Luo
9/15/2018
cs.CLcs.AI

Official code: yao8839836/text_gcn (1,390 stars, last commit 2021-12-29).

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.

View on arXivView PDF

Code Implementations(1)

Graph Convolutional Networks for Text Classification. AAAI 2019

1,390436PythonSep 10, 20184 years ago
deep-learninggraph-convolutional-networksnlptext-classification

Similar Papers

Cite this paper

@article{yao2018graph,
  title  = {Graph Convolutional Networks for Text Classification},
  author = {Liang Yao and Chengsheng Mao and Yuan Luo},
  year   = {2018},
  eprint = {1809.05679},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.05679}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1809.05679.svg)](https://codeofpaper.com/paper/1809.05679)

Discussion