Skip to Content
ElectronicsElectronics
  • Article
  • Open Access

30 July 2023

21 Pages

An Effective Personality-Based Model for Short Text Sentiment Classification Using BiLSTM and Self-Attention

,
,
,
,
,
,
,
and
1
School of Computer and Software Engineering, Xihua University, Chengdu 610039, China
2
State Grid Suining Power Supply Company, Suining 629000, China
3
School of Architecture and Civil Engineering, Xihua University, Chengdu 610039, China
*
Author to whom correspondence should be addressed.
This article belongs to the Section Artificial Intelligence

Abstract

While user-generated textual content on social platforms such as Weibo provides valuable insights into public opinion and social trends, the influence of personality on sentiment expression has been largely overlooked in previous studies, especially in Chinese short texts. To bridge this gap, we propose the P-BiLSTM-SA model, which integrates personalities into sentiment classification by combining BiLSTM and self-attention mechanisms. We grouped Weibo texts based on personalities and constructed a personality lexicon using the Big Five theory and clustering algorithms. Separate sentiment classifiers were trained for each personality group using BiLSTM and self-attention, and their predictions were combined by ensemble learning. The performance of the P-BiLSTM-SA model was evaluated on the NLPCC2013 dataset and showed significant accuracy improvements. In particular, it achieved 82.88% accuracy on the NLPCC2013 dataset, a 7.51% improvement over the baseline BiLSTM-SA model. The results highlight the effectiveness of incorporating personality factors into sentiment classification of short texts.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.