多类政治观点情感分析:XGBoost与BERT基准对比

Multiclass Sentiment Analysis for Identifying Political Viewpoints

精选理由

想了解政治文本情感分类的难度?这篇论文用XGBoost和BERT实测,F1都不到0.3,看看数据有多难搞。

AI 摘要

该研究针对社交媒体政治话语,设计并评估了基于XGBoost和BERT的两种多类情感分析模型。在标注的政治社交媒体帖子数据集上,XGBoost模型测试集F1分数为0.2835,BERT模型为0.2806。结果显示政治话语情感分类的复杂性,为未来多类政治情感分析提供基线。

原文 · arXiv cs.AI

Multiclass Sentiment Analysis for Identifying Political Viewpoints

The rapid growth of social media has created vast amounts of political discourse, which provides valuable opportunities to analyze public opinions and identify different political perspectives. Sentiment Analysis (SA) is a core task in Natural Language Processing (NLP) that allows the computational study of attitudes and opinions in textual data, and has become increasingly important for understanding political discourse. In this work, we investigate multiclass sentiment analysis of political view- points on social media, that is to automatically discriminate multiple sentiment classes over political issues and figures. To solve this task we design and evaluate two machine-learning approaches based on XGBoost and BERT. We train and evaluate the models on a labeled dataset of political social media posts using standard classification metrics. The experimental results show that the XGBoost model reaches an F1-score of 0.2835 and the BERT- based model reaches an F1-score of 0.2806 on the test set. These results demonstrate the challenge of classifying complex and contextualized political discourse sentiment and provide a baseline for future research in multiclass political sentiment analysis.