DMN: A Compositional Jailbreak Framework for Multimodal Large Models with Multi-Image InputDMN: A Compositional Framework for Jailbreaking Multimodal LLMs with Multi-Image Inputs
Translation in progress — untranslated text is omitted.
DMN uses distributed instructions, multimodal evidence, and digital chains to jailbreak 10 multi-image MLLMs in a single-turn black-box setting, achieving an average ASR of 89.32% on SafeBench.
Single-turn black-box: the attacker can only interact once with a target MLLM supporting multi-image input and cannot access parameters, gradients, logits, or system prompts. Submits text and image sequences to cause the model to generate harmful responses; success is determined by criterion C (e.g., judge LLM) as harmful.
- Evaluated models
- GPT-4VGPT-4oGPT-5o3o4-miniGemini-2.5-flashGemini-2.5-proClaude Sonnet 4Qwen3-VL-plusSeed1.5-VL
- Benchmarks
- SafeBenchHADESMM-SafetyBenchMIR Benchmark
- Metrics
- ASRimage generation success rateblock rate
The researchers propose a compositional jailbreak framework, DMN, which uses distributed instructions, multimodal evidence, and a number chain task to attack multimodal large models that support multi-image input. The paper notes that previous multimodal jailbreak methods used only a single image, making it impossible to distribute harmful requests across multiple images, carry richer information, or use additional visual reasoning tasks to divert the model's attention. Experiments show that DMN achieves an attack success rate above 90% on GPT-4o, Gemini-2.5-pro, and Claude Sonnet 4, substantially exceeding other baselines, and the authors believe this reveals fundamental weaknesses in the safety mechanisms of these models. The work has been accepted at the ACL 2026 main conference.
Paper analysis
What problem does this paper attempt to solve?
Multi-image safety alignment is insufficient, and DMN splits instructions, evidence, and interference across multiple images for single-turn black-box jailbreaks.
Multi-image safety alignment is insufficient, and harmful intent can be split across multiple images, bypassing defenses designed mainly for single images.
- Scenario: The authors state that MLLMs such as GPT-5 and Gemini-2.5-Pro already support multiple images in a single query, which improves utility while introducing new vulnerabilities, because most multimodal safety work targets single images. When harmful intent is distributed across multiple images, safety mechanisms may fail to perform joint reasoning over the full image sequence.
- Existing shortcomings: Existing MLLM jailbreaks rely mainly on single images, embedding malicious intent through typographic rendering or query-related images. The authors state that a single image cannot distribute harmful instructions across multiple images, limiting the information it can carry, and also lacks room to use auxiliary reasoning tasks to interfere with safety mechanisms.
- The authors' judgment: Multi-image strategies may improve jailbreak effectiveness; splitting typographic text makes it harder to detect the overall harmful intent; packaging image generation as realistic scenarios can reduce T2I refusal and increase response detail; additional tasks can weaken safety mechanisms.
- This paper proposes: A compositional framework, DMN, comprising distributed instructions, multimodal evidence, and a number chain task, evaluated on 3 datasets and 10 MLLMs.
- Threat model:
- Goal: Bypass built-in guardrails and induce the model to output harmful or prohibited content; maximize the number of responses judged harmful by criterion C on the datasets.
- Knowledge: single-turn black box. Can interact with the target only once, with no access to parameters, gradients, logits, or system prompts.
- Capability: Submit text T and an image sequence. Images are generated by the attack pipeline, including typographic images, T2I visual evidence, and number chain frames.
- Victim system: MLLMs supporting multi-image input. C (e.g., a judge LLM) gives a binary label, with harmful as 1.
What related research exists?
Related work is divided into perturbation-based and structure-based jailbreaks; the authors state that, to their knowledge, the only multi-image method is VideoJail.
The introduction and Related Work divide the background into multimodal models, and perturbation-based and structure-based jailbreaks; among multi-image methods, VideoJail is singled out.
Multimodal Models
- MLLM architecture (Anthropic, 2025; Gemini Team, 2025): An image encoder paired with a language backbone, aligning visual features into token space via a projection or adapter, used for visual question answering and multimodal instruction following. This paper focuses on models supporting multi-image input, such as the GPT series (OpenAI et al., 2024; OpenAI, 2025).
Perturbation-Based Jailbreaks
- Gradient-based adversarial images (Qi et al., 2024; Ying et al., 2024; Xu et al., 2025): Use gradients from open-source surrogate models to craft adversarial images to bypass safety alignment. The paper states that these methods often rely on surrogate models and transfer poorly under black-box settings (Schaeffer et al., 2024).
Structure-Based and Interference
- Visualizing harmful intent: The paper describes these methods as replacing unsafe text with visual rendering (Gong et al., 2025; Yang et al., 2025), or using generative models for query-related images (Liu et al., 2024a; Li et al., 2024), and states that they bypass text filters through OCR and visual grounding.
- Interference: Yang et al. (2025) use irrelevant content to interfere with MLLMs; Xu et al. (2024) and Jiang et al. (2025) use additional content to increase reasoning complexity. The paper cites them as motivation for the number chain task.
Multi-Image Methods and Baselines
- VideoJail (Hu et al., 2025): The authors state that, to their knowledge, this is the only existing multi-image jailbreak; formally multi-image, it actually expands related images into a related video, carrying a large amount of redundant information.
- Baseline methods are the single-image FigStep, HADES, QRA, CS-DJ, and the multi-image VideoJail. Benchmarks/datasets are SafeBench (500), HADES (750), and MM-SafetyBench (1680).
The authors position this paper as a framework containing three types of images, used to examine vulnerabilities introduced by richer multimodal input, rather than merely stacking similar video frames.
How does the paper address this problem?
DMN composes a single multi-image query using distributed instructions, multimodal evidence, and digit-chain frames.
DMN organizes a single query as a text prompt plus three types of images, with the overall prompt specifying how to handle each part. Generation is written as y = M(T, I1:m), meaning the response is autoregressively produced conditioned jointly on text T and m images. The paper writes the attack goal as Equation (2): on dataset D, make criterion C judge as many responses as possible as harmful.
Problem Setting
- Interaction: single-turn black box, with no access to parameters, gradients, logits, or system prompts.
- Image division: distributed instructions, multimodal evidence, and number chain frames each correspond to a portion of the images; Figure 4 illustrates their positions in the sequence.
- Motivation: The authors believe that typographic text, query-related images, and interference can all be further strengthened in the multi-image setting.
Distributed Instructions
- Form: FigStep-style typographic images. Each image has one word at the top and numbered blank lines below to induce filling (Figure 1). In implementation, each image keeps only one word so that content can be split apart.
- Assumption: The authors assume that after splitting, the model finds it harder to detect the overall harmful intent. The comparison with single-image instructions is in Section 4.3.
Multimodal Evidence
- Pipeline: An auxiliary LLM extracts key phrases from the original request, generates realistic scenario text with multiple details, then writes a scene description suitable for T2I (appearance, object positions, camera angle); T2I generates visual evidence paired with the text (Figure 2).
- Failure retry: Records the T2I prompts already used; on failure, an LLM with refined prompts rewrites against the failure history before generating again. Appendix A gives the complete prompts for each step.
- Two points given by the authors: After packaging into scenario generation, the harmfulness of the image-generation request is less direct, so T2I is less likely to refuse; text plus visual evidence provides more information, helping increase response detail. The paper gives an example of a direct image-generation request being easily refused; that request is not repeated here.
Number Chain Task
- Frame content: Each frame contains a digit randomly drawn from 0–9 and the index of the next frame; the final frame marks the end. The model extracts digits according to the indices and reassembles the full chain (Figure 3).
- Placement: Not placed only at the end of the sequence in a fixed way, but inserted at random intervals among the other images. The jump order is random and jumps only between number chain frames. Pseudocode is in Appendix B.
- Purpose: The authors use it as interference, exploiting the model's ability to process image sequences in the order specified by the instruction.
Implementation and Judgment
- Parameters: The auxiliary LLM is Gemini-2.5-flash, and the default T2I for visual evidence is GPT Image 1. There are 5 evidence pairs, 5 number chain frames, and up to 5 image-generation retries; if still failing, a typographic text placeholder image is used.
- Judgment: The main experiments use GPT-4 with the prompt in Appendix F for harmful/harmless binary classification. ASR is the proportion of requests that elicit harmful responses out of all requests in that dataset.
What experiments did the paper conduct?
In Table 1, the 10-model average ASR for DMN is 89.32%, 93.09%, and 86.24%.
Experimental Setup
- Target models: GPT-4V, GPT-4o, GPT-5, o3, o4-mini, Gemini-2.5-flash, Gemini-2.5-pro, Claude Sonnet 4, Qwen3-VL-plus, Seed1.5-VL, 10 in total, all supporting multi-image input.
- Data: SafeBench 500 items, HADES 750 items, MM-SafetyBench 1680 items. The filter's normal request test uses the first 200 items of the MIR Benchmark.
- Baselines and attack side: SafeBench lists FigStep, CS-DJ; HADES lists the HADES method, VideoJail; MM-SafetyBench lists QRA. The auxiliary LLM is Gemini-2.5-flash (also one of the targets); the default visual evidence uses GPT Image 1, and image generation comparison additionally uses Nano Banana.
- Main metric and evaluation: ASR. The main evaluator is GPT-4's safe/unsafe binary judgment (Appendix F). Appendix E additionally uses CLAS (Gemini-2.5-flash scores 1–5, only 5 counts as success) and Llama-Guard-3-8B.
- Not specified in the paper: the number of repetitions per condition, and the number of queries to each target model. KFAR is taken on Qwen-2.5-VL-7B at the last layer, first output token's attention.
Main Results
The table below shows the ASR (%) of DMN in Table 1. Due to row limits, GPT-4V, o4-mini, and Seed1.5-VL are omitted; their DMN on SafeBench / HADES / MM-SafetyBench are 93.4 / 99.60 / 91.25, 88.6 / 88.40 / 80.65, 91.8 / 99.20 / 88.45, respectively.
Swipe horizontally to read the table
Model SafeBench HADES MM-SafetyBench GPT-4o 92.8 99.47 90.42 GPT-5 83.2 82.00 82.86 o3 86.2 77.47 82.02 Gemini-2.5-flash 81.0 95.87 80.54 Gemini-2.5-pro 95.2 98.67 93.75 Claude Sonnet 4 94.2 94.53 93.10 Qwen3-VL-plus 86.8 95.73 79.40 10-model average 89.32 93.09 86.24 - In Table 1, each cell of DMN on each dataset is higher than the baselines in the same table. 10-model average: on SafeBench FigStep 20.22%, CS-DJ 30.18%, DMN 89.32%; on HADES the HADES method 4.53%, VideoJail 8.77%, DMN 93.09%; on MM-SafetyBench QRA 21.30%, DMN 86.24%.
- The authors state that multi-image safety alignment is weaker than single-image. VideoJail is only slightly higher than the HADES method; the authors state that if frames carry only redundant information, even with multi-image, the improvement is limited. Appendix C repeats the same image 1, 10, 20 times; FigStep's ASR is 20.22%, 20.14%, 20.36%, and CS-DJ is 30.18%, 31.74%, 31.60%.
- Not every cell is above 90%: on SafeBench Gemini-2.5-flash is 81.0%, on HADES o3 is 77.47%, on MM-SafetyBench Qwen3-VL-plus is 79.40%. The abstract's statement that GPT-4o, Gemini-2.5-pro, and Claude Sonnet 4 exceed 90% is consistent with the three columns of these three rows in Table 1. The authors state that manual inspection of a small subset saw replies that are harmful and list steps; the paper does not give the size of that subset. Appendix G gives complete examples.
Image Generation Success Rate
- Single generation (Table 2, retries disabled): on GPT Image 1, DMN on HADES / SafeBench is 93.36% / 96.68%, QRA is 33.86% / 44.40%, the HADES method is 7.60% / 39.80%. On Nano Banana, DMN is 93.36% / 95.96%, QRA is 49.86% / 51.20%, the HADES method is 8.40% / 28.80%. The authors state that after packaging into realistic cases, T2I is more likely to consider it safe.
- Retries (Table 3): GPT Image 1 on SafeBench succeeds on the 1st attempt 95.80%, on attempts 2–5 3.44%, and still fails after 5 attempts 0.76%; on HADES it is 89.65%, 6.56%, 3.79%. Nano Banana fails 0.32% on SafeBench and 0.72% on HADES. The authors state that on SafeBench the final success rate of both T2I models exceeds 99% (Failed below 1%); on HADES GPT Image 1's Failed is 3.79%, which is not within the scope of this sentence.
Evaluation of Jailbreak Defenses
- Setup: Table 4, SafeBench, ASR is the average of 10 MLLMs. Self-Reminder, Adashield-S, ECSO are adapted to multimodal input; QwenGuard-v1.2-7B filters before the target. The authors additionally use GPT-5 and the prompts in Appendix H as a multi-image filter.
- Results: No defense 89.32%, Self-Reminder 72.02%, Adashield-S 65.20%, ECSO 66.18%, QwenGuard 78.46%, the authors' filter 28.86%. The authors state that existing defenses only bring a moderate decrease, with ASR still at least above 65%; the authors' filter decreases more.
- Normal requests: The interception rate on the first 200 items of the MIR Benchmark is 2.5%. The authors state that among them there are a small number of samples with some harmfulness, and the filter still rarely intercepts normal requests. The paper does not give the count of these samples.
Modules, Splitting, and Interference
- Modules and number of images (Table 5, SafeBench, 10-model average): text-only 7.32%, DI 51.58%, DI+ME 79.40%, DMN 89.32%. After padding with blank images to the same number of images, it is 7.68%, 51.74%, 80.02%. The authors state that each module contributes, adding only blank images has little effect, and the gain mainly comes from the modules rather than the number of images.
- Splitting (Table 6, also 10-model average): DI 48.44% vs. single-image instruction 34.56%; after adding multimodal evidence 79.40% vs. 74.82%; after adding the digit chain 89.32% vs. 81.52%. The authors state that whether alone or combined, splitting by words is higher than whole-image layout. VideoJail-Pro is 46.72%, close to DI's 48.44%; the authors state that different splitting strategies have similar effects. DI in Table 5 is 51.58%, which is not the same cell as in Table 6.
- Interference tasks (Table 7, each inserting 5 frames): blank frame index has PFIR 1, ASR 83.18%; cat/dog frame index has PFIR 2, ASR 86.92%; digit chain has PFIR 3, ASR 89.32%. The authors speculate that more complex auxiliary tasks can interfere more with the model. Figure 6 compares KFAR on Qwen-2.5-VL-7B; the authors state that the digit chain has the highest median and the blank frame index the lowest. The main text does not give the specific quantile values of the box plots.
Other Ablations and Analyses
- Number of evidence pairs (Figure 7, SafeBench, 10-model average): the authors state that increasing evidence pairs raises both ASR and the word count of jailbreak-successful replies. The main text does not give the values of each bar.
- Digit chain position (Table 8): the printed averages for Random and End are 89.32% and 85.18%. Claude Sonnet 4 is 94.2% vs. 79.8%; the authors state that random placement increases ASR by 14.4%; GPT-4V is 93.4% vs. 93.8%, random placement does not improve. The authors state that whether it is effective depends on the model.
- Categories (Table 14, SafeBench, 10-model average): Malware Generation and Privacy Violation are 98.6%, Health Consultation is 72.8%, Legal Opinion 75.0%, Adult Content 77.6%, Financial Advice 84.8%. The authors state that the latter four categories are lower; after spot-checking, they believe that some requests in Adult Content cannot elicit harmful replies, and in the other three categories some requests are not that harmful themselves, so they are judged as safe.
- Two other evaluations (Table 15 average): on SafeBench Default / CLAS / Llama-Guard are 89.32% / 83.80% / 87.90%; on HADES 93.09% / 92.83% / 91.97%; on MM-SafetyBench 86.24% / 80.76% / 76.76%. The authors state that after changing the evaluator, DMN still obtains high ASR.
- Exceptions: VideoJail on Claude Sonnet 4, HADES is 0.00% (Table 1). Image generation can fail (Table 3). The authors' filter reduces the average ASR to 28.86%, not 0.
What are some points that can be further explored?
The authors state the method is limited to multi-image models, has higher cost, or may only work via API, and KFAR comes from open-source models.
Limitations and Future Directions Noted by the Authors
- Applicable models: The application is limited to MLLMs that support multi-image input (Limitations (1)).
- Cost: Requires more processing time and input tokens than single-image jailbreaks, with higher computational cost and expense; the paper does not give the time or token counts (Limitations (2)).
- Interface: Web interfaces limit the number of images that can be uploaded, so DMN may support only API-based jailbreaks (Limitations (3)).
- Attention visualization: The KFAR distribution is drawn using an open-source model, and the authors state that it may not fully represent closed-source commercial models (Limitations (4)).
- Future work: The authors plan to explore other multi-image jailbreak patterns and defenses against multi-image jailbreaks (Conclusion).
Experimental Coverage
- Attack targets: Table 1 reports ASR for 10 target MLLMs on SafeBench (500), HADES (750), and MM-SafetyBench (1680).
- Comparisons: Baselines are FigStep, CS-DJ, the HADES method, QRA, and VideoJail; the baseline columns differ by dataset in Table 1. Appendix C also repeats a single image 1, 10, and 20 times.
- Defenses: Table 4 includes Self-Reminder, Adashield-S, ECSO, QwenGuard, and a filter implemented by the authors with GPT-5, with numbers averaged over 10 models; MIR reports only the interception rate on the first 200 entries.
- Generation and evaluation: Image generation models are GPT Image 1 and Nano Banana, and the auxiliary LLM is Gemini-2.5-flash. The primary evaluator is GPT-4, with CLAS and Llama-Guard-3-8B additionally in Appendix E. The paper does not report the number of repetitions or queries.
- Mechanism: PFIR and ASR for the three auxiliary tasks are in Table 7; KFAR is computed only on Qwen-2.5-VL-7B (Figure 6).
Summarize the main content of the paper
DMN combines split instructions, case evidence, and digit chains, achieving an average ASR higher than the baseline in the same table across 10 MLLMs.
DMN is a single-turn black-box jailbreak framework for MLLMs that support multi-image input, targeting the fact that multi-image safety alignment is limited.
- Problem: Single-image jailbreaks cannot split harmful requests across multiple images, and it is also difficult to carry substantial evidence and add interference tasks at the same time. The victim system accepts multiple images in one query; the attacker does not see parameters, gradients, logits, or system prompts and interacts only once.
- Method: Distributed instructions split typographic images by word; multimodal evidence is written as scenarios by Gemini-2.5-flash and then paired images are generated by T2I, with refinement against prompt history on failure, up to 5 times; number chain frames are inserted randomly into the sequence, and the model extracts digits by index. By default, 5 evidence pairs and 5 frames are used. The primary judgment is GPT-4's harmful/harmless classification, with ASR as the metric.
- Main results: The 10-model average ASR in Table 1 is 89.32% on SafeBench (FigStep 20.22%, CS-DJ 30.18%), 93.09% on HADES (VideoJail 8.77%), and 86.24% on MM-SafetyBench (QRA 21.30%). GPT-4o, Gemini-2.5-pro, and Claude Sonnet 4 all exceed 90% DMN ASR across these three datasets. The lowest cell in the same table is o3 on HADES at 77.47%.
- Defenses and ablations: In Table 4, the lowest 10-model average ASR among existing defenses is Adashield-S at 65.20%, and the authors' filter is 28.86%; the interception rate on the first 200 entries of MIR is 2.5%. In Table 5, ASR is almost unchanged after padding with blank images, and the authors state that the gain comes from the three modules. In Table 6, splitting by word is higher than placing words in the same image.
- Authors' conclusion: The authors state that the experiments achieve high ASR and exceed other baselines, corresponding to vulnerabilities in current MLLMs that can be exploited by compositional multi-image input, and they plan to continue studying multi-image jailbreak patterns and defenses. The limitations written in the paper are that it applies only to multi-image models, has higher cost, may be limited to API use, and the KFAR visualization comes from an open-source model.