电子学报2024,Vol.52Issue(5):1657-1669,13.DOI:10.12263/DZXB.20220645
基于用户性格和语义-结构特征的文本评论情感分类方法
A Sentiment Classification Method for Text Comments Based on User Personality and Semantic-Structural Features
摘要
Abstract
Since the traditional sentiment classification methods for text comments usually ignore the influence of us-er personality on sentiment classification results,a sentiment classification method for text comments based on user person-ality and semantic-structural features is proposed.According to the advantage of Big Five personality model on effectively expressing the user personality,the user personality feature is obtained from the comment texts by calculating the personali-ty scores from different dimensions.Moreover,the advantages of bidirectional gated recurrent unit(BiGRU)and convolu-tional neural network(CNN)on effectively extracting the contextual semantic features and the local structural features are taken,and a new text semantic-structural feature acquisition method based on BiGRU,CNN and two-layer attention mecha-nism is proposed.Finally,in order to distinguish the influence of the features with different types,the hybrid attention layer is introduced to obtain the final text vector representation by integrating the user personality feature and the textural seman-tic-structural feature effectively.The experimental results on the datasets of IMDB,Yelp-2,Yelp-5 and Ekman show that BF_BiGAC achieves good performance when the measurements of Accuracy and weighted macro F1(Fw)are used.Specifi-cally,it achieves the improvements of 0.020,0.012,0.017 and 0.011 compared to sentiment classification method concate-nating BiGRU and CNN(BiGRU_CNN)on accuracy,and achieves the improvements of 0.022,0.013,0.028 and 0.023 compared to sentiment classification method concatenating CNN and BiGRU(ConvBiLSTM)on Fw.Moreover,when com-paring with the pre-trained models of BERT and RoBERTa,BF_BiGAC achieves higher executing efficiency while ensur-ing the classification accuracy.关键词
情感分类/大五人格模型/双向门控循环单元/卷积神经网络/注意力机制Key words
sentiment classification/Big Five personality model/bidirectional gated recurrent unit/convolutional neural network/attention mechanism分类
信息技术与安全科学引用本文复制引用
王友卫,刘瑞,凤丽洲..基于用户性格和语义-结构特征的文本评论情感分类方法[J].电子学报,2024,52(5):1657-1669,13.基金项目
国家自然科学基金(No.61906220) (No.61906220)
教育部人文社科资助项目(No.19YJCZH178) (No.19YJCZH178)
国家社会科学基金(No.18CTJ008) (No.18CTJ008)
中央财经大学新兴交叉学科建设项目 National Natural Science Foundation of China(No.61906220) (No.61906220)
Ministry of Education of Humani-ties and Social Science Project(No.19YJCZH178) (No.19YJCZH178)
National Social Science Foundation of China(No.18CTJ008) (No.18CTJ008)
Emerging Interdisciplinary Project of CUFE ()