arXiv:2502.17143cs.CL2025-02被引 11

用AI分析社交网络情绪,准确率达80%-85%

Sentiment analysis of texts from social networks based on machine learning methods for monitoring public sentiment

  • 融合Transformer与传统模型提升情绪识别能力
  • 深度学习模型误判率更低,可捕捉讽刺等语义细节
  • 适合政府、企业及研究者实时洞察公众情绪

本研究构建了一套基于机器学习的情绪分析系统,用于提升社交媒体舆情的实时监测能力。所提方法结合先进的Transformer架构(DistilBERT、RoBERTa)与传统机器学习模型(逻辑回归、SVM、朴素贝叶斯),在标注的社会媒体数据集上测试后,使用Transformer模型在真实场景中实现80%-85%的准确率。实验表明,深度学习模型显著优于词典和规则基分类器,有效降低误判率,并增强对讽刺等语义细微差别的识别能力。特征重要性分析显示,上下文标记、情感关键词及词性结构是精准分类的关键。结果证实,基于AI的情绪分析框架能更灵活高效应对现代舆情挑战。尽管表现优异,仍存在计算开销大、数据质量不足及领域术语适配等问题。未来研究将聚焦提升计算性能、扩展多语言覆盖并集成实时流式API。该系统为政府、企业及社会研究者获取数字平台公众情绪深度洞察提供可靠且可扩展的解决方案。

原文摘要 · Abstract (English)

A sentiment analysis system powered by machine learning was created in this study to improve real-time social network public opinion monitoring. For sophisticated sentiment identification, the suggested approach combines cutting-edge transformer-based architectures (DistilBERT, RoBERTa) with traditional machine learning models (Logistic Regression, SVM, Naive Bayes). The system achieved an accuracy of up to 80-85% using transformer models in real-world scenarios after being tested using both deep learning techniques and standard machine learning processes on annotated social media datasets. According to experimental results, deep learning models perform noticeably better than lexicon-based and conventional rule-based classifiers, lowering misclassification rates and enhancing the ability to recognize nuances like sarcasm. According to feature importance analysis, context tokens, sentiment-bearing keywords, and part-of-speech structure are essential for precise categorization. The findings confirm that AI-driven sentiment frameworks can provide a more adaptive and efficient approach to modern sentiment challenges. Despite the system's impressive performance, issues with computing overhead, data quality, and domain-specific terminology still exist. In order to monitor opinions on a broad scale, future research will investigate improving computing performance, extending coverage to various languages, and integrating real-time streaming APIs. The results demonstrate that governments, corporations, and social researchers looking for more in-depth understanding of public mood on digital platforms can find a reliable and adaptable answer in AI-powered sentiment analysis.

情绪分析机器学习社交媒体AI监测

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。