Datasets:
PIRBench
PIRBench is a benchmark for personalized identity recognition, used to test privacy protection in personalized vision–language models. It covers 25 people, with two kinds of photo for each:
- training photos, the ones a model such as Yo'LLaVA or MyVLM learns the person from;
- test photos, the ones the model is later asked about.
It also contains the versions of these photos protected by Anti-Persona.
Links: paper · code · checkpoints
Quick start
Download the archives (one per folder, so the download needs only a few requests), unpack and check them:
python -c "from huggingface_hub import snapshot_download as d; d('iabhishekbasu/PIRBench', repo_type='dataset', local_dir='PIRBench', allow_patterns=['archives/*', 'splits.json', 'files.json', 'album_order.json', 'questions.json', 'build_pirbench.py', 'README.md'])"
cd PIRBench && python build_pirbench.py --extract # unpacks archives/*.tar, then prints OK if every file matches
import json
from pathlib import Path
from PIL import Image
root = Path("PIRBench")
splits = json.loads((root / "splits.json").read_text())
for person in splits["identities"]:
train = [Image.open(root / r["file"]) for r in person["train"]] # learn the person from these
test = [Image.open(root / r["file"]) for r in person["test"]] # ask about these
protected = [Image.open(root / r["file"]) for r in person["protected"]["reactive"]["0"]] # image seed 0
print(person["display_name"], person["dataset"], len(train), len(test), len(protected))
build_pirbench.py uses the standard library only; without --extract it checks the files already in the folder. The loose files are also in the repository, for browsing.
Contents
| Subset | People | Training photos | Test photos | Source |
|---|---|---|---|---|
| Yo'LLaVA dataset | 10 | 90 | 90 | Yo'LLaVA |
| MMPB dataset | 15 | 80 | 75 | MMPB |
| Total | 25 | 170 | 165 |
The people are:
- Yo'LLaVA dataset: Ciin, Denisdang, Khanhvy, Oong, Phucmap, Thao, Thuytien, Viruss, Willinvietnam, Yuheng.
- MMPB dataset: Emma, Jack, James, Johny, Liang, Ron, Sherlock, Watson, Xing, Xue, Yifei, Yu, Zhongtangxi, Zhuyun, Ziqiao.
Protected photos
All protected photos are lossless 336 × 336 PNG files with an ℓ∞ budget of ε = 4/255, made with two image seeds (0 and 202).
| Setting | What is protected | Images |
|---|---|---|
| Reactive | every test photo | 330 |
| Proactive | every training photo | 340 |
| Reactive, black-box | every test photo, 6 surrogate ensembles | 1,980 |
| Proactive, black-box | every training photo, 6 surrogate ensembles | 2,040 |
The settings mean the following:
- Reactive: the model has already learned the person from clean photos. A protected test photo should no longer be recognised.
- Proactive: the training photos are protected before anyone trains on them. A model trained on them should not recognise the person, even in clean test photos.
- Black-box: the protection is made without any access to the model. Each ensemble leaves out one of six surrogate encoders:
| Ensemble | Left-out encoder |
|---|---|
F6_noA |
B/16 |
F6_noB |
L/14 |
F6_noD |
CLIPA |
F6_noS |
SigLIP |
F6_noW |
ViT-L |
F6_noX |
ConvNeXt |
Use the protected images exactly as stored. Re-encoding them, for example to JPEG, or resizing them changes the protection.
Also included
Everything needed to train and score the evaluation models is included as well (9,106 checked data files, 1.9 GB, plus this card, splits.json, files.json and build_pirbench.py):
- the Yo'LLaVA training files and the 2,599 negative images they point to;
- other people's photos, used as target-absent controls (300 for Yo'LLaVA, 300 for MyVLM);
- the MyVLM albums with their captions and question–answer pairs;
- every question and prompt used in the evaluation;
- the 100 COCO images used for calibration, and the recorded face detections.
Layout
PIRBench/
├── photos/<identity>/{train,test}/ original training and test photos
├── protected/ours/{reactive,proactive}/seed{0,202}/<identity>/ protected photos
├── protected/ours_blackbox/{reactive,proactive}/<ensemble>/seed{0,202}/<identity>/ black-box protected photos
├── renders_336/{train,test}/<identity>/ 336 × 336 renders of the photos (MyVLM's inputs)
├── training_json/<id>/ Yo'LLaVA training files (5 per person)
├── negatives/training/ negative images used in Yo'LLaVA training
├── negatives/scoring/{yollava,myvlm}/ other people's photos (target-absent controls)
├── myvlm/<identity>/ MyVLM albums: photos, captions, 9 Q&A per photo
├── questions.json every question and prompt of the evaluation
├── album_order.json album order of every person
├── coco100/ the 100 COCO val2017 calibration images
├── face_cache/ recorded face detections (Yo'LLaVA-dataset test photos)
├── splits.json per person: photos and protected images, with sha256
├── files.json every other file, with sha256
├── archives/ one .tar per folder above, with SHA256SUMS
└── build_pirbench.py checks every file (--extract: unpacks archives/ first)
- Names:
<identity>is the display name above.<id>is the internal id, which is also the name of the person's concept token (e.g.phuc-map,james). - File names: photos keep their original file names, and a protected image has the same stem as the photo it was made from.
- Subset labels: in
splits.json, the subset of each person isyollava_datasetormmpb15. - Paths in JSON files: paths are relative to the PIRBench folder, so run the code from there. A path to a file that is not in this release reads
<not released>/<file name>.
The Yo'LLaVA training files (training_json/<id>/) are the following:
positive_recognition.json: the training photos;negative_recognition-laion.json: 100 photos of other people;negative_recognition-random-imgs.json: 99 random images;text-only-conversation.json: text descriptions of the person;recap.json.
License and attribution
PIRBench is released under CC BY-NC-SA 4.0: non-commercial research use, with attribution, share-alike.
- MMPB dataset photos come from MMPB, which is CC BY-NC-SA 4.0.
- Yo'LLaVA dataset photos come from the Yo'LLaVA dataset. Please respect its original terms.
- Protected images and renders are derived from these photos and follow the same terms.
- Training negatives:
laion/andrandom-images/come from the Yo'LLaVA release, where the authors retrieved them from LAION;hardneg/contains web images retrieved for the MMPB-dataset people.- We do not own these images. They are provided for non-commercial research only.
- COCO-100 images are from COCO val2017. The annotations are CC BY 4.0; the images are under their Flickr terms.
Responsible use
PIRBench is intended for research on protecting people's privacy against personalized vision–language models. Do not use it to identify, track or profile the people shown.
Citation
If you use PIRBench, please cite our paper and the two datasets its photos come from:
@misc{basu2026antipersona,
title={Anti-Persona: Disrupting Unauthorized Identity Binding and Recognition in Personalized Vision--Language Models},
author={Abhishek Basu and Fahad Shamshad and Karthik Nandakumar},
year={2026},
eprint={2610.01944},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2610.01944},
}
@article{nguyen2024yollava,
title = {Yo'LLaVA: Your Personalized Language and Vision Assistant},
author = {Nguyen, Thao and Liu, Haotian and Li, Yuheng and Cai, Mu and Ojha, Utkarsh and Lee, Yong Jae},
journal = {arXiv preprint arXiv:2406.09400},
year = {2024}
}
@inproceedings{kim2025mmpb,
title = {{MMPB}: It's Time for Multi-Modal Personalization},
author = {Kim, Jaeik and Kim, Woojin and Park, Woohyeon and Do, Jaeyoung},
booktitle = {The Thirty-ninth Annual Conference on Neural Information Processing Systems Datasets and Benchmarks Track},
year = {2025}
}
- Downloads last month
- 33