On the Evolution of (Hateful) Memes by Means of Multimodal Contrastive Learning

Yiting Qu, Xinlei He, Shannon Pierson, Michael Backes, Yang Zhang, Savvas Zannettou

Introduction

Internet memes function as the "biological" units of digital culture, propagating through variation, mutation, and inheritance. This evolutionary nature presents a significant challenge for content moderation. Traditional detection methods, such as perceptual hashing, are easily bypassed by minor visual or textual alterations. Because meme meaning emerges from the multimodal interplay between image and text, a robust detection system must capture semantic essence rather than mere pixel-level similarity. This research introduces a framework leveraging multimodal contrastive learning to track the evolution of hateful memes at scale.

Methodology

The proposed framework utilizes OpenAI’s CLIP (Contrastive Language-Image Pre-training) to map memes into a shared high-dimensional vector space where images and text can be directly compared.

Domain-Specific Fine-tuning

To account for the unique slang and visual metaphors found in fringe communities, the researchers fine-tuned CLIP on a dataset of 10.4 million image-text pairs sourced from 4chan. This ensures the model understands the specific cultural context of the data it analyzes.

Multimodal Clustering and Vector Arithmetic

The system employs DBSCAN (Density-Based Spatial Clustering of Applications with Noise) on "fused" embeddings—calculated as the sum of image and text vectors. This approach groups memes by semantic theme rather than just visual similarity.

A key innovation is the application of vector arithmetic to identify mutations. Similar to the linguistic relationship King - Man + Woman ≈ Queen, the framework demonstrates that Happy Merchant + Donald Trump ≈ Trump-themed Merchant. This allows for the systematic identification of "Influencers" (source concepts) and their "Variants" (mutated memes).

Automated Annotation

To facilitate human interpretability of large-scale clusters, KeyBERT is used to automatically generate descriptive labels for each identified group, making massive datasets manageable for researchers.

Experimental Setup

The study analyzed a longitudinal dataset from 4chan’s /pol/ board, covering June 2016 to July 2017, totaling 12.5 million image-text pairs. Evaluation focused on tracking the lineages of specific hateful tropes, notably the "Happy Merchant" and "Pepe the Frog."

Results and Key Insights

The framework successfully identified 3,321 variants of the Happy Merchant meme. Manual evaluation showed 78% accuracy in variant identification and 53% accuracy in pinpointing the specific "influencer" image driving the mutation.

The Logic of Hate

The success of simple vector addition suggests that the latent space of the fine-tuned CLIP model effectively encodes the semantic logic used by bad actors to construct hateful content. Furthermore, the study confirmed that multimodality is essential; clustering on images alone often failed to distinguish between benign and hateful uses of the same visual assets (e.g., distinguishing a "Nazi Pepe" from a standard frog).

The researchers identified 35 distinct hateful communities, ranking them by "hate score" using the Perspective API. Temporal analysis revealed that meme evolution often correlates with real-world events, such as a surge in election-related hateful variants during the 2016 US presidential campaign.

Limitations and Future Work

While highly automated, the system still produces false positives, occasionally misclassifying images with similar artistic styles as variants. Current implementation requires human-in-the-loop verification to set similarity thresholds. Future research will focus on generalizing the framework to mainstream platforms like Reddit and X (formerly Twitter) and developing real-time dashboards for monitoring emerging hateful symbols.

Summary updated

BibTeX
@inproceedings{qu2023evolution,
  author = {Yiting Qu and Xinlei He and Shannon Pierson and Michael Backes and Yang Zhang and Savvas Zannettou},
  title = {{On the Evolution of (Hateful) Memes by Means of Multimodal Contrastive Learning}},
  booktitle = {SP},
  year = {2023},
  url = {https://openreview.net/forum?id=ZGNALjg3wJ},
}
Figure