Clickbait Detection via Contrastive Variational Modelling of Text and Label

Xiaoyuan Yi, Jiarui Zhang, Wenhao Li, Xiting Wang, Xing Xie

Abstract

Clickbait detection is a critical task for maintaining the integrity of the digital information ecosystem. Traditional discriminative models often struggle with data scarcity and overfit to superficial patterns. This paper introduces Contrastive Variational Modelling (CVM), a framework that treats clickbait detection as a joint process of understanding and generation. By leveraging a Conditional Variational AutoEncoder (CVAE) and a mixed contrastive loss, CVM learns to both classify and reconstruct headlines. Experimental results across three diverse datasets demonstrate that CVM significantly outperforms standard classifiers like BERT and UniLM, particularly in low-resource scenarios.

Introduction: The Challenge of Clickbait

Clickbait—sensationalized or deceptive headlines designed to lure clicks—erodes user trust and damages the web ecosystem. While the field has evolved from manual feature engineering to deep neural networks like BERT, these models face a fundamental hurdle: data scarcity. Most clickbait datasets are relatively small, leading standard discriminative classifiers (which map Text $\to$ Label) to overfit to spurious patterns or biased labels rather than understanding underlying textual properties.

The authors propose that learning to "write" clickbait can promote better comprehension. If a model can learn the nuances of how a clickbait headline differs from a legitimate one by attempting to generate both, it becomes a more robust judge of content quality.

Methodology: Contrastive Variational Modelling (CVM)

The CVM framework approaches clickbait detection through a dual-objective lens of understanding and generation.

Variational Modelling

Instead of a simple classifier, CVM utilizes a Conditional Variational AutoEncoder (CVAE) to map text and labels into a shared latent space ($z$). This architecture supports two primary directions:

  1. Prediction Direction: The model predicts the label (clickbait or non-clickbait) based on the input text.
  2. Generation Direction: The model attempts to reconstruct or generate the text given a specific label. This forces the latent representation to capture rich textual properties that a simple discriminative classifier might ignore.
The CVM framework architecture, illustrating the dual optimization of generation and detection through shared latent spaces.

Mixed Contrastive Loss

To ensure the latent spaces for "clickbait" and "normal news" remain distinct, the authors introduce a contrastive learning component. The model uses its generative capability to create "counterpart" headlines. By pushing the representations of clickbait and non-clickbait headlines apart while pulling similar ones together in the latent space, the model establishes a sharper decision boundary. The backbone of this system is a Transformer decoder initialized with UniLM, serving as both a feature extractor and an autoregressive generator.

Experimental Setup

The framework was evaluated on three distinct datasets:

  • News (Kaggle): A public dataset of news headlines.
  • Tweet: A multi-modal dataset from a clickbait detection competition, focusing on post text, titles, and article paragraphs.
  • NELA: A dataset designed for "incongruence detection," where headlines are sensational but the body text is contradictory or irrelevant.

Key Results and Discussion

CVM consistently outperformed strong baselines across all evaluated datasets. On the News dataset, it achieved a 71.4 Macro F1, compared to 68.9 for BERT and 69.5 for UniLM. Similar gains were observed on the Tweet (69.4 F1) and NELA (82.7 F1) datasets.

Precision-Recall curves comparing CVM (Ours) against UniLM and BERT baselines, showing superior performance across the threshold range.

Insights from the Generative Approach

  • Robustness to Small Data: Generative modeling proves more robust to label bias than purely discriminative approaches when training data is limited.
  • The "Writing" Advantage: Ablation studies confirmed that removing the generation loss ($L_g$) led to a significant performance drop (e.g., 2.9 points in F1 on the News dataset), validating that modeling text generation directly aids classification.
  • Probability Calibration: Unlike BERT, which often outputs overconfident probabilities (e.g., >0.95) even when incorrect, CVM produces smoother distributions, allowing for more flexible thresholding in real-world moderation tasks.

Conclusion and Future Work

The CVM framework demonstrates that integrating generative objectives into clickbait detection enhances model robustness and accuracy. While currently focused on text, future iterations could incorporate multi-modal signals like images or metadata. Additionally, the authors plan to explore "controllable generation" to automatically rewrite clickbait headlines into neutral, informative versions, further improving the quality of the digital information landscape.

Summary updated

BibTeX
@inproceedings{yi2022clickbait,
  author = {Xiaoyuan Yi and Jiarui Zhang and Wenhao Li and Xiting Wang and Xing Xie},
  title = {{Clickbait Detection via Contrastive Variational Modelling of Text and Label}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/621},
}
Figure