Datasets:
File size: 6,217 Bytes
c1ff60f d6f5a43 c1ff60f c125153 | 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 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | ---
pretty_name: MPF-Bench
language:
- en
license: other
task_categories:
- image-classification
- visual-question-answering
tags:
- multimodal
- vision-language
- benchmark
- reasoning
- evaluation
size_categories:
- 1K<n<10K
---
# MPF-Bench
## Homepage
- Project page: https://xyzzzh.github.io/MPF-Bench
- Code and generation pipeline: https://github.com/xyzzzh/MPF-Bench
## Dataset Summary
MPF-Bench (Masked Patch Finding Benchmark) is a programmatically generated benchmark family for **fine-grained visual reasoning** in vision-language models (VLMs).
Given a natural image, MPF-Bench partitions it into patches, masks one target patch, and asks the model to identify the candidate patch that correctly fills the missing region. Because each instance is defined directly by construction, MPF-Bench provides:
- deterministic labels
- exact scoring
- zero-cost annotation
- controlled difficulty through grid size, candidate count, and mask shape
The benchmark is released as **6 representative configurations**, each with **1,000 MPF test instances**, for a total of **6,000 evaluation examples**.
## What This Dataset Measures
MPF-Bench is designed to evaluate whether a model can use:
- local texture and appearance compatibility
- spatial continuity
- context-dependent patch completion
- fine-grained discrimination under increasing ambiguity
It is intended primarily as a **benchmark for evaluation**, not as a general-purpose instruction-tuning dataset.
## Released Configurations
The current release contains the following benchmark configurations:
- `bf_g4x4_c4_rect`
- `bf_g8x6_c4_rect`
- `bf_g8x6_c4_ellipse`
- `bf_g8x6_c8_rect`
- `bf_g8x8_c8_rect`
- `bf_g12x12_c16_rect`
These vary along three configurable dimensions:
- **Grid size**: e.g. `4x4`, `8x6`, `8x8`, `12x12`
- **Candidate count**: e.g. `4-way`, `8-way`, `16-way`
- **Mask shape**: `rect` or `ellipse`
## Data Format
Depending on the export view, MPF-Bench may appear either as:
1. a lightweight instruction-style JSON format, or
2. a richer Hugging Face dataset format with rendered images and metadata
In the richer HF-native export, key fields include:
- `composite_image`: the full rendered benchmark image shown to the model
- `masked_image`: the main image with the target patch removed
- `target_patch_image`: the ground-truth missing patch
- `candidate_images`: candidate patch images
- `problem`: text description of the task
- `prompts`: prompt variants used for evaluation or teacher supervision
- `solution`: ground-truth patch index
- `solution_idx`: index position within the candidate set
- `candidate_patch_indices`: patch ids used in the composite
- `difficulty`: entropy / similarity / ambiguity statistics
- `layout_meta`: rendering layout metadata for the composite image
- `metadata`: configuration-level and provenance metadata
In the lightweight instruction-style JSON view, examples typically contain fields such as:
- `instruction`
- `input`
- `output`
- `images`
- `image_id`
- `id`
- `source_id`
## Example Task
Each MPF instance follows a fixed composite-image protocol. A representative prompt is:
> You are a professional image analysis expert. Given one masked image and its candidate patches, select the single candidate that best fills the masked region. Judge continuity, texture, geometry, color, and semantic plausibility. Return only the final patch index inside `<mpf>` and `</mpf>`.
The answer is deterministic and can be parsed exactly from the returned patch index.
## How To Load
```python
from datasets import load_dataset
dataset = load_dataset("xyzzzh/MPF-Bench", "bf_g8x6_c4_rect")
split_name = list(dataset.keys())[0]
sample = dataset[split_name][0]
print(split_name)
print(sample.keys())
```
If you work with the raw JSON export instead, load the JSON records directly and read the local image paths referenced by the `images` field.
## Data Source and Provenance
MPF-Bench is constructed from widely used natural-image datasets, including:
- COCO
- Flickr30K
The benchmark instances are generated programmatically from source images after data splitting, so that held-out benchmark test images remain separate from images used in the training study described in the paper/project materials.
## Annotation Process
MPF-Bench does **not** rely on manual question writing or manual answer annotation for benchmark construction.
Instead, labels are generated automatically from the image partition and mask placement procedure. This makes the benchmark:
- scalable
- exactly verifiable
- reproducible across models
## Intended Uses
Recommended uses:
- zero-shot or few-shot evaluation of VLMs
- controlled ablations over ambiguity and local reasoning difficulty
- analysis of fine-grained visual reasoning failure modes
Possible secondary use:
- self-supervised or programmatic training experiments based on exact correctness signals
## Limitations
- MPF-Bench measures a specific capability: patch-level local reasoning under controlled ambiguity. It is **not** a full measure of general multimodal intelligence.
- High performance on MPF-Bench should not be interpreted as broad robustness across all vision-language tasks.
- The dataset is derived from existing natural-image sources and therefore inherits some domain and content biases from those sources.
- The benchmark release is centered on representative configurations rather than exhaustive coverage of all possible MPF settings.
## Licensing and Redistribution Notes
All source images remain under the licenses of their original datasets.
MPF-Bench is intended to distribute benchmark instances and derived metadata for evaluation. Please make sure your use complies with the original dataset terms for COCO, Flickr30K, and any other upstream data sources included in the release pipeline.
## Citation
If you find MPF-Bench useful, please cite it as:
```bibtex
@misc{zhu2026mpfbench,
title = {{MPF-Bench}: A Programmatically Verifiable Benchmark Family for Fine-Grained Visual Reasoning in VLMs},
author = {Xiuyuan Zhu and Ke Lu and Hao Wu and Zijin Du and Yuan Lei and Jian Xue},
year = {2026},
url = {https://xyzzzh.github.io/MPF-Bench/}
}
```
|