Labels or Input? Rethinking Augmentation in Multimodal Hate Detection

Sahajpreet Singh, Kokil Jaidka, Subhayan MukerjeearXiv 2025

TL;DR

Detecting hateful memes is notoriously difficult for AI due to the subtle, culturally grounded interplay between text and imagery. This paper demonstrates that instead of relying on massive, computationally expensive models, we can significantly boost smaller, deployable models using two complementary strategies: structured prompt optimization (generating granular 0–9 hatefulness scales) and a multi-agent counterfactual data augmentation pipeline that neutralizes toxic captions while preserving visual context.

What Problem Does This Paper Address?

Online hate speech has evolved beyond simple text. Hateful memes mask hostility behind humor, sarcasm, and complex visual-textual interactions. While large Vision-Language Models (VLMs) perform well on explicit harm, they are expensive to run at scale and frequently stumble on implicit nuance.

Smaller, more compact models are preferred for production environments, but they suffer from two major bottlenecks:

  1. Weak Supervision: Standard datasets rely on simplistic binary labels (hateful vs. non-hateful), failing to capture degrees of severity or specific types of hate.
  2. Spurious Correlations: Models often overfit to surface-level features—for example, falsely associating a specific demographic group's image with a toxic label, regardless of what the caption actually says.

The authors investigate a fundamental question in computational social science: Is it more effective to improve our prompting and supervision (labels) or refine the underlying training data (inputs)?

Methods

The authors tackle the problem from both the label and input sides using a two-pronged framework:

1. Prompt Optimization (Label Augmentation)

Instead of sticking to binary classifications, the authors use a high-performing teacher model (GPT-4o-mini) to generate granular, scale-based annotations on an integer scale from 0 (not hateful) to 9 (extremely hateful). They test a full-factorial design across different learning styles, evaluating simple prompts against highly structured, category-based prompts that explicitly define subtypes of hate (e.g., misogyny, xenophobia, political hate).

2. Multimodal Data Augmentation (Input Augmentation)

To break spurious text-image correlations, the authors design a multi-agent pipeline to generate counterfactually neutral memes. Crucially, to remain ethically responsible, they never generate new hate speech; they only neutralize existing memes where the caption is the driving toxic element.

Figure 1: Overview of the augmentation pipeline. Red and green boxes indicate hateful and non-hateful content. In part B, the augmented data is created for the green–red pairs—cases where the background is non-hateful but is used in combination with a hateful caption, resulting in a hateful interpretation.

The pipeline operates as follows:

  • Attribution: A zero-shot classifier (Qwen2.5-14B) identifies memes where the caption is the primary source of hatefulness.
  • Caption Neutralization: A VLM (InternLM-XComposer-2.5-7B) generates a text-free background description of the image. GPT-4o-mini then rewrites the toxic caption into a neutral or positive alternative that remains contextually grounded in the image.
  • Meme Regeneration: Gemini 2.0 Flash overlays the new, benign caption onto the original image while preserving the layout and visual style.

Datasets

  • Facebook Hateful Memes Dataset: The primary benchmark, consisting of roughly 12.9K image-caption pairs annotated for binary hatefulness.
  • Meme-Sanity: The authors' newly introduced dataset extension, containing 2,479 counterfactually neutral memes generated via their pipeline to serve as a robust debiasing benchmark.

Key Insights and Ideas

  • Task Complexity Dictates Prompt Style: For straightforward binary classification, adding detailed category definitions introduces unnecessary noise for smaller models, causing performance to drop. However, when dealing with nuanced, scaled labels (0–9), structured category prompts significantly help both small and large models discern subtle degrees of hate.
  • Prompting Can Rival Fine-Tuning: On the scaled dataset, zero-shot category prompting of a large VLM (InternVL2-4B) achieved an F1-score of 64.74, slightly outperforming full fine-tuning on the same data (63.28). This highlights a massive potential for cost-effective, zero-shot moderation systems.
  • Counterfactuals Force Semantic Reasoning: By feeding models identical visual backgrounds paired with both hateful and neutralized text, the models are forced to learn the true semantic interplay between modalities rather than memorizing superficial visual cues.

Key Results

  • Label Augmentation Performance: Fine-tuning InternVL2-4B on binary data yielded a peak F1-score of 67.28 using a simple prompt. On scaled data, switching to a category prompt boosted InternVL2's zero-shot performance from 60.00 to 64.74 F1.
  • Data Augmentation Gains: Integrating the Meme-Sanity counterfactuals led to consistent F1 improvements across text-only, vision-only, and multimodal architectures.
  • Text Unimodal: RoBERTa saw its F1 score jump significantly from 47.18 to 52.54.
  • Multimodal Fine-Tuning: The compact SmolVLM (2B) improved from 51.12 to 54.53 F1. The state-of-the-art Qwen2-VL (7B) achieved the highest overall performance, climbing from 69.59 to 71.31 F1 after training on the extended dataset.

Limitations and Future Work

Despite the success of the automated pipeline, human evaluation revealed several generation artifacts. In an audit of 200 generated memes, 7 cases completely omitted the caption text. Other instances suffered from semantic drift—such as losing critical background details (like a character's visible disability)—or minor visual inconsistencies like incorrect character orientation.

Because of these nuances, the authors emphasize that manual or semi-automated validation loops remain essential for high-fidelity dataset curation. Future work will focus on scaling the pipeline to culturally diverse settings, improving context preservation, and testing generalization across various social media platforms.

Summary updated

BibTeX
@misc{singh2025labels,
  author = {Sahajpreet Singh and Kokil Jaidka and Subhayan Mukerjee},
  title = {{Labels or Input? Rethinking Augmentation in Multimodal Hate Detection}},
  year = {2025},
  eprint = {2508.11808},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.11808},
}
Figure