Budgeted Attack Scheduling for LLM Red Teaming: The Role of Static Priors, Semantic Guidance, and Online FeedbackBudgeted Attack Scheduling for LLM Red-Teaming: The Roles of Static Priors, Semantic Guidance, and Online Feedback
The authors schedule a fixed jailbreak library: under GPT-5.2 native, LLM-guided Online has a Success@1 of 44.00%.
The scheduler orders a fixed attack library, with the goal of achieving at least one successful jailbreak within an attempt budget K. Available are historical ASR priors, attack mechanism and victim model descriptions; the online policy can also use binary results from earlier queries in the same victim model–defense unit. It does not generate new attacks and does not use future results, aggregate success rates, or results from other units. The victim system is the model and its defense setting.
- As the jailbreak library grows, exhaustively running every attack has high token and monetary costs, and success depends on the harmful query, the victim model, and the defense. The problem to solve is how to order a fixed attack library when the attempt budget is limited.
- The authors compare four orderings: by historical ASR, query-dependent ordering using GPT-4o with mechanism descriptions, updating Beta priors with online successes and failures, and adding LLM rank scores and success-to-failure ratios together. The library is fixed at 30 reproduced attacks, and execution proceeds within budget K until the first success or exhaustion.
- The experiments compare Success@K and tokens on the native settings of three victim models, and on three defenses for GPT-5.2. The authors state that historical ASR is used for initialization, that at cold start semantic guidance is no worse than using priors alone, and that after distribution shift online feedback corrects outdated rankings.
- The paper does not specifically discuss limitations. It covers native results for three victim models, with defense breakdowns on GPT-5.2; online metrics are the mean over five query orders. The paper does not report the judge model for success determination, nor the number of queries in JBB-Behaviors.
- Evaluated models
- DeepSeek-V4-Pro (preview)Gemma-4-26BGPT-5.2
- Benchmarks
- Jailbreak FoundryAdvBench50JBB-BehaviorsJailbreakBench
- Metrics
- Success@KSuccess@1Success@3Success@5Avg. ATAAttack tokenSchedule tokenCache Hit Rate
The paper formalizes the prioritization of jailbreak attacks under a limited attempt budget as an attack scheduling problem and designs four scheduling strategies. It compares three types of signals—static historical attack success rate priors, LLM semantic guidance, and online feedback—evaluated on GPT-5.2 across three victim models and three defense settings. Results show that historical ASR provides strong initialization but becomes less reliable under distribution shifts caused by defenses; semantic guidance consistently improves on or matches scheduling based on static priors during cold start; online feedback is especially valuable when transfer priors are outdated; and semantic guidance and online feedback can partially compensate for missing historical priors.
Related events and news
1 events · 1 news mentions
News that mentions this paper
大模型安全周报:防线开始溃于组合,智能体授权与审计系统性缺口
- 公众号 大模型安全研究cites the paper's id or link大模型安全周报:防线开始溃于组合,智能体授权与审计的系统性缺口
Budgeted Attack Scheduling for LLM Red-Teaming: The Roles of Static Priors, Semantic Guidance, and Online Feedback(https://arxiv.org/abs/2610.25897)
Paper analysis
What problem does this paper attempt to solve?
The authors formalize red-team evaluation under a limited budget as attack scheduling over a fixed jailbreak library.
When the attempt budget is limited, how should attacks in a fixed jailbreak attack library be ordered to evaluate a victim model and its defense settings?
- Scenario: The authors state that as jailbreak forms have multiplied, red teaming has shifted from single-method testing to large-scale attack libraries, in order to cover more safety risks. Each attempt has token, compute, and monetary costs, and success depends on the specific harmful query, victim model, and defense, so exhausting the entire library is often too expensive or infeasible.
- Gap: The authors state that libraries are still growing, but an attack that succeeds under one victim–defense setting may fail under another. Therefore, it is necessary to study which attack should be tried first under a limited attempt budget.
- Approach: The authors formalize the problem as budgeted attack scheduling, comparing historical ASR priors, LLM semantic guidance, and online feedback, as well as four strategies composed of them. In their contributions, the authors state that this work provides the first systematic study of this problem.
- Threat model:
- Goal: For a given harmful query, maximize the probability of at least one successful jailbreak within budget K. Execution proceeds until the first success or until the budget is exhausted.
- Knowledge: Static strategies use historical ASR priors, as well as textual descriptions of attack mechanisms and the victim model. Online strategies may also use binary results from earlier held-out queries in the same victim–defense unit; they do not use future results, final aggregate rates, or results from other units.
- Capability: Only output one permutation of the fixed library and try attacks in that order. Do not generate or combine new attacks. The order for the current query is fixed before execution.
- Victim system: The victim model plus defense condition. The authors treat defenses as evaluation conditions, rather than as a new method to be proposed or compared horizontally.
What related research exists?
Related work covers jailbreak libraries, defenses as evaluation conditions, and budgeted online selection.
Jailbreak attacks, benchmarks, and frameworks
- Ganguli et al. (2022) collect red-team data; Zou et al. (2023) use optimization suffixes; Chao et al. (2023) and Mehrotra et al. (2024) do black-box refinement; Liu et al. (2024a) and Sun et al. (2025) do automated prompt construction.
- HarmBench (Mazeika et al., 2024) and JailbreakBench (Chao et al., 2024) standardize harmful behaviors, judging, and reporting conventions.
- Jailbreak Foundry (Fang et al., 2026) turns jailbreak papers into 30 runnable attacks in a unified framework. The authors use such a fixed reproduced library as input and ask which attack should be prioritized next under a budget.
Defenses as evaluation conditions
- The authors list input rewriting and intent reconstruction (Wang et al., 2024; Luo et al., 2025; Zhang et al., 2025; Wang et al., 2025), perturbation and consistency checks (Robey et al., 2025; Ji et al., 2025), detector guardrails (Inan et al., 2023; Zeng et al., 2024), and input sanitization (Geng et al., 2025).
- The authors state that their goal is not to propose new defenses or directly compare defense effectiveness, but to place defenses into victim–defense conditions: the success patterns, attempt requirements, and costs of the same attack library may differ.
Budgeted selection and online decision-making
- Tran-Thanh et al. (2010), Villar et al. (2015), and Cavenaghi et al. (2021) study sequential allocation under limited trials. Thompson Sampling is discussed as a Bayesian heuristic in Chapelle & Li (2011) and Russo et al. (2018).
- Routing and cascades (Chen et al., 2023; Hu et al., 2024; Ong et al., 2024) make cost–quality trade-offs between models or calls; Qin et al. (2024) use a language model to rank candidates per query. Zhou et al. (2025)'s agent red-teaming uses memory or feedback to select attack strategies.
- The authors state that the online protocol in this paper is conceptually closest to prequential evaluation (Dawid, 1984): using results from earlier held-out queries in the same evaluation unit to order later attacks.
Baselines and benchmarks
- The policy in the main experiments that uses only historical priors is ASR Sort. The attack library is 30 reproduced attacks from Jailbreak Foundry; historical ASR is computed on AdvBench50 (a 50-entry subset); final evaluation is on the full JBB-Behaviors, with no query overlap with prior development.
The authors state that this differs from LLM routing, which selects between models or calls, and from agent red-teaming, which may generate or combine new attacks: here a fixed jailbreak library is scheduled, and both attack execution cost and scheduler overhead are counted.
How does the paper address this problem?
Four strategies stack historical ASR, semantic guidance, and online feedback item by item onto the ranking of a fixed attack library.
The authors formulate red-team evaluation on a fixed library as an ordering problem; the main experiments compare ASR Sort, LLM-guided Sort, Thompson Sampling, LLM-guided Online.
Problem setup
- The attack library is denoted A={a1,…,aN}. Given a query q, victim model v, defense D, and historical ASR vector p, the scheduler outputs a permutation. In the online protocol, Ht−1 contains only the feedback visible before the current decision.
- The main objective is to maximize the probability of at least one success within the budget. The authors report attack execution cost and scheduler overhead separately and do not include them in this objective.
- The online policy also depends on the query order σ. Under the same victim–defense condition, a set of fixed permutations is used to estimate expected Success@K; when comparing order sensitivity, the online schedulers share this set of permutations. The result of the current query only updates the state for subsequent queries.
The objective is written as maxπ Pr[∃ k≤ K: s(q,aik,v,D)=1]. Here s∈{0,1} indicates whether that attack succeeds, and K is the attempt budget.
Three signals and four policies
- Historical ASR: estimates attack effectiveness from past evaluations; low cost, independent of the current query.
- Semantic guidance: checks whether the current harmful query matches the attack mechanism and the victim model.
- Online feedback: updates priorities using successes and failures already observed under the same victim–defense condition.
- Table 1: ASR Sort has only historical priors and no scheduling overhead; LLM-guided Sort adds semantic guidance and requires LLM calls; Thompson Sampling adds online feedback and has no LLM overhead; LLM-guided Online uses all three and requires LLM calls.
Static ordering and semantic guidance
- Historical ASR is computed on AdvBench50 and is used only for initialization or static ordering; it is not used to tune parameters or evaluate on the final test set. Final evaluation uses the full JBB-Behaviors, and the two query sets do not overlap.
- ASR Sort orders by historical ASR from high to low, independent of the query, and does not call a selector.
- LLM-guided Sort prepares a mechanism description dai for each attack, with set MA; the victim model has a description dv. The authors use GPT-4o to summarize attack mechanisms from implementation summaries and victim models from model cards. The prompt is P(q, p, dv, MA, I), and RankLLM outputs a permutation in which each attack appears exactly once.
- The main text states that instruction I requires considering historical effectiveness, the match between mechanism and current query, and suitability for the victim model, and encourages high-ranked attacks within the budget to be mechanistically diverse, and must not alter the candidate set. Appendix A gives the full prompt. The static MA, dv, and I can be cached across queries. The scheduler is GPT-4o, and results are averaged over five runs.
Online policies
- Thompson Sampling maintains Beta(αa, βa) for each attack. Initialization is αa=κpa+ε, βa=κ(1−pa)+ε. The experiments use ε=1, κ=5. Before each query, each attack is sampled once, the full order is fixed in descending order of sampled values, and execution proceeds until the first success or K is exhausted. Afterwards only the attempted attacks are updated: α increases by 1 on success, β increases by 1 on failure.
- LLM-guided Online first obtains the same initial ordering as LLM-guided Sort, with rank score rq=N−j+1 at position j. It then adjusts priorities using cumulative success and failure counts on previous queries. The experiments use λ=1. The order is fixed before that query is executed.
The online score is S(a|q)=rq(a)+λlog(1+Nsucc(a))/(1+Nfail(a)). It adds to the LLM rank score a term given by the cumulative success-to-failure ratio.
Defense conditions
- Classified as no defense, intent reconstruction, consistency-based defense, and detector-based defense. The representatives in the main experiments are no guardrail, Backtranslation, SmoothLLM, and LlamaGuard, respectively. Appendix A.2 gives mechanism-level descriptions.
- The authors state that these three were chosen for mechanistic differences: latent intent, perturbation consistency, and learned safety detection. The authors write that ASRdef(a) need not be the same proportional scaling of native ASR, so historical rankings may become stale.
What experiments did the paper conduct?
The authors state that historical ASR is suitable for initialization, semantic guidance helps at cold start, and online feedback is used to correct outdated rankings under defenses.
Experimental setup
- Victim models: DeepSeek-V4-Pro (preview), Gemma-4-26B, GPT-5.2. The authors use the three as representatives of low, medium, and high ASR ranges according to ASR on AdvBench50. The paper does not give the specific ASR for these three strata. Table 2 records the first model as DeepSeek-V4-Pro.
- Attack library and queries: 30 reproduced attacks from Jailbreak Foundry, kept frozen across schedulers, models, defenses, and query permutations. Priors use the 50 entries of AdvBench50. Formal evaluation uses the full JBB-Behaviors, with no query overlap with the priors. The paper does not state the number of queries in JBB-Behaviors.
- Defenses: all three models report native (no guardrail) results. Defense breakdowns are reported in detail only on GPT-5.2: Backtranslation, SmoothLLM, LlamaGuard.
- Policies: four policies. Description generation and LLM ordering use GPT-4o. Thompson Sampling uses ε=1, κ=5; LLM-guided Online uses λ=1.
- Metrics: Success@K is the proportion of held-out episodes with a successful jailbreak within K attempts. The main table uses K=5, and Success@1/3 come from prefixes of the same trajectory. ATA: successful episodes count the number of attempts up to the first success, failed episodes count the full K. Also reported are average tokens per query for attack execution and the scheduler, and the cache hit rate of scheduler input tokens.
- Repetition and determination: each (q, v, D) is executed until the first success or the budget is exhausted. Thompson Sampling and LLM-guided Online use five fixed and matched query orders P1–P5 on each completed victim–guardrail unit, resetting online state for each unit and permutation; the online rows in the main table are the mean over these permutations. LLM-guided Sort is averaged over five runs. The paper does not state the judge model or rule for s=1, nor report statistical significance tests.
Main results
Success@5 (%). Native three models from Table 2, GPT-5.2 defenses from Table 3. Thompson Sampling and LLM-guided Online are the mean over five query orders.
Swipe horizontally to read the table
Condition ASR Sort LLM-guided Sort Thompson Sampling LLM-guided Online DeepSeek-V4-Pro native 99.00 99.00 99.00 99.00 Gemma-4-26B native 90.00 90.00 87.00 90.00 GPT-5.2 native 77.00 79.00 77.60 79.80 GPT-5.2 Backtranslation 62.00 67.00 62.20 67.00 GPT-5.2 SmoothLLM 51.00 54.00 54.80 55.00 GPT-5.2 LlamaGuard 19.00 28.00 25.40 34.60 - The authors state that historical ASR is a low-cost baseline: ASR Sort is already near saturation on DeepSeek-V4-Pro and Gemma-4-26B, with room remaining on GPT-5.2. Without online feedback, LLM-guided Sort is no lower than ASR Sort on each victim model. Under GPT-5.2 native, Success@1 goes from 36.00% to 39.00%, and Success@3 from 69.00% to 74.00% (Table 2).
- The authors state that attack descriptions provide information complementary to aggregate historical success rates. Relative to ASR Sort, the authors state that LLM-guided Sort raises Success@1 by 19.00 and 2.00 percentage points and Success@5 by 5.00 and 9.00 percentage points on Backtranslation and LlamaGuard.
- The online policies are not higher on every native cell. On Gemma-4-26B, Thompson Sampling's Success@1 is 49.80%, versus 59.00% for ASR Sort; LLM-guided Online's Success@1 is 55.00% (Table 2). The authors place the main role of online feedback after defenses make historical rankings stale.
Distribution shift caused by defenses
- What was measured: Figure 2 compares query difficulty between the Prior Pool and Test Pool, and changes in each attack's ASR under current test conditions. Difficulty is defined as 1 minus the success rate over all attacks. KS D is the maximum vertical distance between two empirical cumulative distributions, and W1 is the Wasserstein-1 distance along the query difficulty axis.
- Results: the authors state that from Native to LlamaGuard, KS D goes from 0.08 to 0.63, and W1 from 0.012 to 0.083. Figure 2 also labels Backtranslation's KS D=0.35, W1=0.039, and SmoothLLM's KS D=0.41, W1=0.056. The authors state that under LlamaGuard, jailcon_cvt falls from historical rank 1 to outside the top 10, and air rises from 7th to 1st; ASR Sort's Success@5 goes from 77.00% to 19.00%.
- The authors' interpretation: online feedback does not eliminate distribution shift but corrects priorities when historical effectiveness no longer transfers. On Backtranslation, Thompson Sampling's Success@1 is 25.40%, versus 12.00% for ASR Sort; LLM-guided Online is 39.00%, versus 31.00% for LLM-guided Sort. On LlamaGuard, LLM-guided Online's Success@1 is 14.00% and Success@5 is 34.60%, versus 5.00% and 28.00% for LLM-guided Sort; Thompson Sampling's Success@5 is 25.40%, higher than ASR Sort's 19.00%, but its Success@3 is 17.60%, lower than ASR Sort's 19.00% (Table 3).
Removing historical priors
- Table 4 compares with and without historical priors only under the no-defense setting. ASR Sort's average prior gain is DeepSeek-V4-Pro +39.67 pp, Gemma-4-26B +26.33 pp, GPT-5.2 +49.33 pp. Without priors its Success@1 is 15.00%, 18.00%, 5.00%, respectively, and with priors 92.00%, 59.00%, 36.00%.
- Without priors, on DeepSeek-V4-Pro Thompson Sampling's Success@1/3 is 78.00%/93.00%, versus 15.00%/72.00% for ASR Sort; LLM-guided Online's Success@5 is 97.00%. On Gemma-4-26B, LLM-guided Online's no-prior Success@1 is 50.00%, versus 18.00% for ASR Sort. On GPT-5.2, LLM-guided Online is 32.00%, versus 5.00% for ASR Sort; LLM-guided Sort's Success@5 is 55.00%, versus 19.00% for ASR Sort.
- The authors state that semantic guidance and interactive feedback can partially compensate for missing historical information. In Table 4, the smallest average prior gain is for Thompson Sampling: Avg. Δ of +5.27, +4.47, +9.00 pp across the three models.
Query order sensitivity
- Figure 3 evaluates the two online policies on six settings with five query orders. The caption states that hollow points are single orders, solid points are means, and vertical lines are min–max ranges. In the figure, the cross-order variation in Success@5: DeepSeek-V4-Pro is TS 2.0 pp, LLM 0.0 pp; Gemma-4-26B is 5.0 vs 0.0; GPT-5.2 native is 2.0 vs 1.0; Backtranslation is 6.0 vs 2.0; SmoothLLM is 8.0 vs 0.0; LlamaGuard is 7.0 vs 1.0.
- The authors state that across the six settings, LLM-guided Online's Success@5 varies by 0–2.0 pp, and Thompson Sampling by 2.0–8.0 pp. The authors state that Success@1 can vary more when feedback is still sparse, and generally shrinks as more queries are processed.
Other ablations and analyses
- The authors state that in Table 2 and Table 3, 88.61% to 90.93% of selector input tokens come from cache; the lowest is GPT-5.2 Backtranslation at 88.61%, and the highest is Gemma-4-26B at 90.93%.
- The authors give examples: under GPT-5.2 native, Success@1 goes from 36.00% for ASR Sort to 44.00% for LLM-guided Online, and Attack token from 3535 to 2446; on Backtranslation, Success@1 goes from 12.00% to 39.00%, and Attack token from 4290 to 2715.
- Higher early success rates do not always correspond to lower attack-side tokens: on LlamaGuard, LLM-guided Sort's Attack token is 20233, versus 13321 for ASR Sort; on SmoothLLM, 5048 vs 4563; on Backtranslation, LLM-guided Sort is 5603, versus 4290 for ASR Sort (Table 3).
- Schedule token: LLM policies are 11242 on DeepSeek-V4-Pro, 12229 on Gemma-4-26B, and 11885 on GPT-5.2 native. ASR Sort and Thompson Sampling have no scheduler overhead (Table 1, Table 2).
- Under the no-prior setting, ASR Sort degenerates to random ordering; Thompson Sampling uses a uniform prior and learns only from online results; the two LLM policies remove historical ASR from the prompt and keep attack descriptions and, where applicable, online feedback (Section 6).
What are some points that can be further explored?
The paper does not specifically discuss limitations or future work.
Limitations and future directions noted by the authors
- The paper does not specifically discuss limitations. The Conclusion, Ethical Considerations, Reproducibility Statement, and appendix do not describe any design or result as a limitation, shortcoming, or future work.
Scope of experiments
- The victim models are DeepSeek-V4-Pro (preview), Gemma-4-26B, and GPT-5.2, 3 in total; all three have native-setting results (Table 2). Defense breakdowns are reported on GPT-5.2, including Backtranslation, SmoothLLM, and LlamaGuard (Table 3, Section 4.1).
- The attack library is 30 frozen reproduced instances from Jailbreak Foundry. Historical priors come from the 50 entries of AdvBench50, and formal evaluation uses the full JBB-Behaviors, with no query overlap between the two sets (Section 3.2, 4.1). The paper does not report the number of queries in JBB-Behaviors.
- The main table uses attempt budget K=5. Thompson Sampling and LLM-guided Online use five matched query orders P1–P5 on each completed victim–guardrail unit (Section 4.2). The LLM scheduler is GPT-4o, and LLM-guided Sort is averaged over five runs (Section 3.2).
- The comparison without historical priors is conducted only under the no-defense setting (Table 4, Section 6). Order sensitivity covers the native settings of the three models and the three defenses for GPT-5.2 (Figure 3).
- The paper does not report the judge model or rule for s=1, nor statistical significance tests.
Summarize the main content of the paper
Budgeted red-team evaluation is framed as scheduling over a fixed library: three signals are complementary under different conditions.
The authors study how to order a fixed jailbreak library within an attempt budget, rather than a new attack generation method.
- Problem: whether the same attack succeeds varies with the harmful query, victim model, and defense; exhaustively running all 30 reproduced attacks has high token and monetary costs. Scheduling should increase the probability of at least one success within the budget, and record attempts and tokens separately.
- Approach: ASR Sort uses only historical ASR on AdvBench50. LLM-guided Sort uses GPT-4o to combine mechanism descriptions, model descriptions, and this prior into a query-dependent permutation. Thompson Sampling uses Beta–Bernoulli, initialized with κ=5, ε=1, then updated with successes and failures of completed queries in the same unit. LLM-guided Online combines LLM rank scores and success-to-failure ratios in one score, with λ=1. Formal queries come from JBB-Behaviors, and the main table uses K=5.
- Native results: in Table 2, Success@5 for DeepSeek-V4-Pro and Gemma-4-26B is 87.00%–99.00%, and for GPT-5.2 77.00%–79.80%. Under GPT-5.2 native, LLM-guided Online's Success@1 is 44.00%, versus 36.00% for ASR Sort.
- Defenses and shift: with GPT-5.2 plus LlamaGuard, ASR Sort's Success@5 is 19.00%, and LLM-guided Online's is 34.60%, with its Success@1 at 14.00%, versus 3.00% for ASR Sort (Table 3). The authors state that from Native to LlamaGuard, KS D goes from 0.08 to 0.63, and W1 from 0.012 to 0.083.
- No priors and order: after removing priors, on GPT-5.2 ASR Sort's Success@1 is 5.00%, and LLM-guided Online's is 32.00% (Table 4). In Figure 3, LLM-guided Online's Success@5 varies across orders by 0–2.0 pp, and Thompson Sampling by 2.0–8.0 pp.
- The authors' conclusion: the authors argue that budgeted red-team evaluation is not about finding one universally strongest attack, but about combining signals according to current conditions. Historical priors handle initialization, semantic guidance corresponds to cold start, and online feedback corresponds to cases where historical rankings become stale.