ClickGuard: Detecting and Spoiling Clickbait News with Informativeness Measures and Large Language Models

arXiv cs.AI Papers

Summary

This paper presents ClickGuard, a browser extension that detects and spoils clickbait news using a hybrid machine learning model combining transformer embeddings and linguistic features, achieving 91% F1-score on a combined dataset.

arXiv:2607.20463v1 Announce Type: new Abstract: This paper presents an AI-driven browser extension that identifies clickbait to help users avoid misleading Internet articles. Moving beyond traditional detection, the application employs a hybrid machine learning architecture that combines transformer-based embeddings with linguistically motivated features and a custom "baitness" score. After evaluating various natural language processing techniques -- from classic vectorizers to large language model (LLM) embeddings -- an XGBoost-based model was developed that achieves an F1-score of 91% on the open combined dataset. Most importantly, the tool can warn users before and after they access a clickbait article. After opening an article, the user receives a percentage score indicating the likelihood that it is clickbait. The prediction is explained based on the analyzed metrics, including those specifically developed within the proposed system. The browser extension also provides a clickbait spoiler -- a one- to two-sentence summary of the entire article. Demo video:https://www.youtube.com/watch?v=IJ1gkQV82C4}{https://www.youtube.com/watch?v=IJ1gkQV82C4
Original Article
View Cached Full Text

Cached at: 07/24/26, 04:59 AM

