用联邦学习保护隐私,分析中东冲突的全球舆论情绪
Privacy Preserving Topic-wise Sentiment Analysis of the Iran Israel USA Conflict Using Federated Transformer Models
- 采用联邦学习框架,分布式训练模型并保护用户数据隐私
- ELECTRA模型在情感分类中达91.32%准确率,联邦设置下仍保持89.59%性能
- 结合主题建模与可解释AI,揭示关键影响词和舆论焦点
2026年伊朗、以色列与美国冲突升级,引发全球社交媒体广泛讨论。本研究通过挖掘YouTube新闻频道的用户评论,分析公众对冲突的情绪倾向。从主流国际新闻频道收集约1.9万条评论,经去噪和文本标准化处理。使用VADER生成初始情感标签,并通过人工校验提升可靠性。通过LDA识别核心议题。对比Bert、RoBERTa、XLNet、DistilBERT、ModernBERT及ELECTRA等多款预训练模型,发现ELECTRA表现最佳,准确率达91.32%。进一步将最优模型部署于联邦学习环境,实现跨设备分布式训练,在两客户端配置下仍保持89.59%准确率,有效保障用户隐私。同时引入SHAP技术进行可解释性分析,识别影响情感判断的关键词汇。
原文摘要 · Abstract (English)
The recent escalation of the Iran Israel USA conflict in 2026 has triggered widespread global discussions across social media platforms. As people increasingly use these platforms for expressing opinions, analyzing public sentiment from these discussions can provide valuable insights into global public perception. This study aims to analyze global public sentiment regarding the Iran Israel USA conflict by mining user-generated comments from YouTube news channels. The work contributes to public opinion analysis by introducing a privacy preserving framework that combines topic wise sentiment analysis with modern deep learning techniques and Federated Learning. To achieve this, approximately 19,000 YouTube comments were collected from major international news channels and preprocessed to remove noise and normalize text. Sentiment labels were initially generated using the VADER sentiment analyzer and later validated through manual inspection to improve reliability. Latent Dirichlet Allocation (LDA) was applied to identify key discussion topics related to the conflict. Several transformer-based models, including BERT, RoBERTa, XLNet, DistilBERT, ModernBERT, and ELECTRA, were fine tuned for sentiment classification. The best-performing model was further integrated into a federated learning environment to enable distributed training by preserving user data privacy. Additionally, Explainable Artificial Intelligence (XAI) techniques using SHAP were applied to interpret model predictions and identify influential words affecting sentiment classification. Experimental results demonstrate that transformer models perform effectively, and among them, ELECTRA achieved the best performance with 91.32% accuracy. The federated learning also maintained strong performance while preserving privacy, achieving 89.59% accuracy in a two client configuration.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。