HACA: A Multimodal Automatic Red-Teaming Method with Decoupled and Combined Atomic Jailbreak StrategiesA Multimodal Automatic Redteaming Evaluation based on Atomic Jailbreak Strategy Decoupling and Combination
HACA decomposes image-text jailbreaking into six-dimensional atomic strategies and automatically combines them, achieving an average ASR of 95.48% across five MLLMs.
Query-based setting: generate text and image instructions from the original malicious intent, query the target MLLM until the attack succeeds or the maximum number of queries is reached (10 in experiments), and return the instruction with the highest toxicity, to increase the probability of producing harmful content under the harmful judgment function J. The paper does not state whether weights or gradients are visible, nor does it label HACA as black-box or white-box.
- MLLMs can be triggered by image-text jailbreaks to produce harmful outputs. The authors state that existing attacks are mostly tied to specific scenarios or manual tricks, and lack an atomic multimodal strategy space as well as an automated red-teaming framework that can run without human expertise.
- HACA decomposes text and image jailbreak strategies into three layers—structure, semantics, and syntax—comprising 30 atomic units in total. The planner selects six strategies based on intra-layer complementarity and inter-layer non-conflict, then uses an LLM and a text-to-image model to generate image-text instructions, querying the target until success or reaching the query limit.
- On Safebench's 350 cases, HACA achieves an average ASR of 95.48% across five MLLMs. In Table 1's Average ASR, VLGuard is 83.14% and LLaVA-1.6-Mistral is 99.71%.
- The authors state that experiments are limited to the seven Safebench categories and several mainstream MLLMs; lightweight edge models and emerging high-risk scenarios are not included; effectiveness depends on external generation models and may decline when transferred to weaker models. Ablations are written on the Illegal Activities subset of GPT-5; the paper does not report reviewer or human agreement.
- Evaluated models
- LLaVA-1.6-Mistral-7BInternVL-3.5-8BVLGuard (LLaVA-v1.5-7B-Mixed)GPT-5-2025-0807Gemini-2.5-Pro
- Benchmarks
- Safebench
- Metrics
- ASRToxic Score
The researchers propose a multimodal automatic red-teaming jailbreak method, Hierarchical Atomic Combination Attack (HACA), achieving an average attack success rate of 95.48% across five mainstream MLLMs. The method first decomposes the text and image jailbreak strategy space into three layers—structure, semantics, and syntax—to build a jailbreak strategy set covering both modalities; then, based on a six-dimensional strategy space, a cross-modal joint planner selects and combines different atomic jailbreak strategies to generate subsequent jailbreak instructions; at the implementation level, a unified generation executor is used to directly produce jailbreak instructions according to the selected multimodal strategies. The paper argues that existing multimodal jailbreak attacks lack an atomic strategy space and a concise, efficient execution framework that goes beyond human expertise.
Paper analysis
What problem does this paper attempt to solve?
Lack of a composable multimodal atomic jailbreak strategy space and an automatically executable red-teaming framework.
Lack of a composable multimodal atomic jailbreak strategy space and an automatic red-teaming framework that can operate without human expertise.
- Scenario: The authors state that MLLMs have been used for question answering, dialogue, retrieval, and content generation, but can still be triggered by text-only jailbreak prompts, as well as image-text attacks such as cross-modal semantics, to produce harmful or policy-violating outputs and bypass safety alignment.
- Existing limitations: The authors state that most attacks target specific scenarios, manual techniques, or isolated improvements, making it difficult to systematically probe vulnerabilities at scale. Automatic red-teaming agents lack atomic definitions and hierarchical structuring of multimodal strategies; cross-modal combination relies on human priors; strategies are often tied to their own execution logic, which the authors describe as case-by-case, limiting large-scale evaluation without human intervention.
- Proposed content: They decompose text and image strategies into three layers—structure, semantics, and syntax—to build an atomic strategy set, and propose Hierarchical Atomic Combination Attack (HACA): a planner selects combinations, and a unified generator produces image-text jailbreak instructions.
- Threat model:
- Goal: Search for strategy combinations to improve the alignment of jailbreak samples with the original malicious intent, cross-modal complementarity, and the probability that the target MLLM outputs harmful content. The harmfulness function J determines whether the output conforms to that intent.
- Knowledge: The paper describes HACA as a query-based attack setting. It does not state whether the attacker can see weights, gradients, or internal states, nor does it use the terms black-box, white-box, or gray-box for the method.
- Capability: Generate text and image instructions according to selected strategies; query the target until the attack succeeds or the maximum number of queries is reached, returning the instruction with the highest toxicity. The cap in experiments is 10. "Attack success" within the loop is not further defined.
- Victim system: The queried MLLM. The evaluation includes open-source and closed-source models.
What related research exists?
The paper shifts multimodal red teaming from method orchestration to planning over a hierarchical strategy space.
- Perturbation-based image-text jailbreaks: The paper categorizes Bailey et al. (2023), Shayegani et al. (2023), Zhao et al. (2024), Niu et al. (2024), Qi et al. (2024), Zhao et al. (2025a), and Teng et al. (2024) as injecting noise or triggers into harmful or seemingly benign inputs. The text explicitly states: Zhao et al. (2024) treat the target as a black box and adjust image-text prompts based on query feedback; Niu et al. (2024) use a local white-box MLLM as a proxy to improve transfer; Qi et al. (2024) search for universal adversarial images that can affect multiple targets.
- Generative image-text jailbreaks: FigStep (Gong et al., 2023) renders harmful text on a solid-color background, exploiting OCR. MM-SafetyBench (Liu et al., 2023) uses text-to-image models to generate query-related scenes with embedded typography. HADES (Li et al., 2024b) iteratively refines multimodal inputs based on feedback.
- Automatic red-teaming: On the text side, Perez et al. (2022), AutoDAN-Turbo (Liu et al., 2024a), AutoRedTeamer (Zhou et al., 2025), and X-Teaming (Rahman et al., 2025). The paper states that these systems show that LLMs can be automatically and adaptively probed with adversarial queries. On the multimodal side, Arondight (Liu et al., 2024b) combines text jailbreak strategies with template-based image generation; ARMs (Chen et al., 2025) attempts to integrate different jailbreak methods using a model context protocol; TreeTeaming (Li et al., 2026b) evolves attack paths or expands strategy trees.
- Baselines and data: Experiments compare Basic, QR-Attack (Liu et al., 2023), HADES (Li et al., 2024c), FigStep, SI-Attack (Zhao et al., 2025a), Ideator (Wang et al., 2025), and TreeTeaming. Data are the seven harmful query categories from Safebench, 50 items per category.
The authors state that existing multimodal red-teaming agents mostly operate at the method or workflow level, without providing a decomposable, hierarchical strategy space. The authors frame HACA as planning over this space: a so-called history-aware cross-modal planner combines atomic units, which are then instantiated by a unified generation executor.
How does the paper address this problem?
HACA uses a planner to select six from six-dimensional atomic strategies, then uniformly generates image-text jailbreak instructions.
HACA formulates text-image jailbreaking as discrete constrained optimization over six-dimensional atomic strategies: a planner selects complementary and non-conflicting combinations, and a unified executor directly generates text and image instructions.
Atomic Strategy Definition
- An atomic strategy is denoted as s=(L, m, n, f, e). m is the modality, taking T (text) or I (image); L is the level, taking Str, Sem, or Syn; n is the name; f is the execution method definition; e is an application example. A single atomic strategy belongs to only one level.
- Structural level changes layout, segmentation, or image paneling to disrupt the overall parsing of harmful content. Semantic level rewrites intent and task definitions to conceal, shift, or disguise malicious intent. Syntactic level perturbs characters, encoding, or pixels to bypass what the authors call low-level safety mechanisms.
- The authors extract and standardize strategies from public multimodal jailbreak research using LLMs with prompt engineering. This paper selects 30: 15 each for text and image, 5 per level, collected into the strategy library S. Names are in Section 3.2 of the main text; operational definitions are not repeated here.
- The authors state that this taxonomy aligns with MLLMs' hierarchical cognition and corresponding defenses, and claim that cross-level collaborative defenses in most MLLMs remain underdeveloped. This is a design statement, not a measurement result.
Optimization Objective and Query Setting
- The objective is argmaxS∗ J(M(XT, XI)). J judges whether the output conforms to the original harmful intent; XT and XI are the text and image instructions generated accordingly; S* is the selected strategy combination; M(.) is the MLLM's output.
- The setting is query-based: query the target until the attack succeeds or the maximum number of queries is reached, returning the instruction with the highest toxicity. This cap is 10 in the experiments. The main text does not state whether strategies are reselected for each query.
Cross-Modal Joint Planner
- The planner selects six atomic strategies from the strategy library: one each from the structural, semantic, and syntactic levels for both text and image. The main text states its prompt is in the appendix; the prompt is not reproduced here.
- The selection is heuristic, with two criteria. Cross-modal complementarity within a level: text and image strategies at the same level are functionally aligned. The paper's example: when the text side uses authoritative persona authorization, the image side should provide corresponding professional role context, not inconsistent semantics. Cross-level decoupling and non-conflict: different levels are treated as orthogonal actions; for example, image paneling rearrangement should not disrupt the object relationships needed by the semantic level.
- Section 2.2 calls this planner history-aware. Section 4.2 specifies the two constraints above but does not further describe how historical information enters the selection. The authors state this avoids concentrating attack logic in a single modality while simultaneously examining layout parsing, intent understanding, and low-level encoding.
Unified Generation Executor
- The text executor is an LLM that generates text instructions according to the text-side strategy and original intent. In the experiments, it is served by DeepSeek-V1, which also rewrites image strategies into text prompts readable by text-to-image models.
- The image executor is a text-to-image model that generates images according to the image-side strategy and original intent. In the experiments, it is Flux.1-dev.
- The authors state that the two executors can generate according to strategy requirements while keeping instructions readable and parseable; this paradigm replaces one code path per strategy with general-purpose generative models.
What experiments did the paper conduct?
On Safebench, HACA achieves an average ASR of 95.48% across five MLLMs, and in Table 1 each model is higher than the listed baselines.
Experimental Setup
- Tested models: Open-source LLaVA-1.6-Mistral-7B, InternVL-3.5-8B, VLGuard (LLaVA-v1.5-7B-Mixed); closed-source GPT-5-2025-0807, Gemini-2.5-Pro (from Azure). Table 1 row names are InternVL-3.5, LLaVA-1.6-Mistral, VLGuard, Gemini-2.5-pro, GPT-5-2025-0807. Section 5.2 refers to the LLaVA-1.6-Mistral row as LLaVA-Next.
- Data: Seven Safebench categories: Illegal Activities, Hate Speech, Malware Generation, Physical Harm, Fraud, Pornography, and what the main text calls Privacy Violence. Table 1 labels the last category as Privacy Violation. 50 items per category, 350 in total.
- Baselines: Basic, FigStep, QR-Attack, SI-Attack, HADES, Ideator, TreeTeaming. Table 1 has no numbers for TreeTeaming.
- Metrics: Toxic Score and ASR. The reviewer model is GPT-4.1-2025-04-14. The appendix follows Zhao et al. (2025a), with scores from 1 to 5, and a score of at least 4 counts as ASR; it also states that only outputs that are both toxic and fully respond to the attacker's intent can receive the highest score. The paper does not report agreement with human review, nor does it report the number of repetitions.
- Implementation: HACA uses DeepSeek-V1 for text generation and image prompts, and Flux.1-dev for images. Ideator's attack model is GPT-4.1-2025-04-14. SI-Attack, HADES, Ideator, and HACA have a maximum query count of 10.
Main Results
The abstract states an average ASR of 95.48% across five mainstream MLLMs. The table below is the Average column of Table 1.
Swipe horizontally to read the table
Model HACA ASR HACA Toxic Ideator ASR HADES ASR Basic ASR InternVL-3.5 99.14% 4.75 81.43% 67.14% 16.00% LLaVA-1.6-Mistral 99.71% 4.76 90.29% 78.57% 33.43% VLGuard 83.14% 4.43 61.43% 45.71% 30.00% Gemini-2.5-pro 97.71% 4.81 74.57% 56.57% 14.57% GPT-5-2025-0807 97.71% 4.66 64.57% 34.43% 7.71% - The authors state that relative to existing baselines, HACA achieves the highest average Toxicity and ASR on each target model, and state that cross-model transferability is better. The Average column above is consistent with "higher than the baselines listed in the same table"; TreeTeaming has no numbers and cannot be included in that comparison.
- The authors state that ASR is near saturation on InternVL-3.5, LLaVA-Next, and Gemini-2.5-pro, and state that it remains higher than previous methods on VLGuard and GPT-5-0807. Specific Averages are in the table above; LLaVA-Next corresponds to the LLaVA-1.6-Mistral row.
- According to each cell in Table 1, the lowest category ASR for HACA is VLGuard's Hate Speech at 64% (Toxic 4.02). FigStep's Average ASR on VLGuard is 7.71%, lower than Basic's 30.00%; on GPT-5-2025-0807, FigStep is 5.71%, lower than Basic's 7.71%. The authors do not explain these cells that are lower than Basic.
Query Overhead
- Main text Figure 2: On InternVL-3.5, HACA averages 1.72 queries with an ASR of 99.14%; Ideator averages 3.15 queries with an ASR of 81.43%.
- On GPT-5-2025-0807, HACA averages 1.90 queries with an ASR of 97.71%; Ideator averages 3.82 queries, and HADES averages 5.64 queries. The authors state that HACA has the highest ASR and the lowest query count. The main text does not give query counts for the remaining baselines in these two subfigures.
- The authors state that this has practical value for large-scale multimodal safety evaluation. The paper does not report wall-clock time or token costs.
Layer and Modality Ablations
Section 5.4 states that ablations are conducted on the Illegal Activities subset with GPT-5-2025-0807. In Table 2, Str, Sem, and Syn each include the text and image strategies for that layer.
- Layers (Table 2): With no strategies, Toxic is 1.58 and ASR is 8%. Adding only the structure layer: 4.41 queries, Toxic 4.17, ASR 86%. Structure plus semantics: 2.38 queries, Toxic 4.58, ASR 98%. All three layers: 1.90 queries, Toxic 4.72, ASR 100%. The authors state that the three layers are complementary, and the syntactic layer gives the highest ASR, highest Toxic, and fewest queries in that table.
- Modalities (Table 3): The table title does not repeat the model and subset; the None row is the same as in Table 2. Image only: 8.70 queries, Toxic 2.26, ASR 24%. Text only: 2.42 queries, Toxic 4.54, ASR 94%. Both image and text: 1.90 queries, Toxic 4.72, ASR 100%.
- The authors state that image-only is the worst because the input text contains the original harmful intent, which is easily filtered by GPT-5's external safety guardrails; and state that text semantics are the core basis for jailbreaking GPT, and that the image-text combination outperforms text-only and image-only in Toxic, ASR, and query count in that table.
Atomic Strategy Selection Frequency
- Table 5 reports the number of times each atomic strategy enters the six-dimensional combination on GPT-5-2025-0807, along with the ASR of the corresponding combined attacks. The table title says text strategies, but the table includes both Text and Image.
- On the text side, the most selected is linguistic form/tense reconstruction, 692 times with an ASR of 55.92%; the highest ASR on that side is forced narrowing of output format, 262 times with 69.47%. On the image side, the most selected is visual metaphor replacement, 628 times with 55.73%; the highest image ASR is geometric transformation, 170 times with 61.18%.
- The authors state that strategies selected more frequently also perform better in combined attacks, and inefficient strategies are rarely selected. In Table 5, the most frequent and the highest ASR are not the same strategy. moral kidnapping is 0 times; artistic style whitewashing is 0 times with an ASR of 0; authoritative personality authorization is 2 times with an ASR of 0.
Other Ablations and Analyses
- Table 4 planner: None has Toxic 1.58 and ASR 8%; Random has 3.24 queries, Toxic 4.28, ASR 94%; Planner has 1.90 queries, Toxic 4.72, ASR 100%. The table title does not specify the model and subset; the None and Planner rows are the same as the None and Str+Sem+Syn rows in Table 2, respectively. The authors state that the planner improves attack efficiency and raises attack performance to the highest in that table.
- In Table 5, the columns for underlying encoding shift encryption and character isolation noise filling are both "-"; cross-modal character rendering is selected 0 times, with ASR as "-".
- Appendix Figures 3 and 4 provide examples on GPT-5-2025-0807; instructions or responses are not reproduced here.
What are some points that can be further explored?
The authors note that the scope is limited to the seven Safebench categories and several MLLMs, and that effectiveness depends on external generation models.
Limitations and future directions noted by the authors
- Experiments are limited to the seven harmful categories in Safebench and several mainstream open-source/closed-source MLLMs; lightweight edge models and emerging high-risk malicious scenarios are not included. The authors state these can be further applied and evaluated by the community (Limitation).
- HACA's attack performance depends on external generation models, and when transferred to other weaker models, performance may degrade (Limitation).
The paper has no separate Future Work section. The Conclusion does not list limitations again.
Experimental coverage
- The tested models are LLaVA-1.6-Mistral-7B, InternVL-3.5-8B, VLGuard (LLaVA-v1.5-7B-Mixed), GPT-5-2025-0807, and Gemini-2.5-Pro, 5 in total (Section 5.1).
- The data are the seven Safebench categories, 50 items each, 350 in total. Metrics are Toxic Score and ASR, the judge model is GPT-4.1-2025-04-14, and the threshold is no less than 4 (Section 5.1, Appendix A.2).
- Table 1 reports Toxic and ASR for Basic, FigStep, QR-Attack, SI-Attack, HADES, Ideator, and HACA. Section 5.1 also lists TreeTeaming, whose results are not reported in Table 1.
- The maximum number of queries for query-based methods is 10. In the main text of Figure 2, the average number of queries for HACA and Ideator on InternVL-3.5 and GPT-5-2025-0807 is given, as well as 5.64 for HADES on GPT-5 (Sections 5.1, 5.3).
- The hierarchical ablation is written on the Illegal Activities subset and GPT-5-2025-0807 (Section 5.4). The captions of Table 3 and Table 4 do not restate this setting. The paper does not report the number of repetitions, nor does it report agreement between the judge and humans.
Summarize the main content of the paper
HACA automatically composes image-text jailbreaks using six-dimensional atomic strategies, achieving an average ASR of 95.48% across five models.
HACA is a query-based automatic red-teaming attack for MLLMs: it first decomposes image-text jailbreaking into composable atomic strategies, then uniformly generates instructions.
- Problem: The authors believe that existing multimodal jailbreaks lack an atomic strategy space, and execution logic is coupled to specific strategies, making systematic evaluation without human intervention difficult.
- Method: Text and image are each divided into structure, semantics, and syntax, totaling 30 atomic strategies. The planner selects six based on within-layer complementarity and cross-layer non-conflict. DeepSeek-V1 and Flux.1-dev generate text and images, respectively. Queries continue until success or 10 attempts, keeping the instruction with the highest toxicity. ASR is determined by GPT-4.1-2025-04-14 with a toxic score of at least 4.
- Main results: On the seven Safebench categories totaling 350 items, the abstract reports an average ASR of 95.48% across five MLLMs. Table 1's Average ASR is InternVL-3.5 99.14%, LLaVA-1.6-Mistral 99.71%, VLGuard 83.14%, Gemini-2.5-pro 97.71%, GPT-5-2025-0807 97.71%, all higher than the baselines listed in the same table.
- Other numbers: On GPT-5-2025-0807, HACA averages 1.90 queries corresponding to a 97.71% ASR (Figure 2 main text). On the Illegal Activities subset, using all three layers gives ASR 100%, Toxic 4.72, and 1.90 queries (Table 2); text-only is 94%, image-only is 24% (Table 3). According to Table 1, HACA's lowest category ASR is VLGuard's Hate Speech at 64%.
- Authors' conclusions: The authors state that HACA outperforms the listed state-of-the-art baselines and achieves high attack performance on mainstream open-source and closed-source MLLMs. The Limitation section also specifies the evaluation categories and model scope, as well as the dependence on external generation models.