Frontiers of Data and Computing ›› 2026, Vol. 8 ›› Issue (1): 91-102.

CSTR: 32002.14.jfdc.CN10-1649/TP.2026.01.008

doi: 10.11871/jfdc.issn.2096-742X.2026.01.008

• Technology and Application • Previous Articles     Next Articles

Network Public Opinion Tendency Detection Method Based on Sentiment Analysis

DENG Yiru1,2(),HE Hongbo1,*(),WANG Ying1,WANG Runqiang1   

  1. 1. Computer Network Information Center, Chinese Academy of Sciences, Beijing 100083, China
    2. University of Chinese Academy of Sciences, Beijing 100049, China
  • Received:2025-02-25 Online:2026-02-20 Published:2026-02-02
  • Contact: HE Hongbo E-mail:yrdeng@cnic.cn;hhb@cnic.cn

Abstract:

[Application Background] With the vigorous development of online social media, controversial online public opinions occur frequently, bringing numerous potential risks and challenges to society. As an effective approach for determining public opinion trends, sentiment analysis holds significant importance in the study of online public opinion. [Method] This paper presents an opinion tendency detection method based on BERT. This method devises a deep learning classifier for sentiment tendency analysis and, simultaneously, incorporates the contrastive learning strategy. [Conclusion] The proposed method deepens the model's representation of polarized disputes, remarkably improves the performance of negative public opinion tendency detection, and enhances the ability to detect public opinion polarization. This research offers a practical technical solution for detecting online public opinion risks, facilitating the timely identification and response to potential negative public opinions and polarized disputes, thus safeguarding the health and stability of the online environment.

Key words: sentiment analysis, deep learning, contrastive learning, public opinion analysis, polarized disputes