首页 | 本学科首页   官方微博 | 高级检索  
     

基于注意力机制的双BERT有向情感文本分类研究
引用本文:张铭泉,,周辉,,曹锦纲,.基于注意力机制的双BERT有向情感文本分类研究[J].智能系统学报,2022,17(6):1220-1227.
作者姓名:张铭泉    周辉    曹锦纲  
作者单位:1. 华北电力大学 控制与计算机工程学院,河北 保定 071003;2. 华北电力大学 复杂能源系统智能计算教育部工程研究中心,河北 保定 071003
摘    要:在计算社会科学中,理解政治新闻文本中不同政治实体间的情感关系是文本分类领域一项新的研究内容。传统的情感分析方法没有考虑实体之间情感表达的方向,不适用于政治新闻文本领域。针对这一问题,本文提出了一种基于注意力机制的双变换神经网络的双向编码表示(bi-directional encoder representations from transformers, BERT)有向情感文本分类模型。该模型由输入模块、情感分析模块、政治实体方向模块和分类模块四部分组成。情感分析模块和政治实体方向模块具有相同结构,都先采用BERT预训练模型对输入信息进行词嵌入,再采用三层神经网络分别提取实体之间的情感信息和情感方向信息,最后使用注意力机制将两种信息融合,实现对政治新闻文本的分类。在相关数据集上进行实验,结果表明该模型优于现有模型。

关 键 词:情感分析  变换神经网络的双向编码表示  预训练模型  注意力机制  深度学习  机器学习  文本分类  神经网络

Dual BERT directed sentiment text classification based on attention mechanism
ZHANG Mingquan,,ZHOU Hui,,CAO Jingang,.Dual BERT directed sentiment text classification based on attention mechanism[J].CAAL Transactions on Intelligent Systems,2022,17(6):1220-1227.
Authors:ZHANG Mingquan    ZHOU Hui    CAO Jingang  
Affiliation:1. School of Control and Computer Engineering, North China Electric Power University, Baoding 071003, China;2. Intelligent Computing of Complex Energy System Engineering Research Center of the Ministry of Education, North China Electric Power University, Baoding 071003, China
Abstract:Understanding the emotional relationships between different political entities in political news texts is a new research topic in the text classification field in computational social science. Traditional methods of sentiment analysis cannot be applied to political news texts because they do not consider the direction of emotional expression between entities. This study proposes a dual BERT-directed sentiment text classification model based on the attention mechanism, which consists of four modules: input module, sentiment analysis module, political entity direction module, and classification module. The structure of the sentiment analysis module and the political entity direction module are identical. Both employ the BERT pretraining model to embed the input information, a three-layer neural network to extract the emotional information or emotional direction information between entities, and an attention mechanism to combine these two kinds of information to classify political news texts. Experiments on comparable data sets show that the model outperforms existing models.
Keywords:sentiment analysis  bidirectional encoder representation from transform neural network  pretraining model  attention mechanism  deep learning  machine learning  text classification  neural network
点击此处可从《智能系统学报》浏览原始摘要信息
点击此处可从《智能系统学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号