1. Transformer and Graph Convolutional Network for Text Classification
- Author
-
Boting Liu, Weili Guan, Changjin Yang, Zhijie Fang, and Zhiheng Lu
- Subjects
Graph convolutional network ,Text classification ,Part of speech ,Transformer ,Electronic computers. Computer science ,QA75.5-76.95 - Abstract
Abstract Graph convolutional network (GCN) is an effective tool for feature clustering. However, in the text classification task, the traditional TextGCN (GCN for Text Classification) ignores the context word order of the text. In addition, TextGCN constructs the text graph only according to the context relationship, so it is difficult for the word nodes to learn an effective semantic representation. Based on this, this paper proposes a text classification method that combines Transformer and GCN. To improve the semantic accuracy of word node features, we add a part of speech (POS) to the word-document graph and build edges between words based on POS. In the layer-to-layer of GCN, the Transformer is used to extract the contextual and sequential information of the text. We conducted the experiment on five representative datasets. The results show that our method can effectively improve the accuracy of text classification and is better than the comparison method.
- Published
- 2023
- Full Text
- View/download PDF