Text Level Graph Neural Network for Text Classification

Lianzhe Huang, Dehong Ma, Sujian Li, Xiaodong Zhang, Houfeng WANG
10/6/2019
cs.CL

Official code: mojave-pku/TextLevelGCN (52 stars, GPL-3.0, last commit 2019-11-10).

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.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

source code of our paper presents in EMNLP 2019. https://www.aclweb.org/anthology/D19-1345/

5214PythonNov 8, 20196 years agoGPL-3.0

Similar Papers

Cite this paper

@article{huang2019text,
  title  = {Text Level Graph Neural Network for Text Classification},
  author = {Lianzhe Huang and Dehong Ma and Sujian Li and Xiaodong Zhang and Houfeng WANG},
  year   = {2019},
  eprint = {1910.02356},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.02356}
}

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/1910.02356.svg)](https://codeofpaper.com/paper/1910.02356)

Discussion