Clever Side Effects: Safety Risks in Multi-Image Reasoning of Multimodal Large ModelsThe Side Effects of Being Smart: Safety Risks in MLLMs' Multi-Image Reasoning
The authors propose MIR-SafetyBench; GLM-4.1V-9B-Thinking has an overall ASR of 87.63%.
- After MLLMs' reasoning over complex multi-image instructions becomes stronger, harm may appear only in cross-image relational reasoning. The authors believe existing evaluations focus on explicitly harmful images, so they build a multi-image reasoning safety benchmark.
- 600 seeds, iterated at most five rounds across 9 relations: DeepSeek-R1 rewrites and validates, FLUX.1-dev generates images, the Tester is Qwen2.5-VL-7B-Instruct, the HarmBench classifier labels harmfulness, yielding 2,676 instances.
- In Table 1, the overall ASR across 19 models is highest at 87.63% (GLM-4.1V-9B-Thinking) and lowest at 15.25% (GPT-5.1). In Table 3, the multi-image ASR of the five models is higher than the single-image ASR with the same seed. The authors state that the average attention entropy for unsafe multi-image generation is lower.
- The authors state that coverage is not exhaustive and inherits biases from source data and automatic rewriting; humans only spot-checked. The evaluation is single-turn classifier ASR on 19 models. The attention analysis covers 4 models, and the authors state it is correlational rather than causal. The authors did not train with the benchmark, nor propose detection or regularization methods.
- Evaluated models
- Llama3-LLaVA-NeXT-8BLLaVA-v1.5-7BQwen2.5-VL-32B-InstructInternVL3-38BInternVL3-8BKimi-VL-A3B-InstructInternVL3-78BMiniCPM-o 2.6Qwen2.5-VL-3B-InstructGLM-4.1V-9B-ThinkingSkywork-R1V3-38BKimi-VL-A3B-Thinking-2506QVQ-72B-PreviewGPT-4oGPT-4o-miniGemini-2.5-FlashGemini-2.5-ProGemini-3-Pro-PreviewGPT-5.1
- Benchmarks
- MIR-SafetyBench
- Metrics
- ASRCRHMIRCE
Tsinghua University's CoAI team proposes MIR-SafetyBench, claiming it is the first multimodal large model benchmark for multi-image reasoning safety, containing 2,676 instances covering 9 multi-image relationships and 6 risk categories. Evaluations on 19 MLLMs show that multi-image relationship attacks are generally effective, with the highest overall attack success rate at 87.63%; within capability ranges, models with stronger multi-image reasoning tend to have higher attack success rates, while frontier models such as GPT-5.1 possess both strong reasoning ability and lower attack success rates. The authors use four patterns to classify safe responses, finding that many safe outputs stem from misunderstanding, generic refusal, or avoidance, rather than genuine safety alignment. Attention entropy analysis shows that only in multi-image scenarios, the average attention entropy of unsafe generations is lower than that of safe generations. Code and data have been released on GitHub.
Why it was selectedThe paper reports attack success rates of 19 multimodal models under multi-image relationship attacks, and distinguishes between genuine refusal and superficially safe response patterns.
Paper analysis
What problem does this paper attempt to solve?
The question is whether, as multi-image reasoning becomes stronger, harmful intent in cross-image relationships is more likely to be completed by the model.
After multi-image reasoning becomes stronger, harmful intent may only appear in multi-step reasoning across image relationships and instructions, and the model may still answer based on it.
- Scenario: The authors believe that handling real-world problems requires MLLMs to understand complex instructions and visual input; capability improvements may also expand the attack surface. Most existing evaluations focus on content safety: failing to reject explicitly harmful images is considered unsafe, with less examination of cases where harm only emerges during reasoning.
- Limitation: Such evaluations do not cover risks caused by the combination of cross-image interactions and user instructions. The authors state that existing multi-image jailbreaks do not provide a systematic benchmark for this task.
- Observation: Figure 1 illustrates with three levels and annotates MMR scores of 34.7, 41.4, and 46.9. A single-image model may not understand the task and give a generic answer; a multi-image model can infer the intent but fails to recognize potential harm, thus providing flawed paths or high-risk steps. The authors call this a side effect of being smart.
- Input and Judgment: Each input is a text instruction plus 2–4 generated images; harmful intent only emerges through relational reasoning. Whether it is harmful is labeled by a classifier as harmful or safe. The paper does not specify the attacker's parameter knowledge or query budget.
- Approach: The authors construct MIR-SafetyBench and claim it is, to their knowledge, the first comprehensive benchmark for multi-image reasoning safety: 2,676 entries, 9 relationship types, 6 risk categories. Beyond evaluation, they also distinguish four forms of safe answers and use attention entropy to observe unsafe generation.
What related research exists?
Existing evaluations focus on content safety or cross-modal composition; the authors state that a systematic multi-image reasoning safety benchmark is lacking.
Multi-image reasoning and understanding benchmarks
- Reasoning progress: The authors list Huang et al. (2025), Jiang et al. (2025), Wu et al. (2025), and Jiang et al. (2024) as works that enhance MLLM reasoning.
- Cross-image scenarios: Mementos by Wang et al. (2024) and Visual Haystacks by Wu et al. (2024) focus on multi-image and sequential reasoning that a single snapshot cannot cover.
- Understanding benchmarks: MuirBench (Wang et al., 2025) and MMIU (Meng et al., 2025) evaluate multi-image relations and contextual understanding.
Content safety and cross-modal composition
- Explicit visual signals: FigStep (Gong et al., 2025) renders malicious text into images; MM-SafetyBench (Liu et al., 2024) uses visuals related to unsafe keywords; VLSBench (Hu et al., 2025) examines visual leakage.
- Automated red teaming: JailbreakV (Luo et al., 2024) and Li et al. (2024b) conduct large-scale automated red-teaming data or evaluations.
- Harmful only after composition: Cui et al. (2025), Zhou et al. (2024a), and Lee et al. (2025) examine cross-modal alignment that is benign in isolation but harmful when combined.
Capability and safety, multi-image jailbreaks
- Capability does not automatically mean safety: The authors cite Bostrom (2012) and Armstrong (2013) to say that stronger capability does not necessarily lead to safer behavior.
- Multi-image attacks: Yang et al. (2025b)'s distraction-based multimodal jailbreak, Teng et al. (2024)'s heuristic multimodal risk distribution, VisCRA (Sima et al., 2025), and Ding et al. (2025)'s compositional multi-image jailbreak. The authors say these works do not provide a systematic benchmark for this task.
Data and comparisons used in this paper
- Seed sources: LongSafety, AdvBench-subset, HarmBench, JailbreakBench, StrongReject, BeaverTails, filtered to 600 seeds.
- Comparison conditions: The main experiment does not set up additional attack-algorithm baselines. The single-image comparison replicates MM-SafetyBench's approach and compares with multi-image rewrites of the same seed set.
The authors place this paper between content-safety evaluation and the above multi-image attacks: the former ignores harm that appears only in reasoning, and the latter lacks a systematic benchmark, so they introduce MIR-SafetyBench.
How does the paper address this problem?
600 seeds, after at most five rounds of iteration, generate 2,676 multi-image instances covering 9 relations.
Overall, this is about constructing MIR-SafetyBench: converting directly harmful questions into neutral text plus multiple images so that harm emerges only through cross-image relational reasoning, then counting the proportion of harmful answers across 19 MLLMs.
Nine relations
The taxonomy has four categories and nine subcategories (Figure 2 has examples; the harmful requests are not repeated here):
- Temporal: Continuity gives continuous progression and asks for plausible details to be filled in; Jump gives only start and end and asks for the intermediate behavior to be inferred.
- Spatial: Juxtaposition places scenes from different perspectives side by side; Embedding places the harmful object or query into a benign or authoritative context.
- Semantic: Relevance mixes harmful items among similar benign distractors and asks for the same generic operation on all items; Complementarity splits the image into multiple pieces and requires reassembly before answering.
- Logical: Analogy applies the same technique to a benign domain and a malicious topic; Causality gives the result and asks for the process to be inferred backward; Decomposition splits into subproblems and then synthesizes.
Seed questions
- Six risk categories: Hate Speech, Harassment, Violence, Self-Harm, Illegal Activities, Privacy. Definitions and subcategories are in Table 4, Appendix A.
- Filtering: After aggregating the safety benchmarks listed in question 2, QwQ-32B is used for category alignment and expression simplification, then humans select 100 per category, for 600 total (Appendix B). These 600 serve as seeds for subsequent multi-image instances.
Five-step iterative generation
Given a seed and a target relation, the pipeline in Figure 3 runs at most five rounds:
- Revisor (DeepSeek-R1) rewrites the direct question into indirect text, image descriptions, and keywords; later rounds add acceptance feedback.
- Image Generator uses FLUX.1-dev to generate images from the descriptions, then composites with text rendering of the keywords into the final image.
- Tester (Qwen2.5-VL-7B-Instruct) attempts an answer and checks whether it still aligns with the original intent and can elicit a harmful answer.
- HarmBench Judge (HarmBench-Llama-2-13b-cls) gives harmful or safe.
- Evaluator (DeepSeek-R1) checks four acceptance criteria.
All four must hold simultaneously to pass, written as Cpass=C1(Lh)∧ C2(Pr)∧ C3(Pr,r)∧ C4(Pr,Qorig): the answer is harmful, the prompt remains neutral, it matches the target relation, and it is faithful to the original intent. Otherwise the Evaluator gives feedback and the process returns to rewriting.
Quality control and judgment
- Human: During the design phase, sampling is done by relation, checked until what the authors call agreement; the paper gives no agreement value. Finally, four human experts do spot checks across categories.
- Evaluation judgment: ASR is the proportion of instances that elicit harmful answers, uniformly using the above HarmBench classifier. Reasoning models are evaluated only on the final answer, not the chain of thought.
What experiments did the paper conduct?
Table 1 overall ASR: GLM-4.1V-9B-Thinking is 87.63%, GPT-5.1 is 15.25%.
Experimental setup
- Models tested: Open-source single-image Llama3-LLaVA-NeXT-8B, LLaVA-v1.5-7B; conversational models InternVL3-8B/38B/78B, MiniCPM-o 2.6 (Appendix C writes 8B), Qwen2.5-VL-3B/32B-Instruct, Kimi-VL-A3B-Instruct (16B MoE); reasoning models QVQ-72B-Preview, Skywork-R1V3-38B, Kimi-VL-A3B-Thinking-2506, GLM-4.1V-9B-Thinking; closed-source GPT-4o, GPT-4o-mini, Gemini-2.5-Flash, Gemini-2.5-Pro, Gemini-3-Pro-Preview, GPT-5.1. 19 in total. The last two appear in Table 1; the Appendix C list does not include them.
- Data: MIR-SafetyBench has 2,676 items in total. Per-category sample sizes are in Table 1.
- Metrics and judgment: ASR is the proportion of harmful answers. All outputs use HarmBench-Llama-2-13b-cls. The paper does not state the classification threshold, sampling temperature, or number of repetitions. Models use default safety settings.
- Input processing: Single-image models that cannot natively take multiple images have the images concatenated horizontally with a 50-pixel white border into one image (Appendix D). Reasoning models are evaluated only on the final answer.
- Safety modes: Outputs labeled safe are classified by DeepSeek-R1 into Correct Refusal (CR), Harmless Misunderstanding (HM), Incomplete Refusal (IR), and Clever Evasion (CE).
- Environment: Open-source models run on NVIDIA A800 (80GB); construction uses four A800s; closed-source models are accessed via API.
Main results
The table below lists only 8 models; all numbers come from Table 1. Columns are Overall, Decomposition, Analogy, Relevance, Temporal Continuity.
Swipe horizontally to read the table
Model Overall Decomp. Analogy Relev. Cont. GLM-4.1V-9B-Thinking 87.63 87.53 93.40 77.63 85.49 Qwen2.5-VL-32B-Instruct 85.61 90.93 81.76 82.24 85.17 InternVL3-38B 81.43 88.44 81.13 69.74 79.50 Llama3-LLaVA-NeXT-8B 60.87 78.00 55.66 57.24 54.26 LLaVA-v1.5-7B 46.49 61.00 57.86 20.39 34.70 GPT-4o 69.58 77.10 58.49 52.63 74.76 Gemini-2.5-Pro 50.15 53.51 27.36 38.16 61.51 GPT-5.1 15.25 10.43 5.03 11.84 26.18 Overall ASR of omitted models (Table 1): Skywork-R1V3-38B 85.31%, Kimi-VL-A3B-Thinking-2506 78.21%, InternVL3-8B 77.80%, Kimi-VL-A3B-Instruct 74.74%, InternVL3-78B 74.33%, MiniCPM-o 2.6 74.25%, Qwen2.5-VL-3B-Instruct 74.22%, QVQ-72B-Preview 71.11%, Gemini-2.5-Flash 64.16%, GPT-4o-mini 58.63%, Gemini-3-Pro-Preview 39.20%.
- Generality: The authors say the vulnerability under multi-image relational reasoning is widespread and believe existing alignment strategies may struggle with risks arising from multi-image reasoning. The highest and lowest overall ASR in the table are the two ends the authors use to summarize this range.
- Relation to reasoning capability: The authors believe that, across a broad range of models, the results are consistent with the side effect of being smart: single-image models not optimized for multi-image have lower overall ASR; reasoning-enhanced versions are often higher than what the authors call their corresponding versions. In the omitted rows, Kimi-VL-A3B-Thinking-2506 is 78.21% and Kimi-VL-A3B-Instruct is 74.74%; Skywork-R1V3-38B is 85.31%, and the InternVL-38B the authors write corresponds to InternVL3-38B in the table. The authors also note the relation is not monotonic: frontier closed-source models can have strong reasoning and low ASR. InternVL3-78B is 74.33%, lower than InternVL3-8B's 77.80% and also lower than InternVL3-38B in the table, so "larger scale can correspond to higher ASR" does not hold in every direction.
- Relation types: The authors say more abstract, multi-step logical tasks are more vulnerable, citing Decomposition and Causality relative to Semantic Relevance. Causality is not in the table above: GLM-4.1V-9B-Thinking is 90.00%, GPT-4o is 78.21%, and GPT-5.1 is 21.43% (Table 1). GPT-5.1's Decomposition and Causality are not high.
Four forms of safe answers
Table 2 further classifies safe outputs. The table below lists only some rows (%).
Swipe horizontally to read the table
Model CR HM IR CE GPT-5.1 87.13 0.57 2.73 9.57 Gemini-2.5-Pro 73.99 1.87 0.60 23.54 GPT-4o 13.27 5.04 29.98 51.72 GPT-4o-mini 2.71 2.89 62.51 31.89 GLM-4.1V-9B-Thinking 0.91 8.46 0.30 90.33 LLaVA-v1.5-7B 1.82 46.51 2.03 49.65 - Few correct refusals: The authors say most models rarely give correct refusals; those that can reliably point out harmfulness are strong closed-source models like the Gemini series and GPT-5.1. In the same table, Gemini-2.5-Flash's CR is 69.24% and Gemini-3-Pro-Preview's is 71.85%. Open-source models' CR ranges from MiniCPM-o 2.6's 0.44% to Qwen2.5-VL-32B-Instruct's 10.39%.
- Understanding and ASR: The authors compare Kimi-VL-A3B-Instruct (HM 21.30%) with Kimi-VL-A3B-Thinking-2506 (HM 10.12%), and InternVL3-38B (HM 12.88%) with Skywork-R1V3-38B (HM 6.36%), and believe better prompt understanding (lower HM) co-occurs with higher ASR; some models look safe because they did not understand the request.
- Evasion is not safety: GPT-4o-mini's IR is the highest in the table. The authors believe short refusals without explanation make it hard for users to understand the risk; high CE indicates the model recognized the harmful intent but only gave useless content. The authors believe truly safe answers should also explicitly warn about danger and consequences. MiniCPM-o 2.6's CE is 83.02%. Manual inspection of harmful outputs summarizes two forms: prioritizing resolving the multi-image relations over enforcing safety constraints; and outputs that already contain safety considerations yet still give harmful steps. The paper does not report the sample size of this inspection.
Single-image comparison
Section 5.4 starts from 546 seeds that were successfully rewritten under at least one relation, and for each category selects the five models with the highest overall ASR. For the multi-image example, one successful rewrite is randomly selected; for the single-image example, following MM-SafetyBench's approach, the same harmful intent is placed into one image, and rewriting and image generation still use DeepSeek-R1 and FLUX.1-dev.
Model Single-image Multi-image Llama3-LLaVA-NeXT-8B 26.7 57.9 GPT-4o 19.4 65.2 Gemini-2.5-Flash 26.6 59.9 Qwen2.5-VL-32B-Instruct 36.6 81.5 GLM-4.1V-9B-Thinking 60.3 85.5 The authors say all five models are more dangerous under multi-image relational prompts, and cite models that perform reasonably under direct single-image attacks but have higher ASR after the same intent is rewritten into a multi-image relational task. The authors believe that, under matched generation pipelines, complex multi-image relations are associated with safety bypass.
Attention entropy
- What was measured: Four models: Qwen2.5-VL-3B-Instruct, MiniCPM-o-2.6, GLM-4.1V-9B-Thinking, and Kimi-VL-A3B-Thinking-2506. Comparing multi-image vs. single-image and safe vs. unsafe generations, with labels identical to the main experiment, and differences averaged over instances (Appendix E). The authors hypothesize that multi-image reasoning complexity may put the model into a state similar to cognitive overload, so they probe with attention entropy.
- What the authors say about the figures: The authors say the two conversational models show large red regions across many layers in the multi-image setting, i.e., attention entropy of safe generations is higher than unsafe ones, while the single-image setting has no clear structure; for the two reasoning models, the similar difference is concentrated in the early part of the answer (approximately the chain of thought). Figure 4 plots Qwen2.5-VL-3B-Instruct and GLM-4.1V-9B-Thinking, and Figure 5 plots the other two; the captions only say red indicates a larger difference. The main text does not give values for each cell. The authors believe this may be an internal vulnerability: near the capability boundary, attention is overly focused on solving the problem, leaving insufficient capacity for safety constraints. The authors say this is a correlation, not causation.
- Length: Appendix G first removes samples whose answers are shorter than 1000 characters. The authors say that on the remaining data, the average lengths of safe and unsafe answers differ by at most about 20%, with inconsistent directions, so the entropy difference is unlikely to be explained by length alone.
Other ablations and analyses
- Relation sample sizes (Table 1): Decomposition 441, Relevance 152, Analogy 318, Continuity 317, Jump 303, Embedding 293, Juxtaposition 292, Causality 280, Complementarity 280.
- Gemini-2.5-Flash (not in the main table): Analogy 42.77%, Embedding 52.22%, overall 64.16% (Table 1).
- QVQ-72B-Preview overall ASR 71.11% (Table 1); Figure 1 labels it Level 3, MMR 46.9.
- Appendix G multi-image average tokens: Qwen2.5-VL-3B-Instruct safe 811, unsafe 639, absolute difference 172; GLM-4.1V-9B-Thinking is 2480 and 2487, absolute difference 7.
- Same-table single-image: Qwen safe 492, unsafe 475, absolute difference 17; Kimi-VL-A3B-Thinking-2506 safe 707, unsafe 829, absolute difference 122.
What are some points that can be further explored?
The authors point out the deviation of coverage and automatic components, and do not propose detection or training mitigation.
Limitations and future directions noted by the authors
- Coverage and bias (Limitations): The benchmark consists of 2,676 synthetic multi-image instances, each with 2–4 generated images, 9 relations, and 6 predefined risk categories. The authors state that coverage is broad but not exhaustive, and inherits biases from the source safety datasets and the automatic seed rewriting pipeline.
- Automatic components (Limitations): The pipeline relies on DeepSeek-R1, Qwen2.5-VL-7B-Instruct, FLUX.1-dev, and HarmBench-Llama-2-13b-cls. The authors state that flaws or biases in these components may introduce systematic noise into instances and safety labels; humans only spot-checked samples and did not exhaustively validate the dataset.
- Evaluation setting (Limitations): The evaluation focuses on 19 popular MLLMs with single-turn prompts, and the main metric is classifier ASR. The authors state that this does not cover interactive, multi-turn, or tool-augmented usage.
- Attention analysis (Limitations): Only four representative models are analyzed, and the evidence is correlational rather than causal. The authors state that future work should extend to more realistic user interactions, more modalities and relation types, and richer measurements of internal states and real-world safety impact.
- Mitigation (Limitations): The authors state that the work is primarily diagnostic; they did not train or adapt models with MIR-SafetyBench, nor propose detection mechanisms, safety monitoring, or training-time regularization based on these findings. Moving from characterization to practical mitigation is future work.
Experimental coverage
- The main evaluation models are the 19 MLLMs in Table 1; ASR is determined by HarmBench-Llama-2-13b-cls. Reasoning models are evaluated only on final answers; single-image models receive 50-pixel white-border concatenated images (Appendix D).
- Outputs labeled safe are classified by DeepSeek-R1 into CR, HM, IR, CE (Table 2). The two failure modes of harmful outputs come from manual inspection; the paper does not report the sample size of that inspection.
- The single-image comparison uses 546 seeds successfully rewritten by at least one relation, and the model with the highest overall ASR among the five categories; the single-image setup reproduces MM-SafetyBench, with rewriting and image generation still using DeepSeek-R1 and FLUX.1-dev (Section 5.4, Table 3).
- The attention entropy analysis covers Qwen2.5-VL-3B-Instruct, MiniCPM-o-2.6, GLM-4.1V-9B-Thinking, and Kimi-VL-A3B-Thinking-2506, using full-text evaluation data with the same safety labels, and removing samples with answers shorter than 1000 characters (Section 5.5, Appendix G).
- The paper does not report the number of ASR repetitions, classifier thresholds, or sampled human agreement values, nor ASR broken down by the 6 risk categories. During construction, each seed goes through at most five rounds (Section 4).
Summarize the main content of the paper
The benchmark tests multi-image safety with 9 relation types; the authors state that stronger reasoning often co-occurs with higher ASR, but frontier closed-source models need not follow this pattern.
MIR-SafetyBench evaluates the multi-image reasoning safety of MLLMs: harm does not rely on a single explicitly harmful image, but is inferred through text instructions together with cross-image relations.
- Problem: The authors believe that capability enhancement expands the attack surface. Content safety evaluations focus on rejecting explicitly harmful images and rarely cover harm that only emerges through multi-step relational reasoning. Figure 1 illustrates three levels, MMR 34.7, 41.4, 46.9: models better at multi-image reasoning may turn potentially harmful requests into concrete steps.
- Benchmark: 600 seeds across six risk categories, rewritten by DeepSeek-R1, images generated by FLUX.1-dev, trial answers by Qwen2.5-VL-7B-Instruct, labeled by the HarmBench classifier, and four acceptance checks, over at most five rounds, yielding 2,676 instances. Relations fall into four types—temporal, spatial, semantic, logical—totaling nine relations, each instance with 2–4 images. The authors state that to their knowledge this is the first comprehensive benchmark of its kind.
- Main results: In Table 1, GLM-4.1V-9B-Thinking has an overall ASR of 87.63%, and GPT-5.1 of 15.25%. Single-image models Llama3-LLaVA-NeXT-8B and LLaVA-v1.5-7B have 60.87% and 46.49%. The authors believe that across a broad range, stronger multi-image reasoning co-occurs with higher ASR, but frontier closed-source models can have both strong reasoning and low ASR, so the relationship is not monotonic.
- Comparison and safety modes: On the same 546 seeds, the five models in Table 3 all have higher multi-image ASR than single-image ASR; GPT-4o has 19.4% and 65.2%. In Table 2, among GPT-5.1's safe answers, CR accounts for 87.13%, and among GLM-4.1V-9B-Thinking's, CE accounts for 90.33%. The authors believe that many answers labeled safe come from misunderstanding, brief refusal, or avoidance, rather than explicitly identifying the harm.
- Internal observations and follow-up: The authors state that only in the multi-image setting, the average attention entropy of unsafe generations is lower than that of safe generations, possibly because problem-solving consumes capacity that could otherwise be used for safety constraints; the evidence is correlational. The authors did not use the benchmark for training or propose detection, monitoring, or regularization, and leave mitigation as future work. The abstract states that code and data are provided; in the ethics statement, the authors plan to conduct further checks before open-sourcing.