|
| 1 | +# VisRes-Bench |
| 2 | + |
| 3 | +[VisRes-Bench](https://huggingface.co/datasets/tiiuae/visres_bench) is a visual reasoning benchmark with tasks at three difficulty levels. This folder defines lmms-eval tasks for all dataset configs. |
| 4 | + |
| 5 | +**Dataset:** `tiiuae/visres_bench` (Hugging Face). A valid Hugging Face token may be required; set `HUGGINGFACE_HUB_TOKEN` or run `huggingface-cli login` before evaluation. |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +## Running the tasks |
| 10 | + |
| 11 | +Use the `--tasks` argument with one of the group names or a single task name. Example with `accelerate launch`: |
| 12 | + |
| 13 | +```bash |
| 14 | +# From the lmms-eval repo root |
| 15 | +accelerate launch --num_processes=1 -m lmms_eval \ |
| 16 | + --model <your_model> \ |
| 17 | + --model_args <your_args> \ |
| 18 | + --tasks <TASK_OR_GROUP> \ |
| 19 | + --batch_size 1 |
| 20 | +``` |
| 21 | + |
| 22 | +### Run all tasks (27 tasks) |
| 23 | + |
| 24 | +```bash |
| 25 | +--tasks visres_bench |
| 26 | +``` |
| 27 | + |
| 28 | +Includes every config: all level-1 (including random_sampling), all level-2, and all level-3 tasks. |
| 29 | + |
| 30 | +--- |
| 31 | + |
| 32 | +### Run Level 1 only (8 tasks, no random_sampling) |
| 33 | + |
| 34 | +```bash |
| 35 | +--tasks visres_bench_level_1 |
| 36 | +``` |
| 37 | + |
| 38 | +Tasks: `visres_bench_level_1_global_occlusion_50`, `visres_bench_level_1_global_occlusion_70`, `visres_bench_level_1_global_occlusion_80`, `visres_bench_level_1_edges`, `visres_bench_level_1_brightness`, `visres_bench_level_1_blur`, `visres_bench_level_1_rotation`, `visres_bench_level_1_location`. |
| 39 | + |
| 40 | +--- |
| 41 | + |
| 42 | +### Run Level 2 only (12 tasks) |
| 43 | + |
| 44 | +```bash |
| 45 | +--tasks visres_bench_level_2 |
| 46 | +``` |
| 47 | + |
| 48 | +Tasks: `visres_bench_level_2_uniform_count`, `visres_bench_level_2_count_progression`, `visres_bench_level_2_uniform_orientation`, `visres_bench_level_2_count_2_same_1_diff`, `visres_bench_level_2_orientation_2same_1diff`, `visres_bench_level_2_uniform_color`, `visres_bench_level_2_count_arithmetic`, `visres_bench_level_2_count_minmax`, `visres_bench_level_2_orientation_3_diff`, `visres_bench_level_2_color_2same_1diff`, `visres_bench_level_2_color_3_diff`, `visres_bench_level_2_count_3_diff`. |
| 49 | + |
| 50 | +--- |
| 51 | + |
| 52 | +### Run Level 3 only (5 tasks) |
| 53 | + |
| 54 | +```bash |
| 55 | +--tasks visres_bench_level_3 |
| 56 | +``` |
| 57 | + |
| 58 | +Tasks: `visres_bench_level_3_spiral_color_orientation`, `visres_bench_level_3_coupled_color_count`, `visres_bench_level_3_independent_color_object_rientation`, `visres_bench_level_3_coupled_color_orientation`, `visres_bench_level_3_Independent_count_object_color`. |
| 59 | + |
| 60 | +--- |
| 61 | + |
| 62 | +## Single task |
| 63 | + |
| 64 | +To run one config only, use the full task name, e.g.: |
| 65 | + |
| 66 | +```bash |
| 67 | +--tasks visres_bench_level_1_global_occlusion_50 |
| 68 | +``` |
| 69 | + |
| 70 | +--- |
| 71 | + |
| 72 | +## Question type (guided vs generic) |
| 73 | + |
| 74 | +The default prompt uses the **guided_question** column. To use **generic_question** instead, pass the format that selects it (e.g. `--format generic` if your runner supports it). The default template defines: |
| 75 | + |
| 76 | +- `default`: `question_column: guided_question` |
| 77 | +- `generic`: `question_column: generic_question` |
| 78 | + |
| 79 | +--- |
| 80 | + |
| 81 | +## Summary |
| 82 | + |
| 83 | +| Group | Description | # tasks | |
| 84 | +|-----------------------|--------------------------|--------:| |
| 85 | +| `visres_bench` | All configs | 27 | |
| 86 | +| `visres_bench_level_1`| Level 1, no random_sampling | 8 | |
| 87 | +| `visres_bench_level_2`| Level 2 only | 12 | |
| 88 | +| `visres_bench_level_3`| Level 3 only | 5 | |
| 89 | + |
| 90 | +--- |
| 91 | + |
| 92 | +## Citation |
| 93 | + |
| 94 | +If you use VisRes-Bench in your work, please cite: |
| 95 | + |
| 96 | +```bibtex |
| 97 | +@article{tortei2025visres, |
| 98 | + title={VisRes Bench: On Evaluating the Visual Reasoning Capabilities of VLMs}, |
| 99 | + author={T{\"o}rtei, Brigitta Malagurski and Dahou, Yasser and Huynh, Ngoc Dung and Para, Wamiq Reyaz and Khac, Ph{\'u}c H L{\^e} and Singh, Ankit and Chaybouti, Sofian and Narayan, Sanath}, |
| 100 | + journal={arXiv preprint arXiv:2512.21194}, |
| 101 | + year={2025} |
| 102 | +} |
| 103 | +``` |
0 commit comments