First-hand information for everyone
A new benchmark, EditSafetyBench, tests whether AI systems take both the picture and the instruction into account when deciding whether to allow an edit. The benchmark pairs 660 images—330 safe and 330 unsafe—from the UnsafeBench dataset with nine rewrite prompts that express three edit intents: neutral, risk‑reducing, and unsafe‑intent, across 11 risk categories. This yields 5,940 image‑instruction pairs.

Four popular instruction‑guided editors were evaluated on the data set: Gemini, GPT, Qwen API, and Qwen Local. Results show a systematic mismatch between how the models read text and how they read images. Gemini and GPT block 87.1% and 81.6% of unsafe‑intent prompts, but they block only about 24% of neutral prompts given an unsafe image. The gap is large for both safety‑intention and image risk: for example, GPT allows 70.4% of edits that target unsafe political content whereas Gemini only allows 34.8%.
The quantitative findings are summarized in Table 1. Gemini’s Safe‑Over‑Refusal (SOR) is 14.0 %, its Unsafe‑Intent‑Refusal (UIR) is 87.1 %, and its Unsafe‑Neutral‑Refusal (UNR) is 24.2 %. GPT’s corresponding numbers are 11.5 %, 81.6 %, and 22.4 %. The two Qwen models exhibit much lower UIR and UNR values, meaning they rely mostly on text filtering and rarely refuse unsafe images.
| System | Label | Allow | Refuse | Error | SOR ↓ | UIR ↑ | UNR ↑ |
| Gemini | Safe | 63.8 | 36.2 | 0.0 | 14.0 | 87.1 | 24.2 |
| Unsafe | 56.1 | 43.9 | 0.0 | ||||
| GPT | Safe | 68.2 | 31.8 | 0.0 | 11.5 | 81.6 | 22.4 |
| Unsafe | 58.5 | 41.5 | 0.0 | ||||
| Qwen API | Safe | 98.3 | 0.0 | 1.7 | 4.7 | 7.2 | 12.0 |
| Unsafe | 88.2 | 0.0 | 11.8 | ||||
| Qwen Local | Safe | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| Unsafe | 100.0 | 0.0 | 0.0 |
Because the evaluation looks only at the system’s allow/refuse/error decisions, it does not check whether an output image that is produced is actually safe or high‑quality. Also, the nine‑prompt set cannot represent every possible user request, so the benchmark may miss other safety failures.
Overall, EditSafetyBench shows that current instruction‑guided image editors often behave as text‑aware but vision‑blind. Improving safety will require models that jointly consider both visual content and textual intent.