Manuscript Offprint
arXiv:2610.33464Propasafe-Hybrid: A Text-Based Hybrid Propaganda Detection Tool
Abstract
Propagandistic content increasingly circulates through online news and social media, where readers often encounter it with limited scrutiny, highlighting the need for reliable and fine-grained detection. This paper introduces Propasafe-Hybrid, a sentence-level system that integrates a fine-tuned transformer classifier with LLM-based technique classification to identify, label, and explain specific propaganda strategies. The pipeline generates actionable outputs, including highlighted sentences, technique assignments, and concise rationales, so users can immediately understand why a sentence was flagged and how each label was determined. To control inference cost, Propasafe-Hybrid employs a cost-aware pre-filtering stage that forwards only high-likelihood sentences to LLMs, reducing token usage while preserving the underlying decision logic. Together, these design choices enhance the explainability, efficiency, and practical usability of sentence-level propaganda detection in real-world news environments.
Introduction
The contemporary information ecosystem characterized by frictionless publishing, algorithmic amplification, and coordinated online networks, has intensified the reach and impact of propaganda in news and social media. Rather than focusing solely on veracity, computational propaganda campaigns typically seek to shape beliefs and behaviors by leveraging persuasive techniques, anonymity, micro-targeting, and recommendation dynamics to influence salient public issues (Martino et al. 2020). At the textual level, research has moved from coarse document-level labels toward fine-grained, technique-level analysis (e.g., loaded language, name-calling, flag-waving), enabling span-level explanations that make manipulation visible where it occurs (Da San Martino et al. 2019; Da San Martino et al. 2020a). This reframing was consolidated by SemEval-2020 Task 11, which standardized span identification and technique classification and demonstrated the effectiveness of Transformer-based approaches under shared, span-aware evaluation protocols (Da San Martino et al. 2020a).
Despite these advances, a practical gap remains between research prototypes and tools that ordinary readers can use with appropriate privacy guarantees. Early public systems such as Proppy showed that stylistic features can score propagandistic style at the article level, but offered limited sentence-level transparency and have been inconsistently available over time (Barrón-Cedeno et al. 2019). Newer interactive platforms like PRTA (Da San Martino et al. 2020b) for span-level exploration, and browser extensions like Apollolytics (Zavolokina et al. 2025) that highlight techniques and provide explanations, brings detection to the point of consumption, but typically rely solely on server-side large language models (LLMs), raising concerns about cost, latency, and data transfer. Human-computer interaction work further indicates that explainable nudges can foster more analytical (“System-2”) reading, suggesting that usable explanations, not just labels, are central to impact (Zavolokina et al. 2024).
These tensions motivate solutions that (i) deliver on-page, real-time feedback where readers encounter content, and (ii) balance explainability and sustainability by reducing token consumption on third-party APIs. Privacy-first prototypes such as Propasafe show that locally fine-tuned BERT models can provide sentence-level cues offline, complementing cloud-backed, explainable systems like Apollolytics. In short, the motivation is to equip readers with transparent and optimized token usage of APIs that exposes persuasive techniques at the granularity where they operate.
Building on this landscape, our work extends the publicly available Propasafe tool by preserving its offline, privacy-conscious architecture and adding model-supported explanations of detected spans, thereby combining the advantages of local inference with the interpretability benefits demonstrated, while reducing the number of tokens used in recent HCI-driven systems.
Copyright © 2026 by the authors. Open access article published under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
https://github.com/wewakesharma/propasafe

