Request access to PragMatch
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
PragMatch contains annotations for evaluating multimodal sarcasm detection. It does not include the source datasets. By requesting access you agree to obtain MMSD2.0 and SarcNet from their official sources and to follow their terms of use.
Log in or Sign Up to review the conditions and access this dataset content.
PragMatch
PragMatch is a benchmark for testing whether large vision-language models separate pragmatic incongruity from arbitrary image-text mismatch in multimodal sarcasm detection.
Paper: https://arxiv.org/abs/2608.09772
This repository contains PragMatch's own annotations only. It contains no images and no texts or labels from the source datasets. The source data is obtained independently and merged locally with the included script (see "Rebuilding the evaluation data").
What is released
PragMatch is intended for evaluation, not for training. This repository releases annotations for:
| Subset | Records (images) | Image–text pairs | dataset value |
|---|---|---|---|
| MMSD2.0 test | 1,000 | 3,000 | mmsd2.0-test |
| SarcNet (cross-dataset evaluation) | 100 | 300 | sarcnet |
Each record is one image with three texts (P, L, M), so a record gives three image–text pairs. This release contains 1,100 records, i.e. 3,300 image–text pairs. See the paper for details on how PragMatch was constructed.
Image-text relations
| Relation | Meaning | Where the text comes from |
|---|---|---|
| P | pragmatic incongruity (the original sarcastic text) | the source dataset, restored by the script (sarcastic_text) |
| L | literal congruity (a literal description of the image) | this repository (literal_text) |
| M | non-pragmatic semantic mismatch (text unrelated to the image) | this repository (unrelated_text) |
Fields
Released in pragmatch_data.json:
| Field | Description |
|---|---|
image_id |
Image identifier in the source dataset (string): the image id in MMSD2.0, the image file name without extension in SarcNet |
literal_text |
Literal caption of the image (relation L) |
unrelated_text |
Caption of a different image (relation M) |
dataset |
Source subset, e.g. mmsd2.0-test |
Restored from the source datasets by prepare_pragmatch.py:
| Field | Description |
|---|---|
sarcastic_text |
Original sarcastic text (relation P) |
label |
Multimodal sarcasm label: 1 = sarcastic, 0 = not sarcastic. For SarcNet (originally text, image and multimodal labels) this is the multimodal label. |
Rebuilding the evaluation data
Obtain the source data from the official sources:
- MMSD2.0 (Qin et al., 2023): text files in
data/text_json_final(usetest.json), image archives linked in the MMSD2.0 repository README. The four image parts form one split zip: put all parts in the same folder and extract with 7-Zip (7z x dataset_image.zip), which gives adataset_imagefolder. Paper: https://aclanthology.org/2023.findings-acl.689 - SarcNet (Yue et al., 2024): https://drive.google.com/file/d/18m3KdDCXgkAlvTbjNhfftvU9LdhyDUTt/view (columns
Text,Imagepath,Text_label,Image_label,Multi_label)
Then run:
python prepare_pragmatch.py \
--annotations pragmatch_data.json \
--mmsd-text MMSD2.0/data/text_json_final/test.json \
--sarcnet-text path/to/sarcnet_labels.tsv \
--mmsd-images MMSD2.0/data/dataset_image \
--sarcnet-images path/to/sarcnet/images \
--out pragmatch_full.jsonl
The script matches records by image_id, adds sarcastic_text (whitespace-normalized: leading and trailing spaces removed, repeated spaces collapsed) and label, adds an image_path for each record, and reports any record it cannot match. The SarcNet files are encoded in GB18030 rather than UTF-8; the script detects this automatically (if you read them yourself, use encoding="gb18030", otherwise punctuation such as ’ turns into ¡¯). The image arguments are optional if you only need the texts.
License and terms of use
The newly generated literal captions and unrelated captions in PragMatch are released under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.
The captions were generated with Google's Gemma-3-27B-IT model (an unrelated caption is the literal caption of a different image). Under Section 3.3 ("Generated Output") of the Gemma Terms of Use, Google claims no rights in Outputs generated with Gemma, and Outputs are not deemed Model Derivatives. The captions are original benchmark annotations created for PragMatch and are not distributed as part of the Gemma model.
Original source data, including images, texts and labels from MMSD2.0 and SarcNet, is not redistributed as part of this release and remains subject to the respective terms of use and licenses of those datasets. Users should obtain the original datasets from their sources and follow the applicable terms. The scripts provided with PragMatch prepare the benchmark from these independently obtained datasets. The redistribution terms of the original source datasets are currently being clarified with their respective authors.
Citation
@misc{mukhametsharip2026pragmatch,
title = {PragMatch: Separating Pragmatic Incongruity from Cross-Modal Mismatch in Large Vision-Language Models},
author = {Mukhametsharip, Zhanna and Demberg, Vera and Suresh, Varsha},
year = {2026},
eprint = {2608.09772},
archivePrefix = {arXiv},
doi = {10.48550/arXiv.2608.09772},
url = {https://arxiv.org/abs/2608.09772}
}
If you use this data, please also cite the source datasets:
@inproceedings{qin-etal-2023-mmsd2,
title = {{MMSD}2.0: Towards a Reliable Multi-modal Sarcasm Detection System},
author = {Qin, Libo and Huang, Shijue and Chen, Qiguang and Cai, Chenran and Zhang, Yudi and Liang, Bin and Che, Wanxiang and Xu, Ruifeng},
booktitle = {Findings of the Association for Computational Linguistics: ACL 2023},
year = {2023},
address = {Toronto, Canada},
publisher = {Association for Computational Linguistics},
url = {https://aclanthology.org/2023.findings-acl.689},
pages = {10834--10845}
}
@inproceedings{yue2024sarcnet,
title = {SarcNet: A multilingual multimodal sarcasm detection dataset},
author = {Yue, Tan and Shi, Xuzhao and Mao, Rui and Hu, Zonghai and Cambria, Erik},
booktitle = {Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)},
pages = {14325--14335},
year = {2024}
}
- Downloads last month
- 26