Skip to content
Back to skills

Hateful Memes Eval

ASecurity

Evaluates multimodal models' ability to detect hateful or harmful memes by analyzing the alignment between image and text content. It probes robustness against visual and textual confounders that appear benign individually but become harmful when combined. Use when the user wants to benchmark on HatefulMemes, HarMeme, or asks about evaluating this task. Reports AUC.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythongogit

Works with

  • cli

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill hateful-memes-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hateful Memes Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hateful Memes Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-hateful-memes-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-hateful-memes-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hateful-memes-eval
description: Evaluates multimodal models' ability to detect hateful or harmful memes by analyzing the alignment between image and text content. It probes robustness against visual and textual confounders that appear benign individually but become harmful when combined. Use when the user wants to benchmark on HatefulMemes, HarMeme, or asks about evaluating this task. Reports AUC.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2311.08110
  bibtex_key: [REDACTED]
  confidence: high
---

# hateful-memes-eval

> Improving Hateful Meme Detection through Retrieval-Guided Contrastive Learning — Jingbiao Mei et al. (2023) (arXiv:2311.08110, 2023)

## What this evaluates

Evaluates multimodal models' ability to detect hateful or harmful memes by analyzing the alignment between image and text content. It probes robustness against visual and textual confounders that appear benign individually but become harmful when combined.

## Datasets

- **HatefulMemes** — total ?; splits: train (-1), dev (-1), test (-1)
- **HarMeme** — total ?; splits: train (-1), dev (-1), test (-1)

## Metrics

- `AUC` **(primary)** — range: [0, 1]
  - Area Under the Receiver Operating Characteristic Curve. Computed by plotting the true positive rate against the false positive rate at various classification thresholds and calculating the area under the curve.
- `Accuracy` — range: [0, 1]
  - Proportion of correctly classified instances (hateful vs. benign) out of the total number of instances.

## Input / output format

**Input**: Multimodal input consisting of a meme image and its associated text/caption.

**Output**: Binary classification label: 'hateful' (combining very harmful and partially harmful) or 'benign' (harmless).

## Scoring recipe

```python
def compute_metrics(predictions, labels):
    acc = np.mean(predictions.round() == labels)
    auc = roc_auc_score(labels, predictions)
    return {'AUC': auc, 'Accuracy': acc}
```

## Common pitfalls

- HarMeme originally has 3 classes (very harmful, partially harmful, harmless); the paper merges the first two into 'hateful', which may cause confusion if comparing to other works using the original split.
- Several baseline models (e.g., Flamingo-80B, HateCLIPper) only report AUC scores, making direct accuracy comparisons impossible for those baselines.
- The KNN majority voting classifier does not output raw logits, which artificially lowers its AUC score compared to logistic regression trained on the same embeddings.

## Evidence (verbatim from paper)

> To make a fair comparison, we adopt the evaluation metrics commonly used in existing hateful meme classification studies *Kumar and Nandakumar ([2022](#bib.bib20 "")); Cao et al. ([2022](#bib.bib4 "")); Kiela et al. ([2021](#bib.bib18 ""))*: Area Under the Receiver Operating Characteristic Curve (AUC) and Accuracy (Acc). We train the system on the training split, develop them on the development splits and report the final results on the test set.

## Citation

```bibtex
@misc{mei2023improving,
  title={Improving Hateful Meme Detection through Retrieval-Guided Contrastive Learning},
  author={Jingbiao Mei et al. (2023)},
  year={2023},
  note={arXiv:2311.08110}
}
```

- arXiv: 2311.08110

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.