File size: 5,234 Bytes
55c394c
 
8cd7d5c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4bcfd83
 
4227d09
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4bcfd83
4227d09
 
 
 
 
 
55c394c
8cd7d5c
 
 
 
 
aaf6a91
79963e5
aaf6a91
8cd7d5c
 
2284cb2
8cd7d5c
 
 
64f920b
8cd7d5c
 
 
 
 
 
 
 
 
64f920b
 
 
 
 
 
 
 
8cd7d5c
 
 
 
79963e5
 
 
 
 
64f920b
79963e5
 
 
 
 
64f920b
79963e5
 
 
 
 
 
 
 
 
 
 
 
 
 
64f920b
79963e5
 
 
 
 
 
 
 
 
 
 
64f920b
79963e5
 
 
 
 
 
 
 
 
8cd7d5c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
---
license: mit
modalities:
- image
- text
task_categories:
- image-classification
- text-classification
language:
- en
tags:
- memes
- hate-speech
- toxicity
- content-moderation
- multimodal
- image-text
- vision-language
- social-media
- nlp
- computer-vision
- functional-testing
- fbhm
- lsv
- evaluation
- classification
pretty_name: FBHM
dataset_info:
  features:
  - name: img_id
    dtype: int64
  - name: img
    dtype: image
  - name: text
    dtype: large_string
  - name: label
    dtype: int64
  - name: functionality
    dtype: large_string
  splits:
  - name: train
    num_bytes: 278281238
    num_examples: 500
  - name: test
    num_bytes: 1806290298
    num_examples: 4500
  download_size: 2878166508
  dataset_size: 2084571536
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: test
    path: data/test-*
---

# FBHM: Functional Benchmarking and Steering of VLMs for Hateful Meme Detection

Accepted at **EMNLP 2026 Main** 🎉

<p align="left">
<b>Authors:</b> Paramananda Bhaskar*, Naquee Rizwan*, Daksh Jogchand, Saurabh Kumar Pandey, Animesh Mukherjee<br>(*) denotes equal contribution
</p>

<p align="center">
  <img src="teaser.png" alt="FBHM Dataset">
</p>

<p align="center">
Left: suite of 5,000 FBHM memes spread across 25 functionalities. Each tile presents the functionality number, its description and the corresponding number of memes in that functionality. Right: examples of constructing ten memes for ten target communities using one base image.
</p>

<div align="center">

[![arXiv](https://img.shields.io/badge/arXiv-Paper-B31B1B)](https://arxiv.org/abs/2605.31349v1)
[![GitHub](https://img.shields.io/badge/GitHub-Code-181717?logo=github)](https://github.com/hate-alert/fbhm)

</div>

------------------------------------------
```markdown
**Content Warning** ⚠️

This dataset contains hateful, offensive, and potentially disturbing multimodal content, including derogatory language and harmful stereotypes targeting protected groups.
The content is provided solely for research purposes. Please use the dataset responsibly and with appropriate care when displaying or sharing examples.
```

------------------------------------------
## Abstract
Hateful meme detection remains a formidable challenge for vision-language models, as existing benchmarks are structurally observational-confounding rhetorical hate mechanisms with target community features and preventing causal evaluation of model vulnerabilities. To address this, we introduce FBHM, a systematically curated benchmark of **F**unctionality **B**ased **H**ateful **M**emes constructed along two orthogonal axes: 25 distinct rhetorical functionalities and 10 target communities (5,000 memes total). Benchmarking state-of-the-art VLMs reveals a severe generalization gap: models highly accurate on standard datasets catastrophically drop to near-random performance on FBHM, proving they exploit dataset-specific heuristics rather than robust multimodal reasoning. To efficiently close this gap, we propose LSV (**l**earnable **s**teering **v**ectors), an ultra-low data regime strategy that applies a causal intervention objective on as few as 500 steering samples (50 unique base memes), boosting FBHM performance by ~30 Macro-F1 points while outperforming in-context learning and PEFT without degrading source-domain performance.

------------------------------------------
## Usage

FBHM can be loaded directly using the Hugging Face `datasets` library.

1. Installation

```bash
pip install datasets pillow
```

2. Load the Dataset

```python
from datasets import load_dataset

# Load the FBHM dataset
dataset = load_dataset("nrizwan/FBHM")

# Access the train and test splits
train_data = dataset["train"]
test_data = dataset["test"]

print(dataset)
```

3. Inspect a Sample

```python
# Select a sample from the training split
sample = train_data[0]

print("Image ID:", sample["img_id"])
print("Text:", sample["text"])
print("Label:", sample["label"])
print("Functionality:", sample["functionality"])
```

4. Dataset Fields

| Field           | Description                                     |
| --------------- | ----------------------------------------------- |
| `img_id`        | Unique identifier of the meme                   |
| `img`           | Meme image, automatically loaded as a PIL image |
| `text`          | Text associated with the meme                   |
| `label`         | Ground-truth hateful (1) /non-hateful(0) label  |
| `functionality` | Functionality category associated with the meme |

------------------------------------------
## Please cite our paper

~~~bibtex
@misc{bhaskar2026fbhmfunctionalbenchmarkingsteering,
      title={FBHM: Functional Benchmarking and Steering of VLMs for Hateful Meme Detection}, 
      author={Paramananda Bhaskar and Naquee Rizwan and Daksh Jogchand and Saurabh Kumar Pandey and Animesh Mukherjee},
      year={2026},
      eprint={2605.31349},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2605.31349}, 
}
~~~

------------------------------------------
## Contact
For any questions or issues, please contact: pbhaskar@kgpian.iitkgp.ac.in, nrizwan@kgpian.iitkgp.ac.in