Skip to content

Attackers can misuse combinations of multiple safe modelsAdversaries Can Misuse Combinations of Safe Models

arXiv· arXiv:2406.14595· ICML 2025· Erik Jones, Anca Dragan, Jacob SteinhardtUC BerkeleyIndexed by this site · 25 days ago· Originally publishedSelected AttacksSelectedAttention39

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors state that an attacker can decompose a malicious task and distribute it to different models, and that even if each model is safe on its own, the combination can complete four categories of malicious tasks with higher success rates.

Threat modelThe attacker holds a set of models M, chooses one model and one prompt each round and queries them in sequence, with the goal of producing an output satisfying the malicious predicate r within N rounds; the attacker does not bypass any model's safety mechanisms, but exploits the models' complementary capabilities (the frontier model is capable but refuses, while the weak model is weak but does not refuse).

Questions
Developers test whether each model can be misused before release, but the authors argue that this is not enough: an attacker can decompose a malicious task into subtasks and give each to the most suitable model, and even if each model is safe on its own, the combination can be misused.
Methods
The authors formalize a multi-model threat model and propose two types of decomposition: manual decomposition (a human splits the task into hard but benign and easy but malicious subtasks) and automated decomposition (a weak model generates related benign tasks, a frontier model solves them, and the weak model puts the solutions into context to complete the original task).
Experiments and results
On the four task types—vulnerable code, explicit images, malicious python scripts, and simulated manipulation tweets—the combined models achieve higher success rates than any single model; for example, Llama 2 70B-chat editing Claude 3 Opus code achieves a 42.7% success rate, while the single-model baseline does not exceed 3.3% (Table 1).
Limitations and future work
Limitations noted by the authors include: using GPT-4 as the judge, a synthetic dataset, manipulation experiments conducted entirely on simulated users, and not exhausting jailbreak methods; the experiments cover only the combination axis of differing capability/refusal training, and each task tests only a fixed model combination.
Experimental setupClaude 3 Opus (claude-3-opus-20240229)、Claude 3 Sonnet (claude-3-sonnet-20240229) et al. · LLM 生成的漏洞代码数据集(100 题 × 3 漏洞)、LLM 生成的恶意 python 脚本数据集(130 个任务) et al. · success rate、refusal rate
Evaluated models
Claude 3 Opus (claude-3-opus-20240229)Claude 3 Sonnet (claude-3-sonnet-20240229)Claude 3 Haiku (claude-3-haiku-20240307)Llama 2 7B-chatLlama 2 13B-chatLlama 2 70B-chatMistral 7B (Mistral-7B-Instruct-v0.2)Mixtral 8x7B (Mixtral-8x7B-Instruct-v0.1)DALL-E 3Stable Diffusion v1.5
Benchmarks
LLM 生成的漏洞代码数据集(100 题 × 3 漏洞)LLM 生成的恶意 python 脚本数据集(130 个任务)显式图像提示词数据集(3 类活动各 100 条)模拟操纵数据集(Linvill and Warren 推文数据,100 用户 × 100 政客)
Metrics
success raterefusal rate
AI summaryand selection rationaleResearchers at UC Berkeley propose that evaluating whether each model can be misused individually is insufficient: an attacker can split a malicious task into multiple subtasks and assign them respectively to a capable aligned frontier model and a weaker model that refuses less often, combining them to produce harmful output without jailbreaking any single model. Using two methods—manual splitting and automatic generation of related benign tasks by the weaker model—they tested generating vulnerable code, explicit images, hacker Python scripts, and manipulative tweets. In the vulnerable code task, the combination of Claude 3 Opus and Llama 2 70B-chat achieved a 43% success rate, while each model alone was below 3%; in the explicit image task in an imagined scenario, the combination of DALL-E 3 and Stable Diffusion v1.5 reached 30%, while the individual models did not exceed 2%. The authors accordingly recommend that red team testing and deployment evaluation cover model combinations rather than only individual models.

