Litcius/Paper detail

Text Classification Model Based on Multi-head self-attention mechanism and BiGRU

Fang Fang, Xuegang Hu, Jianhua Shu, Pin Wang, Tongping Shen, Fangfang Li

20212021 IEEE Conference on Telecommunications, Optics and Computer Science (TOCS)21 citationsDOI

Abstract

Deep learning promotes the development of natural language processing quickly. However, there are still many problems in natural language processing, such as semantic diversity and so on. To solve these problems, this paper proposes a text classification model based on multi-head self-attention mechanism and BiGRU. Firstly, the BERT model is used to generate input sequence of tokens for word embedding layer. Secondly, in order to capture the relation of word dependence in sentences, multi-head self-attention mechanism is used to calculate feature vector weights. And bidirectional GRU is used to extract feature and optimize classification model in order to improve calculate speed. The experiment shows that using this proposed model for text classification can improve the accuracy, recall and F1 score also were higher than traditional Benchmark algorithm, such as CNN, time consuming is lower than BERT model. And word embedding on BERT is better than word2vec.

Topics & Concepts

Computer scienceWord2vecArtificial intelligenceWord embeddingFeature (linguistics)EmbeddingWord (group theory)Sequence labelingLayer (electronics)Natural language processingRecallBenchmark (surveying)Pattern recognition (psychology)Task (project management)MathematicsOrganic chemistryChemistryGeometryLinguisticsGeodesyPhilosophyEconomicsGeographyManagementTopic ModelingAdvanced Text Analysis TechniquesText and Document Classification Technologies
Text Classification Model Based on Multi-head self-attention mechanism and BiGRU | Litcius