Sentiment classification of microblog: A framework based on BERT and CNN with attention mechanism

被引:11
|
作者
Jia, Keliang [1 ]
机构
[1] Shandong Univ Finance & Econ, Sch Management Sci & Engn, Jinan 250014, Shandong, Peoples R China
关键词
Microblog; Sentiment classification; BERT; CNN; Attention mechanism; Feature fusion;
D O I
10.1016/j.compeleceng.2022.108032
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
BERT, a boon to natural language understanding, extracts the context information of words and forms the basis of the newly-designed sentiment classification framework for Chinese microblogs. Coupled with a CNN and an attention mechanism, the BERT model takes Chinese characters as inputs for vectorization and outputs two kinds of vectors: character-level vectors and sentence-level vectors. The character-level vectors are input into the CNN, and both top K-average pooling and attention pooling are used to mine emotions from the microblogs. The attention mechanism is used to fuse various features to the microblog vectors. The final classification results are derived via a softmax function over the microblog vectors. The results show an outstanding improvement over benchmark methods on the two classification tasks.
引用
收藏
页数:14
相关论文
共 50 条
  • [1] Chinese Microblog Sentiment Detection Based on CNN-BiGRU and Multihead Attention Mechanism
    Qiu, Hong
    Fan, Chongdi
    Yao, Jie
    Ye, Xiaohan
    [J]. SCIENTIFIC PROGRAMMING, 2020, 2020
  • [2] Microblog Sentiment Classification Method Based on Dual Attention Mechanism and Bidirectional LSTM
    Wei, Wenjie
    Zhang, Yangsen
    Duan, Ruixue
    Zhang, Wen
    [J]. CHINESE LEXICAL SEMANTICS (CLSW 2019), 2020, 11831 : 309 - 320
  • [3] Chinese Microblog Sentiment Analysis by Adding Emoticons to Attention-Based CNN
    Su, Yi-Jen
    Chen, Chao-Ho
    Chen, Tsong-Yi
    Cheng, Cheng-Chan
    [J]. JOURNAL OF INTERNET TECHNOLOGY, 2020, 21 (03): : 821 - 829
  • [4] BERT Based Hierarchical Sequence Classification for Context-Aware Microblog Sentiment Analysis
    Lei, Jiahuan
    Zhang, Qing
    Wang, Jinshan
    Luo, Hengliang
    [J]. NEURAL INFORMATION PROCESSING (ICONIP 2019), PT III, 2019, 11955 : 376 - 386
  • [5] Sentiment Classification of Educational Tourism Reviews Based on Parallel CNN and LSTM with Attention Mechanism
    Wang, Ying
    Chu, Chengxi
    Lan, Tian
    [J]. MOBILE INFORMATION SYSTEMS, 2022, 2022
  • [6] Research on Internet Text Sentiment Classification Based on BERT and CNN-BiGRU
    Wei, Guoli
    [J]. 2022 11TH INTERNATIONAL CONFERENCE ON COMMUNICATIONS, CIRCUITS AND SYSTEMS (ICCCAS 2022), 2022, : 285 - 289
  • [7] Dynamic multichannel fusion mechanism based on a graph attention network and BERT for aspect-based sentiment classification
    Xiaotang Zhou
    Tao Zhang
    Chao Cheng
    Shinan Song
    [J]. Applied Intelligence, 2023, 53 : 6800 - 6813
  • [8] Dynamic multichannel fusion mechanism based on a graph attention network and BERT for aspect-based sentiment classification
    Zhou, Xiaotang
    Zhang, Tao
    Cheng, Chao
    Song, Shinan
    [J]. APPLIED INTELLIGENCE, 2023, 53 (06) : 6800 - 6813
  • [9] Attention based hierarchical LSTM network for context-aware microblog sentiment classification
    Feng, Shi
    Wang, Yang
    Liu, Liran
    Wang, Daling
    Yu, Ge
    [J]. WORLD WIDE WEB-INTERNET AND WEB INFORMATION SYSTEMS, 2019, 22 (01): : 59 - 81
  • [10] Attention based hierarchical LSTM network for context-aware microblog sentiment classification
    Shi Feng
    Yang Wang
    Liran Liu
    Daling Wang
    Ge Yu
    [J]. World Wide Web, 2019, 22 : 59 - 81