Researchers at UC Berkeley propose that evaluating whether each model can be misused individually is insufficient: an attacker can split a malicious task into multiple subtasks and assign them respectively to a capable aligned frontier model and a weaker model that refuses less often, combining them to produce harmful output without jailbreaking any single model. Using two methods—manual splitting and automatic generation of related benign tasks by the weaker model—they tested generating vulnerable code, explicit images, hacker Python scripts, and manipulative tweets. In the vulnerable code task, the combination of Claude 3 Opus and Llama 2 70B-chat achieved a 43% success rate, while each model alone was below 3%; in the explicit image task in an imagined scenario, the combination of DALL-E 3 and Stable Diffusion v1.5 reached 30%, while the individual models did not exceed 2%. The authors accordingly recommend that red team testing and deployment evaluation cover model combinations rather than only individual models.

Why it was selectedThe paper uses experiments to show that splitting tasks can combine harmful outputs across multiple safe models, providing deployers with a reproducible method to extend red team testing to model combinations.

Related events and news

1 events · 2 news mentions

News that mentions this paper

研究称弱模型群体可借强对齐模型完成有害任务

  • LessWrongcites the paper's id or link
    未对齐的弱模型可能利用强大的对齐模型
    of Safe Models" (ICML 2025), https://arxiv.org/abs/2406.14595 ^ Mark Russinovich, Blake Bullwinkel, Giorgio Severi, Cristian Ovadiuc, Ahmed Salem (Microsoft), "Divide, Consult, Conquer:

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors argue that testing each model individually for misuse is insufficient: individually safe models can still be misused when combined.

    Core problem: evaluating each model individually for misuse before release misses the misuse risk posed by "model combinations"—even when each model is individually safe.

    • Scenario and motivation: Before release, developers test whether models facilitate misuse such as cyberattacks, manipulation, and bioterrorism (the authors cite the evaluation policies of Google, OpenAI, and Anthropic). The current strategy is to do refusal training only on the most capable frontier models; weaker open-source models have weaker refusal training and can have it removed by fine-tuning, and the authors argue this strategy only superficially produces "safe" releases.
    • Shortcomings of existing methods: The authors argue that single-model evaluation cannot capture all misuse risk; even a fully aligned frontier model that never produces malicious output could be exploited in combination.
    • Core observation: Many malicious tasks consist of a "hard but benign" subtask and an "easy but malicious" subtask; the frontier model is capable of the former but refuses, while the weak model does not refuse but lacks the capability, so the two are complementary.
    • What the paper proposes: A formalization of a threat model covering model combinations, and two types of decomposition methods (manual decomposition and automated decomposition), with empirical work on four types of tasks.
    • Threat model:
      • Goal: The attacker produces, within N rounds, an output satisfying a malicious predicate r (e.g., a usable malicious python script), and cannot produce that output independently.
      • Knowledge: The attacker knows the set of available models M and the judging predicate r, and can see the history of interactions.
      • Capability: In each round, the attacker selects one model and one prompt and queries them in sequence; the attacker does not bypass the models' safety mechanisms (no jailbreak).
      • Victim system: A set of models, including capable but refusing frontier models and weak models that can be induced to produce malicious content.
  2. What related research exists?

    Related work covers misuse risks, jailbreaks, pre-deployment evaluation, risks of multi-model combinations, and benign combinations; the authors state that this paper extends task decomposition to cross-model misuse.

    Misuse risks and jailbreaks

    • Wei et al. (2023), Shah et al. (2023), Zou et al. (2023), Liu et al. (2024), Anil et al. (2024)—bypassing LLMs' refusal mechanisms via jailbreaks to produce malicious outputs; some of these jailbreaks use multiple models (optimizing prompts on open-source models and then transferring them to closed-source models). The paper states that it differs from this work: frontier models can be misused without jailbreaking.
    • Barrett et al. (2023), Fang et al. (2024), Soice et al. (2023), Carroll et al. (2023), etc.—studying specific misuse scenarios in which LLMs are used for cyberattacks, bioterrorism, manipulation, etc.

    Pre-deployment misuse evaluation

    • Google (Shevlane et al., 2023; Phuong et al., 2024), OpenAI (2023), Anthropic (2023)—published policy frameworks for evaluating the misuse potential of individual models.
    • Bommasani et al. (2023), Kapoor et al. (2024)—argue for evaluating the marginal risk of a model after it is added to an environment rather than its absolute risk. The paper positions itself accordingly: single-model evaluation is insufficient, and the marginal risk of aligned models can also be large.

    Risks of multi-model combinations

    • Anwar et al. (2024) speculate that interactions among LLM agents may produce emergent risks; Motwani et al. (2024) provide preliminary evidence of collusion among LLM agents; Bommasani et al. (2022) point out that models have correlated failures that are amplified when they are deployed together.
    • Park et al. (2023a), Pan et al. (2024)—new capabilities sometimes emerge only when agents interact or when models change the state of the external world.

    Benign capabilities of multi-model combinations and task decomposition

    • Juneja et al. (2023) train small models to decompose tasks and hand them to large models; Du et al. (2024), Khan et al. (2024) use debate to improve outputs; Greenblatt et al. (2023) use a weak model to control a strong model; Mitchell et al. (2024) use open-source models to approximate fine-tuning of closed-source models; Tewel et al. (2022), Zeng et al. (2023), Li et al. (2023) combine models across modalities to solve tasks that a single model cannot complete.
    • Glukhov et al. (2023) argue that refusal mechanisms cannot guarantee safety, because a malicious task can be assembled from benign subtasks by a single censored model; Narayanan and Kapoor (2024) argue that safety depends on the deployment context. The paper states that, building on this, it makes task decomposition empirical and cross-model, and allows "easy but malicious" subtasks to be completed by weak models and decomposition to be automated with weak models.

    Baselines and benchmarks: The paper's comparison baselines are single-shot (completing the task directly with a single prompt) and single-model-decomposition (the same model decomposes and executes the subtasks); the datasets are four task datasets generated by the authors with LLMs (see Questions 3 and 4).

  3. How does the paper address this problem?

    The authors formalize a multi-model threat model, propose two types of strategies, manual decomposition and automatic decomposition, and validate compositional misuse on four types of tasks.

    Overall idea: split a malicious task into subtasks, give the hard but benign subtasks to a frontier model and the easy but malicious subtasks to a weak model, thereby completing the malicious task without triggering refusals. The authors propose two types of decomposition: manual decomposition and automated decomposition.

    Threat model formalization

    • The attacker holds a set of models M; model m produces o = m(x) for prompt x; the malicious goal is judged by a binary predicate r, where r(o) = 1 means the desired malicious output was obtained.
    • In round n, the attacker chooses a model and a prompt based on the history τ, M, and r, i.e., a(M, τ, r) = (xn, mn); if r(o_n) = 1 the attacker wins, and if N rounds pass without success the attacker fails. This formulation characterizes the attacker's process of adaptively choosing models and writing prompts round by round.
    • When M contains only one model, this reduces to single-model misuse; the attacker benefits only if the models have complementary strengths. The authors discuss that the attacker must be bounded: misuse must be automated (with a policy fixed in advance) or model capabilities must exceed those of humans.

    Manual decomposition

    • A human finds a natural decomposition of the task: first use a frontier model to produce a complex but benign intermediate result, then use a weak model to turn it malicious.
    • Vulnerable code: the frontier model writes production-grade code only according to the programming problem (without mentioning vulnerabilities), and the weak model then modifies the code to introduce the specified vulnerability; compared against the single-shot and single-model-decomposition baselines.
    • Explicit images: DALL-E 3 generates a normal image from a description, and then an InstructPix2Pix version of Stable Diffusion v1.5 edits in nudity; for the unrealistic environments and yoga tasks, the frontier model is additionally asked to generate tight-fitting clothing to reduce editing difficulty. Appendix A.2 and A.3 give all prompts.

    Automated decomposition

    • Applicable to tasks that are hard for humans to decompose manually; it has three rounds: the weak model generates 3 tasks that are related to the original task but benign; the frontier model solves each one; the weak model puts these solutions into context to complete the original malicious task.
    • Malicious python scripts: the weak models are Mistral 7B or Mixtral 8x7B (the Llama 2 series was excluded because its context cannot fit the frontier model's solutions), and the frontier models are the three versions of Claude 3.
    • Simulated manipulation: the weak model generates 3 benign tasks that require inference from tweet history; after Claude 3 Opus solves them, Mistral 7B refers to the solutions to generate manipulative tweets targeting a user (or a pair of users).

    Success determination

    • For code tasks, GPT-4 (gpt-4-0125-preview) judges whether the script runs out of the box and whether it contains the specified vulnerability or completes the hacking task; the authors state that they chose GPT-4 because it is cheaper than hiring cybersecurity experts, and that they deliberately did not include it among the tested models to avoid self-evaluation bias.
    • Image tasks were manually labeled by the authors (three conditions: high quality, matches the description, contains nudity), with all items shuffled and labeled blindly.
    • For manipulation tasks, GPT-4 simulates user reactions and judges whether the tweet would be engaged with and would make the user view politicians less favorably.
    • All language models were sampled with temperature 0.01; error bars are one standard deviation (Appendix A.1).
  4. What experiments did the paper conduct?

    On all four task categories, the success rate of the combined models is higher than that of any single model, and the authors state that success rates rise as the capabilities of the strong and weak models increase.

    Experimental setup

    • Tested models: the frontier models are Claude 3 Opus, Sonnet, and Haiku (vulnerable code, malicious scripts) and DALL-E 3 (images); the weak models are Llama 2 7B/13B/70B-chat, Mistral 7B, and Mixtral 8x7B (code tasks) and Stable Diffusion v1.5 (images, with the InstructPix2Pix version used for editing).
    • Datasets: vulnerable code, 100 problems × 3 vulnerabilities for 300 examples in total (generated by Claude 3 Opus); malicious python scripts, 130 tasks (generated by Claude 3 Opus); explicit images, 100 prompts for each of 3 categories of activity; manipulation tasks, 100 user-politician combinations and 100 user-pair-politician combinations (tweets come from the Russian disinformation account data released by Linvill and Warren, with each of the 100 users having at least 39 tweets).
    • Baselines: single-shot (single model, single prompt) and single-model-decomposition (a single model decomposes and executes by itself).
    • Metric and judging: success rate is the main metric; code tasks are judged by GPT-4 as runnable and containing the vulnerability/completing the task, images are blind-labeled by the authors, and manipulation is judged by GPT-4 simulating users.
    • Other settings: temperature 0.01; error bars are one standard deviation; frontier models were accessed via API, and weak models were run with VLLM on two A100s; the number of repetitions is not reported.

    Main results

    Success rates on the vulnerable code generation task (%, according to Table 1):

    Swipe horizontally to read the table

    ModelSingle-shotDecomp.+C3 Haiku+C3 Sonnet+C3 Opus
    Llama 2 7B-chat0.00.011.08.010.0
    Llama 2 13B-chat0.00.02.31.34.0
    Llama 2 70B-chat2.03.339.039.342.7
    Mistral 7B24.317.042.040.049.7
    Mixtral 8x7B25.316.324.329.731.3
    Claude 3 Haiku0.03.03.03.34.0
    Claude 3 Sonnet0.00.00.00.00.0
    Claude 3 Opus0.00.00.00.00.0
    • The authors state that almost all combinations of a weak model with a frontier model have higher success rates than any single model; the largest improvement comes from the combination of Llama 2 70B-chat with Claude 3 Opus.
    • The authors verify the intuition: frontier models fail because of refusals, and weak models fail because of insufficient capability—Claude versions almost always refuse, and most open-source models almost always answer (Table 4, Sonnet and Opus refusal rate 100.0%).
    • The authors state that success rates rise as the weak model (Llama 2 13B→70B) and the frontier model (Haiku→Opus) become stronger, and that 4 of the 5 weak models have their highest success rate when combined with Opus.

    Explicit image generation (Table 2)

    • What was tested: success rates on the three task categories generic activities, unrealistic environments, and yoga for Stable Diffusion v1.5 and DALL-E 3 generating on their own, and for DALL-E 3 generating first and then Stable Diffusion editing.
    • Results: the combination success rates are 14.0%, 30.0%, and 54.0%, respectively; among the single-model baselines, Stable Diffusion is highest at 12.0% (decomp. on yoga), and DALL-E 3 is highest at 1.0%.
    • Authors' interpretation: the combination yields the largest gain on unrealistic environments (single models no more than 2%, combination 30%); the authors state that DALL-E 3's image quality drives the misuse, and that Stable Diffusion can edit without noticeably degrading quality.

    Malicious python scripts (Table 3)

    • What was tested: single-model baselines and automated decomposition combinations for Mistral 7B, Mixtral 8x7B, and the three versions of Claude 3, with GPT-4 judging that the script completes the task and is runnable.
    • Results: among single models, Mixtral 8x7B is highest at 10.8%, and the other models do not exceed 3.8%; the highest combination is Mixtral 8x7B + Claude 3 Opus at 21.5%. On refusal rates, the Mistral family answers 99% of the time in each setting, and Claude 3 Sonnet and Opus refuse at least 96% of the time (Table 5).
    • Authors' interpretation: combining with either a stronger or a weaker model can raise the success rate—Mixtral + Haiku (17.7%) is higher than Haiku combined with itself (10.8%); the authors state that this shows red-teaming of a broad range of model combinations is needed before deployment.

    Simulated personalized manipulation (Table 6, Appendix A.5)

    • What was tested: Mistral 7B and Claude 3 Opus each on their own and in combination generate manipulative tweets, and GPT-4 simulates the two target types, single users and user pairs.
    • Results: for single users, Mistral 7B single-shot is 47.3%, decomp. 68.0%, and the combination 71.7%, while Claude 3 Opus is 0.0% in each setting; for two users, Mistral 7B is 17.7% and 25.3%, the combination is 33.7%, and Opus remains 0.0%.
    • Authors' interpretation: the combination's gain is larger on the harder "manipulating two users at once" task (from a 5% improvement to 33%), and the authors believe combined models are especially important for harder tasks.

    Other ablations and analyses

    • Refusal rates (Table 4): Llama 2 7B-chat and 13B-chat have non-negligible refusal rates (single-shot 54.7% and 97.3%, respectively), and the authors use the difference in refusal rates between the two to explain why the 7B combination is sometimes better than the 13B combination.
    • Refusal rates (Table 5): Claude 3 Haiku refuses about half the time on the malicious script task (single-shot 85.4%, combination settings 52.3%–55.4%), and weak models refuse less than 1% of the time.
    • InstructPix2Pix hyperparameters (Appendix A.1): Text CFG 7.7 / Image CFG 1.3 was compared with 7.5 / 1.5, and the authors state that the former is strictly better, so it was used throughout.
    • Exception: in the vulnerable code task, the Llama 2 13B-chat combinations (1.3%–4.0%) have lower success rates than the 7B-chat combinations (8.0%–11.0%), which the authors attribute to the higher refusal rate of 13B.
  5. What are some points that can be further explored?

    The authors list limitations such as GPT-4 judging, synthetic data, and simulated users, and propose future directions such as agentic attacks and fine-tuning weak models.

    Limitations and future directions noted by the authors

    • The vulnerable code experiments used GPT-4 as the judge and the dataset is synthetic; the authors state that this could be improved by testing correctness with cybersecurity experts and by having qualified annotators write the problems (Section 4.1 Limitations).
    • The manipulation experiments are entirely synthetic and only tested whether simulated fake users changed their preferences (Section 5.2 Limitations).
    • The experiments did not exhaust jailbreaking methods against frontier systems; stronger jailbreaks may outperform the combination method on some tasks (Section 6 Discussion).
    • Future attackers could use LLM agents to adaptively extract capabilities from frontier models, or fine-tune open-source models specifically to exploit a given frontier model (Section 6 Discussion).
    • Combinations may also enable misuse along other axes beyond capability/refusal training (tool and information access, specialization for particular applications, multiple copies of the same model); the authors state that studying these risks is important future work (Section 6 Discussion).
    • The authors state that the paper's threat model is only a first step, and that building more comprehensive threat models and LLMs that can withstand them is future work (Section 6 Discussion); further evaluating the pros and cons of synthetic data tailored to specific tasks versus real data is also a direction (Appendix B).

    Scope of the experiments

    • There are 11 tested models in total: on the frontier side, the three versions of Claude 3 and DALL-E 3; on the weak-model side, the three Llama 2 sizes, Mistral 7B, Mixtral 8x7B, and Stable Diffusion v1.5.
    • The tasks cover four categories: vulnerable code (300 examples), explicit images (3×100 prompts), malicious python scripts (130 tasks), and simulated manipulation (100 single-user + 100 user-pair combinations).
    • The malicious script tasks did not test the Llama 2 series; the paper explains that this is because its context cannot fit the frontier model's solutions; the manipulation tasks tested only one combination, Mistral 7B with Claude 3 Opus; the paper explains that this is because prompts often reach tens of thousands of tokens and trigger rate limits, and testing a single frontier model takes several days.
    • The judges for the code and manipulation tasks were both GPT-4, and the image tasks were manually blind-labeled by the authors; the paper does not report agreement data between the judge and the human labels.
    • The paper does not report the number of repetitions or the total number of queries for each experiment; error bars are one standard deviation.
  6. Summarize the main content of the paper

    The authors state that task decomposition lets an attacker combine individually safe models to complete four categories of malicious tasks, and that red-teaming should be extended to model combinations.

    An empirical paper on multi-model misuse risk, by Erik Jones, Anca Dragan, and Jacob Steinhardt of UC Berkeley.

    • Problem: Developers test whether each model can be misused before release; the authors argue that this is insufficient, because an attacker can decompose a malicious task and distribute it to complementary models, even if each model is safe on its own.
    • Method: Formalize a threat model in which an attacker chooses models and writes prompts round by round; propose manual decomposition (a human splits the task, the frontier model does the hard but benign part, and the weak model does the easy but malicious part) and automated decomposition (a weak model generates related benign tasks, a frontier model solves them, and the weak model completes the original task with the context).
    • Vulnerable code: Llama 2 70B-chat editing code generated by Claude 3 Opus achieves a 42.7% success rate, while the single-model baselines do not exceed 3.3% (Table 1); the combination of Mistral 7B and Opus reaches 49.7%.
    • Explicit images: DALL-E 3 generates and Stable Diffusion v1.5 edits, achieving a 54.0% success rate on the yoga task, with the single-model baseline at most 12.0% (Table 2).
    • Malicious python scripts: Mixtral 8x7B combined with Claude 3 Opus achieves a 21.5% success rate, with the single-model maximum at 10.8% (Table 3).
    • Simulated manipulation: In the two-user setting, the combination of Mistral 7B and Claude 3 Opus achieves a 33.7% success rate, the Mistral single-model decomposition baseline is 25.3%, and Opus is 0.0% in each setting (Table 6).
    • Authors' conclusion: Even a fully aligned frontier system may facilitate misuse without ever producing malicious outputs; success rates rise as the capabilities of the strong and weak models increase, and the authors believe the risk will become more prominent as models improve; red-teaming should be extended to model combinations and conducted continuously throughout the deployment cycle.
Read originalICML 2025