Figure 1: Architecture of Propasafe-Hybrid showing the inherited components from the original Propasafe system and the newly introduced Explainability Module.
SemEval 2020 Task 11 competitions(Da San Martino et al. 2020a). These efforts demonstrated that models such as BERT, when fine-tuned on PTC, can identify propagandistic cues at the sentence or span level, offering a more interpretable and actionable view of manipulation in text.
Alongside academic progress, a growing ecosystem of browser-based propaganda detection tools has emerged. These tools aim to bring real-time assistance directly to readers as they navigate news articles and social media platforms. Some representative examples include
• Proppy (Barrón-Cedeno et al. 2019) is a real-time propaganda scoring for online news at document level. It used stylistic features like character n-grams, readability, and keywords, trained on known propaganda sources. The tool organized articles into events and ranked them by propagandistic likelihood. The original public site has been intermittently unavailable, but papers is publicly available.
• Propasafe (Sharma et al. 2025a) is a privacy-focused, offline browser extension using fine-tuned BERT on the PTC data for sentence-level classification. It does not use online inference and lacks explainability; the result is binary (propaganda or non-propaganda).
• Apollolytics (Zavolokina et al. 2025) is a cross-browser extension that flags techniques and contextualizes claims with sources. It has a variety of options to choose from for the models. The tool highlights and explains the techniques used in the sentences.
• Conscious Chrome Extension provides a tweet-level analysis for propaganda, reliability, and perspective via OpenAI API. It sends text to GPT3.5/4 and aggregates supporting news via APIs.
Architecture
Our tool builds upon the modular framework originally introduced in Propasafe (Sharma et al. 2025a), which provides a lightweight and extensible architecture for offline inference of propagandistic content. Its modular design allowed us to reuse existing components, particularly the article extraction and local BERT-based classification pipeline, while incorporating new functionality for explainability.
The Article Extractor fetches raw HTML via requests and applies a four-stage cascade: DOM pre-cleaning with lxml (removing modals, ads, navbars, and figure captions, then isolating the <article> subtree when present), followed by text extraction attempted in priority order using trafilatura, readability-lxml, and newspaper3k. The resulting text is normalized with regex-based sentence boundary fixes before tokenization via NLTK's Punkt tokenizer, with a fragment-stitching pass to correct over-splits on courtesy titles. The final sentence list (capped at 400 sentences) is passed directly to the BERT classifier. In the Propasafe framework, the offline inference module processes each sentence using a fine-tuned BERT model and outputs a binary decision indicating whether the sentence contains propaganda. We leverage this capability as a filtering layer, where only sentences that the offline model marks as propagandistic are forwarded to the next stage. As noted in the original Propasafe paper, the overall quality of detection depends heavily on the specific model loaded into the offline module; the authors report a default BERT configuration achieving an F1 score of approximately 0.71 (Sharma et al. 2025b) on the PTC dataset.
To expand this baseline, we introduce an explainability module powered by LLM APIs. After the offline classifier identifies potential propaganda sentences, those sentences are passed to a prompt-construction module. This module pairs each sentence with a structured prompt that includes definitions of the propaganda techniques described in (Da San Martino et al. 2019). The resulting prompt is then sent to an LLM (OpenAI; default model: gpt-5.2-2025-12-11 ), which returns both the predicted technique and a concise explanation of its reasoning. The model is configurable via environment variable, allowing operators to substitute any compatible OpenAI endpoint. The system supports three verbosity modes(low, medium, and verbose), which control word limits on evidence and explanation fields, allowing users to trade response richness for latency and token cost. LLM outputs are validated against the closed 17-technique taxonomy; any out-of-taxonomy labels are silently dropped. API keys are provided by the user at runtime and are never stored persistently or transmitted beyond the OpenAI API endpoint. The complete tool is packaged as a publicly available Docker container , making deployment straightforward. Fig. 1 illustrates the overall architecture of Propasafe-Hybrid. The top three components: Article Extractor, Offline Classification Module, and the fine-tuned BERT model, are inherited from the original Propasafe system. Our contribution is the Explainability Module, which communicates with an LLM via API calls and enriches the offline predictions with technique-level in-
https://platform.openai.com/docs/models
https://github.com/propasafe/propasafe-hybrid sights.
A key design decision concerns disagreement between the two stages. BERT's classification is authoritative: highlight color and severity are assigned from the BERT probability score before the LLM is ever invoked, and are never modified by the LLM response. When the LLM returns no recognized technique for a flagged sentence, either because it finds no propaganda or because its output falls outside the closed 17-technique taxonomy; the sentence remains highlighted with its BERT-derived color, and the llm_status field is set to empty. This ensures visual feedback is never suppressed by LLM ambiguity, while the technique panel simply remains blank for that sentence. The llm_status field distinguishes four states: not_run (below threshold), ok (LLM confirmed 1 technique), empty (LLM returned no techniques), and error (API failure).
The hybrid workflow produces a multi-layered output. The pre-filtering stage provides a measurable reduction in LLM token usage. Based on the system's behavior on representative news articles, approximately 80–87% of sentences are filtered out by BERT before reaching the LLM. On a typical mid-length article of roughly 40 sentences, this means only 5–8 sentences are forwarded for LLM processing. The threshold is set at 0.50, the natural decision boundary, which maximizes recall at the cost of occasionally forwarding borderline sentences; these cases surface as llm_status=empty in the output.
At the interface level, the system highlights sentences based on their offline BERT classification probability: values between 0.50 and 0.75 are highlighted in yellow (mild likelihood), while values above 0.75 are highlighted in red (high likelihood). These highlighted sentences are then annotated with the LLM-identified propaganda technique and an explanation that justifies the classification.
Fig. 2 displays the “glance” view of the interface, showing the percentage of sentences flagged as propaganda, the total number of sentences in the article, and a breakdown of safe (probability < 0.50), mild (0.50–0.75), and severe (> 0.75) sentences.
Fig. 3 provides an example where Propasafe-Hybrid identifies a sentence as exhibiting Loaded Language, and the LLM offers a corresponding explanation for why this technique is present.
Conclusion and Future Work
Fig. 4 shows another mild instance where the LLM classifies a sentence under Obfuscation / Intentional Vagueness / Confusion, accompanied by the model's rationale for the classification.
We introduced Propasafe-Hybrid, a practical system that fuses offline BERT filtering with selective online LLM explainability to deliver real-time, span-level insights where readers encounter content. By classifying sentences locally and sending only likely propagandistic spans for explanation, the tool lowers latency and API usage while preserving interpretability through technique labels and concise rationales. The interface surfaces color-coded confidence cues and inline explanations, helping non-expert readers under-

