Skip to content
Open access

Public Sentiment Analysis of the Iran–United States Conflict on BBC News YouTube Comments Using DistilBERT

Jul 2026 · International Journal of Mathematics, Statistics, and Computing · Vol 4, pp. 126-135 · 0 citations

Abstract

The rapid proliferation of social media platforms, particularly YouTube, has transformed public commentary on geopolitical events into a rich and accessible data source for sentiment analysis. This study examines public sentiment expressed in YouTube comments on BBC News coverage of the Iran–United States conflict, employing DistilBERT—a distilled variant of BERT—as the primary classification model. A corpus of 12,847 comments was collected via the YouTube Data API v3 across a period spanning January to December 2024, covering major escalation events including drone strikes, diplomatic breakdowns, and proxy confrontations. The dataset was preprocessed through noise removal, tokenisation, and label assignment using a lexicon-assisted annotation pipeline. DistilBERT was fine-tuned on the labelled corpus and evaluated against established baselines including Naive Bayes, Support Vector Machine (SVM), and standard BERT. Experimental results demonstrate that DistilBERT achieves an F1-score of 91.73%, surpassing SVM (84.12%), Naive Bayes (76.45%), and approaching standard BERT (92.18%) while requiring 40% fewer parameters and exhibiting substantially lower inference latency. Sentiment distribution revealed that negative sentiment dominated (58.3%), followed by neutral (27.4%) and positive (14.3%), with pronounced negativity spikes correlated with military escalation events. The findings contribute to the growing body of research on computationally efficient transformer-based sentiment analysis in politically sensitive domains and offer implications for media analytics, public diplomacy monitoring, and conflict communication research.

Read PDF

Similar papers

#generative ai Open access Sep 2026

Topic Modeling and Sentiment Analysis of YouTube Comments on OpenAI’s Stargate Project Using BERTopic and RoBERTa

The rapid development of generative artificial intelligence has sparked growing interest, widespread adoption across various sectors, and intense public debate, particularly following the announcement of the Stargate project by OpenAI, SoftBank, and Oracle. The diverse public reactions documented on social media platfo...

Yuliana Dewi Proboningrum, Hanifah Permatasari, Vihi Atina · 0 citations
Open access Aug 2026

YouTube Sentiment Analysis on Felt Earthquake News Using LSTM and IndoBERT

This study analyzes public sentiment in YouTube comments on felt-earthquake news in Indonesia and compares a bidirectional Long Short-Term Memory implementation (LSTM) with IndoBERT, which provided the strongest contextual classification.

Oktifar Tri Bandono, Agung Budi Susanto, Makhsun Makhsun · 0 citations
#artificial intelligence Preprint Sep 2026

Analyzing Public Discourse on Urbanism: Topic Clustering, Sentiment Analysis and Retrieval-Augmented Generation using YouTube Comments

This work presents a pipeline and conversational system that combines geographic entity resolution, topic modeling, sentiment analysis, and Retrieval-Augmented Generation over 22,788 chunks of YouTube transcripts and comments spanning 309 North American cities and shows that ROUGE-1-based groundedness is a paraphrase-d...

J. Morales, Monica Hegde, Fayeq Jeelani Syed · 0 citations
Review Open access Aug 2026

Hybrid Sentiment Analysis of Public Perception on Indonesia’s Role in the Board of Peace Using Inset Lexicon and Support Vector Machine

Although sentiment analysis is increasingly utilised in Indonesian social media, there is a paucity of rigorous studies assessing hybrid lexicon–machine learning frameworks in the realm of foreign policy debate. This study fills this gap by presenting a hybrid sentiment analysis model that combines the domain-specific...

Rahmat Hidayat · 0 citations
Open access Sep 2026

Mapping the Emotional Landscape of Voter Behavior: A Transformer-Based Sentiment Analysis of Reddit Discourse in the 2024 U.S. Presidential Election

This study examines voter behavior in the context of the 2024 United States Presidential Election by analyzing Reddit user comments. Owing to the platform’s anonymity and community diversity, Reddit provides signals that reflect a wide range of socio-demographic perspectives on the electoral process. A dataset of 7,788...

Berrak Oğuz, Kerem Çolak, Zeynep Hilal Kilimci · 0 citations
Open access Aug 2026

SENTIMENT ANALYSIS OF TWITTER (X) RESPONSES USING NAÏVE BAYES: A CASE STUDY OF JUMBO

The rapid growth of social media platforms, especially Twitter (now rebranded as X), has made it a rich source for public opinion mining. This study focuses on analyzing public sentiment toward the animated “film Jumbo" by applying the Naïve Bayes Classifier algorithm to Twitter data. The research involves collecting t...

Nurasiah, Latifah Nur Zam Zami, Yunianto Agung Nugroho · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.