File size: 4,634 Bytes
935f166
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8ee046d
935f166
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<div align="center">

 <div>
    <a href="https://github.com/mingZhang614/IllusionBench"><img src="https://img.shields.io/badge/GitHub-Repo-blue"></a>
    <a href="https://huggingface.co/datasets/MingZhangSJTU/IllusionBench"><img src="https://img.shields.io/badge/Data-Release-green"></a>
</div>

<h1>IllusionBench: A Large-scale and Comprehensive Benchmark for Visual Illusion Understanding in Vision-Language Models</h1>
 

<div>
    Yiming Zhang <sup>1</sup>
    <a href="https://zzc-1998.github.io/" target="_blank">Zicheng Zhang</a><sup>1</sup>,
    Wei Xinyi <sup>1</sup>
</div>

<div>
    <a href="https://scholar.google.ca/citations?user=Tq2hoMQAAAAJ&hl=en" target="_blank">Xiaohong Liu</a><sup>1</sup>,
    <a href="https://ee.sjtu.edu.cn/en/FacultyDetail.aspx?id=24&infoid=153&flag=153" target="_blank">Guangtao Zhai</a><sup>1</sup>, 
    <a href="https://minxiongkuo.github.io/" target="_blank">Xiongkuo Min</a><sup>1</sup><sup>#</sup>
</div>

<div>
  <sup>1</sup>Shanghai Jiaotong University
</div>  

<div>
    <sup>#</sup>Corresponding author
</div>

<div style="width: 100%; text-align: center; margin:auto;">
  <img style="width:100%" src="figure/figure2.png">
</div>

</div>

<div align="left">

We introduce **IllusionBench**, the first benchmark designed to evaluate the capability of Vision-Language Models 
in understanding **visual illusions**.   

**IllusionBench** is a large-scale visual illusion dataset, encompassing 1k+ images, 5k+ question-answer pairs, 
and 1k+ golden text descriptions, covering the presence, causes, and content of illusions.    

We benchmark the performance of ten state-of-the-art VLMs on this dataset, evaluating their understanding of illusion 
images through true-or-false, multiple-choice, and open-ended descriptive tasks.  

## IllusionBench Construction
**IllusionBench** includes 1K+ images from various online repositories. The detailed distribution is shown below.  

1. **Classic Cognitive Illusion:**  These include blur, distortion, paradox, and fictitious illusions—key 
examples of traditional synthetic illusions. Designed by psychologists, these ambiguous images test VLMs' 
alignment with human perception.
2. **Trap Illusion:** Trap illusions are edited versions of classic visual illusions, resembling them in appearance 
but differing in physical properties.
3. **Real Scene Illusion:** These images depict real-world objects and scenes, with unique and definite 
semantic descriptions.
4. **Ishihara Color Blindness Detection:** Ishihara images, verified by vision-healthy individuals, 
where the patterns convey unique and definite semantics.
5. **No Illusion:** Depicting diverse subjects such as people, landscapes, and objects.
</div>

**IllusionBench** including three question types:
1. **True-or-false:** Over 2k binary questions focused on semantic content and the presence of illusions.
2. **Multiple-choice:** Over 3k multiple-choice questions targeting fine-grained perception of image content 
and illusion causes.
3. **Open-ended Description:** Each image is accompanied by a manually crafted **golden description**, 
covering the main content of the image, the existence of any visual illusion, and the causes of the illusion.

## Glance at IllusionBench Performance
<div align="center">
<div style="width: 100%; text-align: center; margin:auto;">
  <img style="width:100%" src="figure/radar.png">
</div>
Performance of advanced VLMs and human evaluators on IllusionBench+ perception tasks (left) and description tasks 
(right). The left image shows P1-P5 representing perception tasks on the subsets of **Classic Cognitive Illusion, Real 
Scene Illusion, No Illusion, Ishihara Image, and Trap Illusion**, respectively. Similarly, the right image shows D1-D5 
representing description tasks on these subsets. "T/F", "Mul", "Sem", and "Illu" respectively represent true-or-
false, multiple-choice, semantic descriptions, and illusion descriptions.
</div>

## Evaluate your model on IllusionBench
<div align="left">

Assume that you have download the [**IllusionBench**](https://huggingface.co/datasets/MingZhangSJTU/IllusionBench)

We provide a sample `Closed_inference.py` for testing Qwen-vl-max API format on **IllusionBench** true-or-false question
and multiple-choice question. 

We provide a sample `Opened_inference.py` for testing Qwen-vl-max API format on **IllusionBench** semantic and illusion 
description question. 

You can modify the code to test your own model.
</div>




## Contact

Please contact any of the first authors of this paper for queries.

- Yiming Zhang, `ming_zhang_sjtu@sjtu.edu.cn`, Shanghai Jiao Tong University