# ClickGuard: Detecting and Spoiling Clickbait News with Informativeness Measures and Large Language Models
Source: [https://arxiv.org/html/2607.20463](https://arxiv.org/html/2607.20463)
Wojciech Michaluk Faculty of Mathematics and Information Science Warsaw University of Technology Warsaw, Poland wojciech\.michaluk\.stud@pw\.edu\.plTymoteusz Urban Faculty of Mathematics and Information Science Warsaw University of Technology Warsaw, Poland tymoteusz\.urban\.stud@pw\.edu\.plMateusz Kubita Faculty of Mathematics and Information Science Warsaw University of Technology Warsaw, Poland mateusz\.kubita\.stud@pw\.edu\.plSoveatin Kuntur Faculty of Mathematics and Information Science Warsaw University of Technology Warsaw, Poland soveatin\.kuntur\.dokt@pw\.edu\.plAnna Wróblewska Faculty of Mathematics and Information Science Warsaw University of Technology Warsaw, Poland anna\.wroblewska1@pw\.edu\.pl

###### Abstract

This paper presents an AI\-driven browser extension that identifies clickbait to help users avoid misleading Internet articles\. Moving beyond traditional detection, the application employs a hybrid machine learning architecture that combines transformer\-based embeddings with linguistically motivated features and a custom "baitness" score\. After evaluating various natural language processing techniques — from classic vectorizers to large language model \(LLM\) embeddings — an XGBoost\-based model was developed that achieves an F1\-score of 91% on the open combined dataset\. Most importantly, the tool can warn users before and after they access a clickbait article\. After opening an article, the user receives a percentage score indicating the likelihood that it is clickbait\. The prediction is explained based on the analyzed metrics, including those specifically developed within the proposed system\. The browser extension also provides a clickbait spoiler — a one\- to two\-sentence summary of the entire article\. Demo video: [https://www\.youtube\.com/watch?v=IJ1gkQV82C4](https://www.youtube.com/watch?v=IJ1gkQV82C4)

![Refer to caption](https://arxiv.org/html/2607.20463v1/visual_abstract_good.png)Figure 1:Visual abstract of the ClickGuard## 1Introduction

Clickbait refers to online content specifically designed to entice readers to click a link, but that offers very little reward for doing so\[[15](https://arxiv.org/html/2607.20463#bib.bib21)\]\. As a result, clickbait has become a widespread problem on the Internet, wasting users’ time and contributing to the spread of disinformation\. Most existing clickbait detection approaches formulate the task as a binary classification problem and rely on full article content, multimodal inputs, or computationally expensive language models, making them largely unsuitable for real\-time, real\-world deployment\[[17](https://arxiv.org/html/2607.20463#bib.bib56)\]\[[1](https://arxiv.org/html/2607.20463#bib.bib53)\]\. \(Figure[1](https://arxiv.org/html/2607.20463#S0.F1)presents a visual abstract summarizing the system’s workflow\.\)

Our goal was to address this challenge by filling the gap between theoretical NLP advancements and practical, user\-centric tools\. We developedClickGuard, a browser extension that not only detects clickbait but also informs Internet users about the potential threat of clicking a clickbait article\. It is worth mentioning that existing solutions often function as "black boxes"\. The solution presented in this article prioritizes interpretability\. One implemented a hybrid machine learning framework that combines dense vector representations from Large Language Models \(LLMs\) with a novel set of 15 linguistically motivated "informativeness measures" — such as the usage of superlatives, second\-person pronouns, and specific punctuation patterns\[[19](https://arxiv.org/html/2607.20463#bib.bib43)\]\.

A broad spectrum of architectures was evaluated, ranging from classic baselines to advanced transformer\-based models such as BERT and RoBERTa\[[9](https://arxiv.org/html/2607.20463#bib.bib46)\]\. The proposed solution leverages an XGBoost classifier trained on hybrid features, achieving an F1\-score of 91% on combined open datasets for clickbait detection, and outperforming both purely embedding\-based approaches and LLM\-based classification\. This analysis informed the selection of a model that balances high predictive accuracy with the computational efficiency required for a browser\-based environment\. In addition to detection,ClickGuardaddresses the curiosity gap via automated content spoiling\. Generative AI extracts and summarizes key information from clickbait articles, which allows users to satisfy their curiosity without visiting the page\[[6](https://arxiv.org/html/2607.20463#bib.bib44)\]\[[8](https://arxiv.org/html/2607.20463#bib.bib45)\]\. We integrated these models intoClickGuard, a real\-time browser extension that analyzes headlines on search engines and full articles upon navigation\. Moreover, the extension provides a "baitness" score and explanations based on our informativeness metrics\.

![Refer to caption](https://arxiv.org/html/2607.20463v1/architektura.png)Figure 2:Client–server architecture ofClickGuard, consisting of the browser extension and a Python REST API backend\.
## 2Related Work

Research in clickbait detection has evolved from utilizing classic machine learning techniques\[[3](https://arxiv.org/html/2607.20463#bib.bib33)\]to employing advanced deep learning architectures\. Recent research shows that advanced AI models, such as Deep Recurrent Neural Networks\[[12](https://arxiv.org/html/2607.20463#bib.bib26)\]and other deep learning methods\[[5](https://arxiv.org/html/2607.20463#bib.bib191)\], are highly effective at detecting sensationalist headlines and clickbait\. In the domain of practical applications, browser extensions such asCliNe\[[11](https://arxiv.org/html/2607.20463#bib.bib47)\]andClickBaitSecurity\[[12](https://arxiv.org/html/2607.20463#bib.bib26)\]have been developed to offer real\-time protection\. However, most existing tools operate as binary classifiers, failing to address the user’s curiosity gap\. Our work bridges this limitation by incorporating generative content spoiling\[[7](https://arxiv.org/html/2607.20463#bib.bib36)\]to satisfy user curiosity directly\.

## 3System Architecture

TheClickGuardsystem follows a client\-server architecture that offloads computationally intensive tasks from the user’s browser to a scalable cloud backend — see Figure[2](https://arxiv.org/html/2607.20463#S1.F2)\. The solution consists of two primary components: a Chromium\-based browser extension \(client\) and a Python microservice \(server\) hosted on the Google Cloud Platform\.

##### Browser Extension \(Client\)\.

Built on Chrome Manifest V3, the client consists of the following components:

Content Script \#1 \(Post\-click mode\):Activated on an opened article page\. It extracts the page title and body\. Forwards the content to the Service Worker for backend analysis, displays the returned probability score, and spoiler in the pop\-up interface\.

Content Script \#2 \(Pre\-click mode\):Executed on supported search engines and news pages\. It scans the DOM for article links, sends URLs in batches for analysis, and injects colored risk badges next to headlines before the user clicks\.

Service Worker:A background orchestrator responsible for internal messaging, REST API communication with the Python backend, and local caching of predictions\.

Popup Interface:A visual front\-end displaying the ”baitness” score, interpretability explanation, and generated spoiler\.

##### Backend and API\.

The backend is a containerized Python microservice \(Flask\) deployed on Google Cloud Run\. It performs content extraction usingBeautifulSoup4andTrafilaturaand exposes a REST API with separate pre\-click and post\-click endpoints\.

Pre\-click Endpoint:Batch\-analyzes URLs from search results and returns probability scores used to render colored risk badges \(Figure[3](https://arxiv.org/html/2607.20463#S3.F3)\)\.

Post\-click Endpoint:Processes the opened article and returns a prediction, probability score, explanation, and generated spoiler \(Figure[4](https://arxiv.org/html/2607.20463#S3.F4)\)\.

![Refer to caption](https://arxiv.org/html/2607.20463v1/pre_warning.png)Figure 3:ClickGuardoperating in pre\-click mode\. Icons next to headlines represent the clickbait probability calculated by a hybrid XGBoost model\.![Refer to caption](https://arxiv.org/html/2607.20463v1/image.png)Figure 4:ClickGuardin post\-click mode with clickbait spoiling

## 4Machine Learning Models

To enable real\-time intervention against clickbait within a browser extension, one developed a two\-stage pipeline: a hybrid classification model for detection and a generative model for content spoiling\. One evaluated several methods ranging from traditional lexical baselines to large language models \(LLMs\) to balance accuracy with latency constraints\.

##### Training Dataset\.

One used four English\-language datasets to develop and evaluate our detection and spoiling models:Kaggle Datasets:Two datasets totaling approximately 53,000 news headlines with binary clickbait labels\[[2](https://arxiv.org/html/2607.20463#bib.bib24)\]\[[16](https://arxiv.org/html/2607.20463#bib.bib27)\]\.Clickbait Challenge 2017:38,830 social media posts\[[18](https://arxiv.org/html/2607.20463#bib.bib29)\]\.SemEval\-2023 Task 5:Approximately 4,000 entries annotated with both abstractive and extractive spoilers, used for the spoiling task\[[10](https://arxiv.org/html/2607.20463#bib.bib48)\]\.

For detection, one combined the Kaggle and Clickbait Challenge datasets and created a balanced subset of 20,000 clickbait and 20,000 non\-clickbait headlines to prevent classifier bias\[[4](https://arxiv.org/html/2607.20463#bib.bib39)\]\.

### 4\.1Clickbait Detection

For this binary classification task, one benchmarked various baselines, including TF\-IDF, Word2Vec, and RoBERTa\. Our top results came from ahybrid architecturethat combines deep semantic embeddings with explicit linguistic features\[[3](https://arxiv.org/html/2607.20463#bib.bib33)\]\.

Deep Semantic Embeddings:One utilized OpenAI’stext\-embedding\-3\-largeto generate dense vector representations of headlines\. An ablation study on dimensionality indicated that projecting embeddings down to 1,000 dimensions \(from 3,072\) maintained predictive performance while significantly reducing computational overhead\[[13](https://arxiv.org/html/2607.20463#bib.bib35)\]\. Informativeness Measures:To capture stylistic nuances not always preserved in semantic embeddings, one computed 15 handcrafted linguistically motivated features\[[19](https://arxiv.org/html/2607.20463#bib.bib43)\]\. These include readability metrics \(e\.g\., FRES\), sentiment scores \(polarity, subjectivity\), and structural indicators like the ratio of stop words and "bait" punctuation\. Crucially, one introduced a custom"Baitness" measure, a composite score that aggregates eye\-catchingness \(e\.g\., capitalization, numerals\) and curiosity\-inducing patterns, which proved effective at separating classes\[[14](https://arxiv.org/html/2607.20463#bib.bib51)\]\.

#### 4\.1\.1Classifier Selection

Trained tree\-based classifiers, specifically Random Forest and XGBoost, on these hybrid representations\. TheXGBoostclassifier, trained on the concatenated vector of 1,000\-dimensional embeddings and the 115 informativeness measures, achieved the highest performance on our dataset \(test split\), with an F1\-score of 0\.909\. Table[1](https://arxiv.org/html/2607.20463#S4.T1)details the confusion matrix for this model, showing a balanced performance with slightly higher precision in the non\-clickbait class\.

Table 1:Confusion matrix for the best performing model\. The layout is set to match the width of the performance comparison table\.Table[2](https://arxiv.org/html/2607.20463#S4.T2)summarizes the performance of our proposed model against the baselines\. It should be noted that this hybrid approach outperformed models that were trained only on embeddings \(without stylistic features\) by approximately 4\.5 percentage points\.

Feature RepresentationClassifierF1\-ScoreBaselinesTF\-IDFRandom Forest0\.829Word2Vec \(Google News\)XGBoost0\.829RoBERTa \(Fine\-tuned\)Transformer0\.842OpenAI Embeddings \(3072d\)XGBoost0\.864Proposed Hybrid ModelOpenAI Emb\. \(1000d\) \+ 15 FeaturesXGBoost0\.909Table 2:Performance comparison of clickbait detection models\. Numeric values are right\-aligned as per guidelines\.

### 4\.2Clickbait Spoiling

Our system uses a spoiling module to generate brief summaries that satisfy the reader’s curiosity\. We also experimented with extractive methods using RoBERTa and fine\-tuning T5\-large, but encountered limitations regarding output coherence and computational resources\. Finally, we decided to use GPT\-4o\-mini via for the browser extension\.

## 5Summary and Impact

This paper presentsClickGuard, a practical AI application designed to address challenges arising from the digital attention economy and online disinformation\.ClickGuardwarns users about potential manipulative content — so\-called clickbaits\. The solution integrates AI methods: 1\) a hybrid architecture combining deep semantic embeddings with 15 explicit linguistic features \(achieving an F1\-score of 0\.909 on a big open dataset\); 2\) an LLM\-based solution for spoiling the detected potential clickbait content\.

While studying the search results page, the user is shown a pre\-click warning that indicates the site’s clickbait probability\. After opening a new site in post\-click mode, the user is provided with an additional summary of the entire page — so\-called clickbait spoiler\. Our solution can save time and reduce user information overload when reading news articles online\.

The current version was fine\-tuned on English datasets; however, adapting it to other languages or multilingual settings requires minor adjustments to the linguistic features and fine\-tuning of our machine learning models\. Our solution is also cost\-effective because of simple language statistics as features and a small embedding model, with only additional spoiling handled by the LLM\.

## Acknowledgement

This work was supported by the European Union under the Horizon Europe grant "Overcoming Multilevel Information Overload" \(OMINO,[https://ominoproject\.eu](https://ominoproject.eu/), grant no\. 101086321\) and by the Polish Ministry of Education and Science within the framework of the program titled International Projects Co\-Financed\. However, the views and opinions expressed are those of the authors only and do not necessarily reflect those of the European Union or the European Research Executive Agency\. Neither the European Union nor the European Research Executive Agency can be held responsible for them\. We are thankful to PhD Daniel Dan, PhD Robert Paluch and M\.Sc\. Eng\. Adam Majczyk for their assistance and helpful remarks\. Their input was greatly appreciated\.

## References

- \[1\]\(2026\)A multimodal ensemble\-based framework for detecting fake news using visual and textual features\.Mathematics14\(2\),pp\. 360\.Cited by:[§1](https://arxiv.org/html/2607.20463#S1.p1.1)\.
- \[2\]A\. Anand\(2019\)Clickbait dataset\.Note:[https://www\.kaggle\.com/datasets/amananandrai/clickbait\-dataset/](https://www.kaggle.com/datasets/amananandrai/clickbait-dataset/)Accessed: 28 October 2024Cited by:[§4](https://arxiv.org/html/2607.20463#S4.SS0.SSS0.Px1.p1.1)\.
- \[3\]M\. Bronakowski, M\. Al\-khassaweneh, and A\. Al Bataineh\(2023\-01\)Automatic detection of clickbait headlines using semantic analysis and machine learning techniques\.Applied Sciences13\(4\)\.Note:Accessed: 30 October 2024\. DOI:[https://doi\.org/10\.3390/app13042456](https://doi.org/10.3390/app13042456)Cited by:[§2](https://arxiv.org/html/2607.20463#S2.p1.1),[§4\.1](https://arxiv.org/html/2607.20463#S4.SS1.p1.1)\.
- \[4\]C\. Chen and L\. Breiman\(2004\-01\)Using random forest to learn imbalanced data\.Note:[https://www\.researchgate\.net/publication/254196943\_Using\_Random\_Forest\_to\_Learn\_Imbalanced\_Data](https://www.researchgate.net/publication/254196943_Using_Random_Forest_to_Learn_Imbalanced_Data)Accessed: 30 October 2024Cited by:[§4](https://arxiv.org/html/2607.20463#S4.SS0.SSS0.Px1.p2.1)\.
- \[5\]A\. Chowanda, N\. Nadia, and L\. Kolbe\(2023\-06\)Identifying clickbait in online news using deep learning\.Bulletin of Electrical Engineering and Informatics12,pp\. 1755–1761\.Note:Accessed: 29 October 2024\. DOI:[10\.11591/eei\.v12i3\.4444](https://doi.org/10.11591/eei.v12i3.4444)External Links:[Document](https://dx.doi.org/10.11591/eei.v12i3.4444)Cited by:[§2](https://arxiv.org/html/2607.20463#S2.p1.1)\.
- \[6\]M\. Hagen, M\. Fröbe, A\. Jurk, and M\. Potthast\(2022\)Clickbait spoiling via question answering and passage retrieval\.Note:[https://arxiv\.org/abs/2203\.10282](https://arxiv.org/abs/2203.10282)arXiv preprint, accessed 29 October 2024Cited by:[§1](https://arxiv.org/html/2607.20463#S1.p3.1)\.
- \[7\]M\. Hagen, M\. Fröbe, A\. Jurk, and M\. Potthast\(2022\-03\)Clickbait spoiling via question answering and passage retrieval\.arXiv\.Note:Accessed: 29 October 2024\. DOI:[https://doi\.org/10\.48550/arXiv\.2203\.10282](https://doi.org/10.48550/arXiv.2203.10282)Cited by:[§2](https://arxiv.org/html/2607.20463#S2.p1.1)\.
- \[8\]Y\. Liu, T\. Han, S\. Ma, J\. Zhang, Y\. Yang, J\. Tian, H\. He, A\. Li, M\. He, Z\. Liu, Z\. Wu, L\. Zhao, D\. Zhu, X\. Li, N\. Qiang, D\. Shen, T\. Liu, and B\. Ge\(2023\-09\)Summary of ChatGPT\-related research and perspective towards the future of large language models \(LLMs\)\.Meta\-Radiology1\(2\),pp\. 100017\.Cited by:[§1](https://arxiv.org/html/2607.20463#S1.p3.1)\.
- \[9\]Y\. Liu, M\. Ott, N\. Goyal, J\. Du, M\. Joshi, D\. Chen, O\. Levy, M\. Lewis, L\. Zettlemoyer, and V\. Stoyanov\(2019\-07\)RoBERTa: a robustly optimized BERT pretraining approach\.arXiv preprint arXiv:1907\.11692\.Cited by:[§1](https://arxiv.org/html/2607.20463#S1.p3.1)\.
- \[10\]PAN Webis\(2023\)Clickbait challenge at SemEval 2023 — clickbait spoiling\.Note:[https://pan\.webis\.de/semeval23/pan23\-web/clickbait\-challenge\.html](https://pan.webis.de/semeval23/pan23-web/clickbait-challenge.html)Cited by:[§4](https://arxiv.org/html/2607.20463#S4.SS0.SSS0.Px1.p1.1)\.
- \[11\]J\. Patel and A\. Prajapati\(2023\)CliNe AI chrome extension\.Note:[https://github\.com/Janakarpatel/CliNe\.AI\_Chrome\-Extension](https://github.com/Janakarpatel/CliNe.AI_Chrome-Extension)Cited by:[§2](https://arxiv.org/html/2607.20463#S2.p1.1)\.
- \[12\]A\. Razaque, B\. Alotaibi, M\. Alotaibi, S\. Hussain, A\. Alotaibi, and V\. Jotsov\(2022\)Clickbait detection using deep recurrent neural network\.Applied Sciences12\(1\)\.Note:Accessed: 29 October 2024\. DOI:[https://doi\.org/10\.3390/app12010504](https://doi.org/10.3390/app12010504)Cited by:[§2](https://arxiv.org/html/2607.20463#S2.p1.1)\.
- \[13\]N\. Reimers and I\. Gurevych\(2019\-11\)Sentence\-BERT: sentence embeddings using siamese BERT\-networks\.InProceedings of the 2019 Conference on Empirical Methods in Natural Language Processing,Note:Accessed: 30 October 2024\.[https://arxiv\.org/abs/1908\.10084](https://arxiv.org/abs/1908.10084)Cited by:[§4\.1](https://arxiv.org/html/2607.20463#S4.SS1.p2.1)\.
- \[14\]M\. Reisenbichler, T\. Reutterer, D\. A\. Schweidel, and D\. Dan\(2022\)Frontiers: supporting content marketing with natural language generation\.Marketing Science41\(3\),pp\. 441–452\.Cited by:[§4\.1](https://arxiv.org/html/2607.20463#S4.SS1.p2.1)\.
- \[15\]K\. Scott\(2021\)You won’t believe what’s in this paper\! clickbait, relevance and the curiosity gap\.Journal of Pragmatics175,pp\. 53–66\.External Links:ISSN 0378\-2166,[Document](https://dx.doi.org/10.1016/j.pragma.2020.12.023),[Link](https://www.sciencedirect.com/science/article/pii/S0378216621000229)Cited by:[§1](https://arxiv.org/html/2607.20463#S1.p1.1)\.
- \[16\]V\. Singh\(2020\)News clickbait dataset\.Note:[https://www\.kaggle\.com/datasets/vikassingh1996/news\-clickbait\-dataset](https://www.kaggle.com/datasets/vikassingh1996/news-clickbait-dataset)Accessed: 28 October 2024Cited by:[§4](https://arxiv.org/html/2607.20463#S4.SS0.SSS0.Px1.p1.1)\.
- \[17\]Y\. Wang, Y\. Zhu, Y\. Li, L\. Wei, Y\. Yuan, and J\. Qiang\(2025\)Multi\-modal soft prompt\-tuning for chinese clickbait detection\.Neurocomputing614,pp\. 128829\.Cited by:[§1](https://arxiv.org/html/2607.20463#S1.p1.1)\.
- \[18\]Webis\(2017\)Clickbait detection challenge 2017\.Note:[https://webis\.de/events/clickbait\-challenge/shared\-task\.html](https://webis.de/events/clickbait-challenge/shared-task.html)Accessed: 28 October 2024Cited by:[§4](https://arxiv.org/html/2607.20463#S4.SS0.SSS0.Px1.p1.1)\.
- \[19\]J\. Yu, S\. Wang, H\. Yin, Z\. Sun, R\. Xie, B\. Zhang, and Y\. Rao\(2024\)Multimodal clickbait detection by de\-confounding biases using causal representation inference\.Note:[https://arxiv\.org/abs/2410\.07673](https://arxiv.org/abs/2410.07673)arXiv preprint, accessed 29 October 2024Cited by:[§1](https://arxiv.org/html/2607.20463#S1.p2.1),[§4\.1](https://arxiv.org/html/2607.20463#S4.SS1.p2.1)\.

Similar Articles

Cross-Prompt Generalization in Detecting AI-Generated Fake News Using Interpretable Linguistic Features

arXiv cs.CL

Researchers from Kennesaw State University investigate cross-prompt generalization in detecting AI-generated fake news using interpretable linguistic features (lexical diversity, readability, emotion). A random forest classifier trained on one prompting strategy and tested on another achieves AUC values of 0.988–1.000, suggesting these features capture stable, generalizable properties of AI-generated text.

Prefill Awareness in Large Language Models

arXiv cs.AI

This paper investigates whether frontier language models can detect when their prior assistant messages have been inserted or edited (prefill awareness). The study finds that models like Claude Opus 4.5 exhibit substantial prefill awareness, detecting tampered prefills in up to 35% of cases without false positives, which could compromise the validity of prefill-based safety evaluations.

Know2Guess: A Contamination-Aware Multi-Zone Benchmark for Knowledge-Boundary Evaluation in Large Language Models

arXiv cs.CL

This paper introduces Know2Guess, a contamination-aware multi-zone benchmark designed to evaluate the transition from answerable knowledge to expected abstention in large language models, addressing data contamination, prompt sensitivity, and refusal behavior. The authors assess FLAN-T5, Qwen2.5-Instruct, and Llama-3-Instruct models, finding that stronger models show selective but incomplete abstention. The benchmark and dataset are publicly released.