Skip to main navigation Skip to search Skip to main content

A Real-Time Political Sentiment Analysis System Using DeepSeek-R1 on Multiplatform Social Media Data

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Sentiment analysis on social media platforms has become an essential tool for gauging public opinion, especially in political contexts where discourse evolves rapidly and insights must be generated in real time. Traditional sentiment classification systems often struggle with linguistic variability, platform-specific expressions, and the computational demands of large-scale text analysis. Addressing these challenges, this work presents PoliSentiX, a real-time sentiment analysis system designed to classify user-generated comments about political figures across YouTube, Reddit, and X (formerly Twitter). The system integrates advanced Natural Language Processing (NLP) pipelines and leverages DeepSeek-R1 language models to categorize sentiments into positive, negative, neutral, or unidentified. PoliSentiX offers a web-based graphical interface that allows users to configure key parameters such as the target political figure, discussion topic, platform, and number of comments. The backend implements parallelized sentiment analysis to accelerate response times while maintaining classification accuracy. Experimental results demonstrate that the DeepSeek-R1 7B model outperformed other variants in overall accuracy, achieving 0.68 macro F1-score and 0.70 weighted F1-score while balancing performance with computational efficiency. Inference times ranged from 1.16 s for the 1.5B model to 6.73 s for the 8B model, indicating a trade-off between model size and responsiveness.

Original languageEnglish
Title of host publicationCommunication and Applied Technologies - Proceedings of ICOMTA 2025
EditorsPaulo Carlos López-López, Matthieu Vernier, Úrsula Freundt-Thurne, Daniel Barredo Ibáñez
PublisherSpringer Science and Business Media Deutschland GmbH
Pages33-42
Number of pages10
ISBN (Print)9783032099105
DOIs
StatePublished - 2026
EventInternational Conference on Communication and Applied Technologies, ICOMTA 2025 - Valdivia, Chile
Duration: 2 Sep 20254 Sep 2025

Publication series

NameSmart Innovation, Systems and Technologies
Volume458 SIST
ISSN (Print)2190-3018
ISSN (Electronic)2190-3026

Conference

ConferenceInternational Conference on Communication and Applied Technologies, ICOMTA 2025
Country/TerritoryChile
CityValdivia
Period2/09/254/09/25

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.

Keywords

  • Artificial intelligence
  • Natural language processing
  • Public opinion analysis
  • Sentiment analysis
  • Social media
  • Text classification

Cite this