[Paper Review] Panning for gold: Lessons learned from the platform-agnostic automated detection of political content in textual data
This paper evaluates platform-agnostic methods for detecting political content in textual data using dictionary-based, supervised machine learning, and neural network approaches across diverse online platforms. Results show neural and machine learning models outperform dictionaries on clean data, while dictionary methods are more robust to noise, with minimal impact from preprocessing techniques like stemming or stopword removal.
The growing availability of data about online information behaviour enables new possibilities for political communication research. However, the volume and variety of these data makes them difficult to analyse and prompts the need for developing automated content approaches relying on a broad range of natural language processing techniques (e.g. machine learning- or neural network-based ones). In this paper, we discuss how these techniques can be used to detect political content across different platforms. Using three validation datasets, which include a variety of political and non-political textual documents from online platforms, we systematically compare the performance of three groups of detection techniques relying on dictionaries, supervised machine learning, or neural networks. We also examine the impact of different modes of data preprocessing (e.g. stemming and stopword removal) on the low-cost implementations of these techniques using a large set (n = 66) of detection models. Our results show the limited impact of preprocessing on model performance, with the best results for less noisy data being achieved by neural network- and machine-learning-based models, in contrast to the more robust performance of dictionary-based models on noisy data.
Motivation & Objective
- To develop and evaluate automated, platform-agnostic methods for detecting political content in online textual data.
- To assess the performance of three detection techniques—dictionary-based, supervised machine learning, and neural networks—across varied online platforms.
- To examine the influence of data preprocessing (e.g., stemming, stopword removal) on model accuracy and robustness.
- To identify which approach performs best under varying data quality conditions, especially noisy versus clean text.
- To provide practical insights for researchers on selecting and tuning detection models for political communication studies.
Proposed method
- The study employs three detection technique families: rule-based dictionary matching, supervised machine learning (e.g., logistic regression, random forest), and deep learning models (e.g., BERT-based classifiers).
- A total of 66 detection models are trained and evaluated using three validation datasets containing political and non-political content from diverse online platforms.
- Data preprocessing is systematically varied, including combinations of stemming, stopword removal, and lemmatization, to assess their impact on model performance.
- Models are evaluated using standard NLP metrics such as F1-score, precision, and recall on held-out test sets.
- The analysis compares model performance across data quality levels—clean versus noisy text—using platform-specific and cross-platform evaluation settings.
- The study uses a platform-agnostic evaluation framework to ensure results generalize across social media and news platforms.
Experimental results
Research questions
- RQ1How do dictionary-based, machine learning, and neural network models compare in detecting political content across different online platforms?
- RQ2What is the impact of common text preprocessing techniques (e.g., stemming, stopword removal) on the performance of political content detection models?
- RQ3Which model type performs best on noisy textual data, and which excels on cleaner data?
- RQ4How generalizable are detection models across diverse online platforms with varying linguistic styles and content types?
- RQ5To what extent does data quality (noise level) moderate the effectiveness of different detection techniques?
Key findings
- Neural network and machine learning models achieve the highest performance on clean data, with F1-scores exceeding 0.85 in optimal configurations.
- Dictionary-based models show greater robustness to noisy data, maintaining stable performance even when text quality is low.
- The impact of preprocessing techniques such as stemming and stopword removal on model performance is minimal across all model types.
- Cross-platform evaluation reveals that model performance degrades when applied to platforms different from the training data, highlighting domain shift challenges.
- The best-performing models are typically fine-tuned BERT-based architectures, outperforming traditional ML models on clean, platform-specific data.
- There is no single preprocessing pipeline that universally improves detection performance, suggesting that preprocessing should be tailored to data characteristics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.