Figure 2: Glance screen of Propasafe-Hybrid displaying the proportion of flagged sentences and a breakdown by severity level (safe, mild, severe).

Figure 3: Propasafe-Hybrid highlighting a mild propaganda instance (Loaded Language) and providing a technique-level explanation via the OpenAI API.
Local governments would able to send homeowners a yearly bill for specified services such as garbage pickup, street lighting, stormwater control and fire protection, but lawmakers aren't calling that a tax. Voters could also approve assessments for government or school improvements. Authors said they haven't yet decided if homeowners could lose homes for unpaid

Figure 4: Propasafe-Hybrid highlighting a mild propaganda instance (Obfuscation/Intentional Vagueness) and providing a technique-level explanation via the OpenAI API.
stand not only what is propagandistic but also the explanation behind the classification. Looking ahead, we will prioritize a Chrome Web Store release for click-and-use installation and conduct a user study comparing Propasafe-Hybrid to representative alternatives on effectiveness, efficiency, and perceived transparency.
Limitations
At present, the tool supports inference through a single OpenAI model, which constrains cost and latency tuning across different workloads. This single-provider dependency also makes the system vulnerable to model version changes and pricing fluctuations. As future work, we will add multi-provider support. We also plan to let users store multiple API keys securely and choose a default model/key profile before each run. The current implementation defaults to a hybrid mode, which simplifies deployment but limits user control over privacy and reliability trade-offs. Some use cases require fully offline processing, while others benefit from detailed explanations from online models. We plan to work on mode-selector(offline, hybrid, online) so users can pick the most appropriate setting for their context and network conditions. To strengthen verifiability, we will add a side-by-side comparison view that runs the same input through chosen models and modes and displays aligned outputs.
Acknowledgement
This work used computational resources provided by the National Artificial Intelligence Research Resource (NAIRR) Pilot under Allocation NAIRR240383.
References
Barrón-Cedeno, A.; Jaradat, I.; Da San Martino, G.; and Nakov, P. 2019. Proppy: Organizing the news based on their propagandistic content. Information Processing & Management 56(5):1849–1864.
Da San Martino, G.; Yu, S.; Barrón-Cedeno, A.; Petrov, R.; and Nakov, P. 2019. Fine-grained analysis of propaganda in news articles. In Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP), 5636–5646.
Da San Martino, G.; Barrón-Cedeño, A.; Wachsmuth, H.; Petrov, R.; and Nakov, P. 2020a. Semeval-2020 task 11: Detection of propaganda techniques in news articles. In Proceedings of the fourteenth workshop on semantic evaluation, 1377–1414.
Da San Martino, G.; Shaar, S.; Zhang, Y.; Yu, S.; Barrón-Cedeno, A.; and Nakov, P. 2020b. Prica: A system to support the analysis of propaganda techniques in the news. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, 287–293.
Martino, G. D. S.; Cresci, S.; Barrón-Cedeño, A.; Yu, S.; Di Pietro, R.; and Nakov, P. 2020. A survey on computational propaganda detection. arXiv preprint arXiv:2007.08024.
Sharma, V.; Shokri, M. M.; Jain, S.; Levitan, S. I.; and Filatova, E. 2025a. Propasafe: A bert-based offline tool for propaganda detection. In Companion Proceedings of the ACM on Web Conference 2025, 2903–2906.
Sharma, V.; Shokri, M. M.; Levitan, S. I.; Filatova, E.; and Jain, S. 2025b. Analysis of propaganda in tweets from politically biased sources. arXiv preprint arXiv:2507.08169.
Zavolokina, L.; Sprenkamp, K.; Katashinskaya, Z.; Jones, D. G.; and Schwabe, G. 2024. Think fast, think slow, think critical: designing an automated propaganda detection tool. In Proceedings of the 2024 CHI Conference on Human Factors in Computing Systems, 1–24.
Zavolokina, L.; Sprenkamp, K.; Katashinskaya, Z.; and Jones, D. G. 2025. Biased by design: Leveraging inherent ai biases to enhance critical thinking of news readers. arXiv preprint arXiv:2504.14522.