Social media polarization during conflict: Insights from an ideological stance dataset on Israel-Palestine Reddit comments

Hasin Jawad Ali, Ajwad Abrar, Md Shakhawat Hossain, Muhammad Firoz MridhaarXiv 2025 · arXiv · OpenReview

TL;DR

This paper tackles the challenge of automatically detecting ideological stances (Pro-Israel, Pro-Palestine, Neutral) in social media discussions surrounding the Israel-Palestine conflict. By introducing a new, manually annotated Reddit dataset and evaluating a wide range of models from traditional ML to advanced LLMs with novel prompting techniques, they found that a combination of the Mixtral 8x7B LLM with a "Scoring and Reflective Re-read" prompting strategy achieved the best performance, highlighting the power of sophisticated prompting for nuanced stance detection.

What Problem Does This Paper Address?

Social media platforms have become crucial battlegrounds for ideological discourse, especially during conflicts. While detecting general ideological stances has been studied, there's a significant gap in understanding how these stances manifest and can be detected specifically within the highly charged context of armed conflicts. The Israel-Palestine conflict, with its deep historical roots and intense online debate, presents a particularly challenging case. Existing research often focuses on less polarized contexts or uses datasets with limitations like short text formats or a lack of a "neutral" category. This paper aims to bridge this gap by developing and evaluating methods for accurate ideological stance detection on Reddit comments related to this specific conflict, providing a computational lens into the polarized online narratives.

Methods

The authors explored a comprehensive suite of methods for ideological stance detection:

  • Neural Networks: Standard architectures like RNN, LSTM, GRU, and BiLSTM were tested.
  • Pre-trained Language Models: Models such as BERT (Cased/Uncased), XLM-ROBERTa, DistilBERT (Cased/Uncased), and ELECTRA (Small/Base) were fine-tuned.
  • Large Language Models (LLMs): Seven open-access LLMs (Mixtral 8x7B, Mistral 7B, Gemma 7B, Falcon 7B, Gemma 3-4B, Falcon 3-3B, and Qwen 3-4B) were evaluated.
  • Prompting Strategies: For LLMs, they experimented with standard zero-shot, one-shot, and few-shot prompting, alongside novel strategies:
  • Re-read Prompting: The model re-evaluates its classification and the text twice.
  • Meta-Prompting (Self-Critique): The model critiques its own initial classification and refines it.
  • Context Extraction: The prompt focuses on identifying contextual elements and potential biases.
  • Scoring and Reflective Re-read: This two-step approach involves initial numerical scoring of stance categories followed by a reflective re-evaluation.
  • LLM Ensemble: A majority voting ensemble of three lightweight LLMs was also tested.

The "Scoring and Reflective Re-read" strategy, applied to Mixtral 8x7B, emerged as the most effective.

Datasets

The study utilized a newly curated dataset derived from the 'Daily Public Opinion on Israel-Palestine War' dataset on Kaggle.

  • Original Dataset: 1,825,545 Reddit comments.
  • Filtered Dataset: After keyword filtering (e.g., "Hamas terrorist," "Stand With Israel," "Free Palestine"), 9,969 comments were selected.
  • Manual Annotation: These 9,969 comments were manually annotated by three independent annotators into three stance classes: Pro-Israel, Pro-Palestine, and Neutral. High inter-annotator agreement (Fleiss' Kappa = 0.93) was achieved.
  • Dataset Split: The data was split into 70% for training, 15% for testing, and 15% for validation.

This dataset is publicly available to foster further research.

Key Insights and Ideas

  • Nuance in Conflict Discourse: Detecting ideological stances in conflict zones is significantly more challenging than in general contexts, especially for the "Neutral" category, which proved difficult for many models.
  • LLMs Outperform Traditional Models: Large Language Models, particularly when combined with advanced prompting, significantly outperform traditional neural networks and pre-trained language models for this task.
  • Prompt Engineering is Crucial: The choice of prompting strategy dramatically impacts LLM performance. Novel strategies like "Scoring and Reflective Re-read" offer substantial improvements over standard zero-shot or few-shot approaches.
  • Asymmetry in Stance Expression: The study hints at potential asymmetries in how Pro-Israel and Pro-Palestine stances are articulated online, with Pro-Israel stances being slightly easier to detect.
  • Generalizability is a Concern: While the best model showed promise across different subreddits, further validation with more diverse, manually annotated data is needed to confirm generalizability.

Key Results

  • Best Performing Model: The Mixtral 8x7B LLM with the "Scoring and Reflective Re-read" prompting strategy achieved the highest accuracy (74.08%), macro recall (73.09%), and macro F1-score (72.93%).
  • Baseline Performance: Baseline models (neural networks and pre-trained LMs) struggled, with accuracies often below 50%. DistilBERT-Uncased and BiLSTM showed modest improvements.
  • LLM Performance: Several LLMs, including Mixtral 8x7B and Gemma 3-4B, surpassed 60% accuracy. Mixtral 8x7B Zero and One Shot showed strong macro recall and precision.
  • Ensemble Limitations: An LLM majority voting ensemble improved macro precision but did not outperform the best single model (Scoring & Reflective Re-read).
  • Neutral Class Difficulty: The neutral class was the most challenging to classify, with the best model still showing significant errors in this category.

Limitations and Future Work

  • Generalizability: The authors acknowledge that the proposed prompting strategies might not generalize reliably across different LLMs or datasets. Further validation on more diverse data is needed.
  • Ethical Considerations: The paper highlights the critical ethical considerations of stance detection, including potential biases, misclassification risks, and the need for privacy protection and interdisciplinary oversight.
  • Future Directions:
    • Exploring multilingual datasets.
  • Incorporating cross-cultural perspectives.
  • Investigating fine-tuning approaches for smaller LLMs.
  • Further examining the ethical implications of ideological stance detection.
  • Developing more robust methods for detecting neutral stances.

Summary updated

Abstract

In politically sensitive scenarios like wars, social media serves as a platform for polarized discourse and expressions of strong ideological stances. While prior studies have explored ideological stance detection in general contexts, limited attention has been given to conflict-specific settings. This study addresses this gap by analyzing 9,969 Reddit comments related to the Israel-Palestine conflict, collected between October 2023 and August 2024. The comments were categorized into three stance classes: Pro-Israel, Pro-Palestine, and Neutral. Various approaches, including machine learning, pre-trained language models, neural networks, and prompt engineering strategies for open source large language models (LLMs), were employed to classify these stances. Performance was assessed using metrics such as accuracy, precision, recall, and F1-score. Among the tested methods, the Scoring and Reflective Re-read prompt in Mixtral 8x7B demonstrated the highest performance across all metrics. This study provides comparative insights into the effectiveness of different models for detecting ideological stances in highly polarized social media contexts. The dataset used in this research is publicly available for further exploration and validation.
BibTeX
@misc{ali2025social,
  author = {Hasin Jawad Ali and Ajwad Abrar and Md Shakhawat Hossain and Muhammad Firoz Mridha},
  title = {{Social media polarization during conflict: Insights from an ideological stance dataset on Israel-Palestine Reddit comments}},
  year = {2025},
  eprint = {2502.00414},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.00414},
}
Figure