期刊文献+

基于BERT和双通道注意力的文本情感分类模型 被引量:27

Text Sentiment Classification Model Based on BERT and Dual Channel Attention
下载PDF
导出
摘要 对于句子级文本情感分析问题,目前的深度学习方法未能充分运用情感词、否定词、程度副词等情感语言资源。提出一种基于变换器的双向编码器表征技术(Bidirectional encoder representations from transformers,BERT)和双通道注意力的新模型。基于双向门控循环单元(BiGRU)神经网络的通道负责提取语义特征,而基于全连接神经网络的通道负责提取情感特征;同时,在两个通道中均引入注意力机制以更好地提取关键信息,并且均采用预训练模型BERT提供词向量,通过BERT依据上下文语境对词向量的动态调整,将真实情感语义嵌入到模型;最后,通过对双通道的语义特征与情感特征进行融合,获取最终语义表达。实验结果表明,相比其他词向量工具,BERT的特征提取能力更强,而情感信息通道和注意力机制增强了模型捕捉情感语义的能力,明显提升了情感分类性能,且在收敛速度和稳定性上更优。 As for sentence-level emotion analysis,current deep learning methods fail to make full use of emotional language resources such as emotion words,negative words and degree adverbs.A new model is proposed based on bidirectional encoder representations from transformers(BERT)and dual channel attention.One channel based on bi-directional GRU(BiGRU)neural network is responsible for extracting semantic features,while the other based on full connection neural network is responsible for extracting emotional features.At the same time,attention mechanism is introduced into both the channels to better extract key information,and the pre-trained model Bert is used to provide word vectors and thereafter adjust them dynamically according to the context so as to embed real emotional semantic into the model.The final semantic expression is obtained through the fusion of semantic features and emotional features from the two channels.The experimental results show that,compared with other word vector tools,BERT has a better feature extraction ability,while the emotional information channel and the attention mechanism enhance the model’s ability to capture emotional semantics,which significantly improves the performance of emotion classification and its convergence speed and stability as well.
作者 谢润忠 李烨 XIE Runzhong;LI Ye(School of Optical-Electrical&Computer Engineering,University of Shanghai for Science&Technology,Shanghai,200093,China)
出处 《数据采集与处理》 CSCD 北大核心 2020年第4期642-652,共11页 Journal of Data Acquisition and Processing
关键词 文本情感分析 深度学习 基于变换器的双向编码器表征技术 双通道 注意力 双向门控循环单元 text sentiment analysis deep learning BERT dual channel attention BiGRU
  • 相关文献

参考文献3

二级参考文献10

共引文献82

同被引文献249

引证文献27

二级引证文献91

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部