Litcius/Paper detail

SA-SGRU: Combining Improved Self-Attention and Skip-GRU for Text Classification

Yuan Huang, Dai Xiao-hong, Junhao Yu, Zheng Huang

2023Applied Sciences19 citationsDOIOpen Access PDF

Abstract

When reading texts for text classification tasks, a large number of words are irrelevant, and in text classification tasks, the traditional self-attention mechanism has the problem of weight distribution limitations. Therefore, a text classification model that combines an improved self-attention mechanism with a Skip-GRU (Skip-grate recurrent unit) network (SA-SGRU) is proposed in this paper. Firstly, Skip-GRU, the enhanced model of GRU (Grate Recurrent Unit), is used to skip the content that is not important for text classification when reading texts and only capture effective global information. Then, the improved self-attention mechanism is introduced to redistribute the weight of the deep text sequences. Secondly, the optimized CNN (convolutional neural network) is combined to bring up the local features of texts. Finally, a Softmax classifier is used to obtain the classification results of sample labels. Experimental results show that the proposed method can achieve better performance on three public datasets compared with other baseline methods. The ablation experiments also demonstrate the effectiveness of each module in the proposed model.

Topics & Concepts

Softmax functionComputer scienceClassifier (UML)Artificial intelligenceConvolutional neural networkPattern recognition (psychology)Natural language processingMachine learningText and Document Classification TechnologiesSentiment Analysis and Opinion MiningTopic Modeling
SA-SGRU: Combining Improved Self-Attention and Skip-GRU for Text Classification | Litcius