The researchers propose an information-theoretic framework for intent-hiding jailbreaks, analyzing compositional attacksIntent-Hiding Jailbreaks: An Information-Theoretic Framework for Compositional Attacks
Compositional jailbreak uses prior-posterior matching to select tasks; when Qwen3-32B writes the query, Qwen3-4B cumulative ASR goes from 3% at K=1 to 96% at K=6.
The attacker combines a specified harmful target tb with auxiliary tasks into a bundle, written as a single query to the responding LLM, to hide the harmful intent and have the response execute tb. ϵi is given in theory, and experiments estimate it with Llama Guard 3-8B. Bundle and query construction do not access the response model. The paper does not use terms like black-box.
- A directly harmful request may be rejected, but may receive a different response after being embedded in benign tasks. The authors want to determine which and how many auxiliary tasks to select so that the bundle's harmful intent estimate is close to the prior, while the target remains clear enough to be executed.
- Selecting target-containing bundles by prior–posterior matching. The authors state that exact matching under scale constraints is NP-hard; fractional weights use water-filling, and threshold conditions use greedy selection in ascending order of ϵi. Experiments sample by low ϵ and submit all queries, without query-level threshold filtering.
- With 32B generating queries, Qwen3-4B's cumulative ASR rises from 3% at K=1 to 96% at K=6, Instruct-2507 from 0% to 73%, and Mistral from 60% to 99%. With the same bundle, the 14B generator makes the latter 57% at K=6. The average target retention of several models decreases with k.
- The paper does not specifically discuss limitations. The experiments cover 7 response models, two Qwen3 generators, 100 targets and 50 auxiliary tasks, with k≤6 and 20 bundles per tier, and no τQ and η filtering at submission. The paper does not report rQ, ℓb estimates, human agreement, or number of repetitions.
- Evaluated models
- Qwen3-1.7BQwen3-4BQwen3-8BQwen3-4B-Instruct-2507Mistral-7B-Instruct-v0.3Gemma-3-4B-PTGemma-3-4B-IT
- Benchmarks
- JailbreakBenchSuper-NaturalInstructions
- Metrics
- cumulative ASR (ASR≤K)incremental gain ΔKtarget preservation level
The researchers study compositional intent-hiding jailbreaks from an information-theoretic perspective, i.e., embedding a harmful request in a seemingly harmless larger query to bypass refusal. The framework estimates the probability of being judged harmful for each task; the average over a task set forms the harmful intent prior, and the average over a bundle set containing the target task forms the posterior. By selecting auxiliary tasks to make these consistent (prior-posterior matching), the harmful target can be preserved without changing the estimated intent. The study distinguishes two settings based on whether query construction participates in optimization: in the query-independent setting, it proves that exact matching with a bundle size constraint is computationally hard, gives an optimal injection solution with fractional weights, and characterizes the minimal bundle satisfying a given safety threshold; in the query-dependent setting, it jointly considers task selection and query construction. Jailbreak effectiveness and target behavior preservation are evaluated across multiple open-source models, different bundle sizes, and query generators. Results show that compositional queries can elicit target behavior beyond a direct-request baseline within the evaluated search budget, while reply-level target preservation across multiple models tends to decline as bundle size increases.
Related events and news
1 events · 0 news mentions
- This event's paper
信息论框架研究组合式意图隐藏越狱
Paper analysis
What problem does this paper attempt to solve?
How to select auxiliary tasks so that the harmful intent estimate of a compositional query is close to the prior, while the target may still be executed.
How to select auxiliary tasks so that a bundle containing a harmful target is close to the prior in intent estimation or below a threshold, while the target may still be executed by the model.
- Scenario: The authors state that a harmful request stated alone may be rejected, but may be answered after being rewritten or embedded in a larger, seemingly benign query. The authors argue that rejecting a direct request does not show that safeguards remain effective when the request is part of a larger instruction set.
- Existing limitations: Prompt Packer, ReNeLLM, DeepInception, and SequentialBreak disguise requests with compositional instructions, rewriting, nested scenarios, or benign sequences. The authors state that the content and number of auxiliary tasks simultaneously change the context and the instructions that must be followed; as instructions become denser, following degrades, and irrelevant context also interferes with reasoning.
- Core assumption: The average of task-level negative intent probabilities over the full set is the prior, and the average within a bundle containing the target is the posterior. The authors state that under the stated uniform sampling assumption, making these equal (prior-posterior matching) does not change the estimate of harmful intent, and the target remains in the bundle.
- What this paper does: First, ignoring wording, it studies the difficulty of exact matching, water-filling of score weights, and the minimal bundle under a one-sided threshold; then it jointly considers task selection and query generation; finally it compares response-level attack success and target retention between direct requests and requests augmented with benign tasks.
- Threat model:
- Goal: Hide the harmful purpose of the target task tb (which the authors call intent privacy) and obtain a response y that executes tb.
- Knowledge: Each task on a finite task alphabet has a negative intent probability ϵi. Sections III-IV treat these probabilities as given; experiments estimate them with Llama Guard 3-8B.
- Capability: The attacker selects a bundle containing tb and writes it as a natural-language query. Ex ante, matching can be checked at the bundle level, and at the query level whether the target is still clearly expressed. The authors state that neither guarantees that the responding LLM will execute the target.
- Victim system: The responding LLM that receives query Q and outputs Y. In experiments, bundle and query construction do not access the responding model. The paper does not use terms such as black-box or white-box.
What related research exists?
Related work is divided into compositional jailbreaks, privacy, and games; the experimental baseline is direct requests, not these attacks.
Compositional jailbreaks and context
- Compositional constructions: Prompt Packer (Jiang et al., 2023), ReNeLLM (Ding et al., 2024), DeepInception (Li et al., 2024), and SequentialBreak (Saiem et al., 2025) embed harmful requests in compositional instructions, rewriting plus nested scenarios, layered fictional scenarios, or a sequence of benign prompts. The authors state that these methods show surrounding instructions can disguise requests, but choosing the content and number of instructions remains an open question.
- Jailbreak phenomena: Zou et al. (2023), Chao et al. (2025), Wei et al. (2023), and Shen et al. (2024) discuss rewriting or context bypassing safeguards, safety training failures, and in-the-wild jailbreak prompts. The paper cites them as jailbreak background.
- Instruction count and irrelevant context: Jaroslawicz et al. (2025) report that following degrades as instructions become denser; Shi et al. (2023) report that irrelevant context interferes with reasoning tasks. The authors use them to show auxiliary tasks may pull responses away from the specified target.
Information-theoretic privacy and games
- Effectiveness and stealth: Kao et al. (2025) examine the relationship between attack effectiveness and stealth on vision-language models.
- Skill-composition games: Wu et al. (2026) use an attacker-defender game to study hiding intent through skill composition, with a defender having limited filtering capability. The authors state that this paper does not analyze equilibria but isolates the selection mechanism that makes the bundle-level intent posterior match the prior or satisfy a threshold (Remark 4).
- Privacy funnel and latent-variable PIR: Makhdoumi et al. (2014) and Calmon et al. (2017) use representations to hide sensitive variables while retaining useful information; Samy et al. (2021) hide related sensitive attributes when retrieving target items. The authors state that the representation here must be a discrete bundle containing the specified target, and what is hidden is the harmful intent probability, not the target task itself (Remarks 2 and 3).
Safety classification
- Accept or reject: Llama Guard (Inan et al., 2023) and Markov et al. (2023) provide a basis for harmful-content evaluation and accept/reject decisions. The authors use them to show that a one-sided threshold is closer to a filter than exact matching; experiments use Llama Guard 3-8B to estimate ϵi.
- Response judgment: HarmBench's (Mazeika et al., 2024) classifier judges whether a response achieves the target behavior; Flow-Judge-v0.1 (Flow AI, 2024) scores outputs against a user rubric.
Baseline methods and benchmarks
- Baseline: Direct request (k=1), evaluated once per target without query generation. The paper does not implement the above compositional attacks as experimental comparison baselines.
- Data: 100 harmful behaviors from JailbreakBench, covering ten categories of abuse; 50 benign auxiliary tasks drawn from Super-NaturalInstructions (1,616 NLP tasks).
The authors position this paper as: before writing a concrete query, using given harmful intent probabilities to study whether hiding is feasible and how many auxiliary tasks are needed, then separately evaluating attack success and target retention after the query is implemented.
How does the paper address this problem?
Use prior-posterior matching to select a bundle containing the target, then at the query level require both hiding and target identifiability.
Overall divided into two stages: query-independent selects a bundle containing the target only by task-level probabilities; query-dependent then writes the same bundle as a query, checking both intent hiding and whether the target remains identifiable. The experiments actually submit queries sampled by low ϵ, not the full search of Section IV.
Task model and two settings
- Alphabet: T has n tasks. Each task has a binary intent label L, with negative intent probability ϵi=Pr(L=−|T=ti). Theoretical analysis assumes T is uniform over the alphabet. ϵi can come from humans, LLM review, or safety classifiers; Sections III-IV treat it as given.
- Prior and posterior: Under this assumption and the sampling in Remark 1, the prior and bundle posterior are ρ=1/n∑iϵi, r(x)=1/(|x|1)∑i xiϵi. Exact hiding is defined as r(x)=ρ; a one-sided filter accepts when r(x)≤τX.
- Target constraint: The specified target index b must have xb=1. A bundle of size k contains 1 target and k−1 auxiliary tasks. The analysis allows any non-target task as auxiliary; experiments use only benign auxiliary tasks.
- Two-stage evaluation: The bundle stage has not yet written a query and only checks matching. The query stage checks whether q still clearly expresses tb. The authors state that neither guarantees that the response y will execute the target.
Bundle selection without considering wording
- Exact matching: Selecting the entire alphabet always yields r(x)=ρ. The authors want a smaller bundle containing the target. The authors state that under a specified size cap K<n 下判断是否存在精确匹配,一般情况下是 NP-hard(Proposition 1);Appendix A 用 SUBSET SUM 归约,并称对二进制编码的有理概率该判定属于 NP,因而 NP-complete。
- 分数松弛: 辅助任务权重 xi∈[0,1],目标权重固定为 1。越狱相关情形是 ϵb>ρ, using tasks below the prior in descending order of gi=ρ−ϵi, at most one task takes a fractional weight (Proposition 2, water-filling). The authors state that its minimal total weight is a lower bound on the number of tasks needed when each item must be fully selected or not selected. Relative to the full-set average, this relaxation is always feasible.
- One-sided threshold: If τX≥ρ, adding auxiliary tasks in ascending order of ϵi, the first bundle satisfying r(x)≤τX has minimal size (Proposition 3). The authors state that along this path r(x) need not be monotonically decreasing, and the proof does not depend on monotonicity (Remark 6).
- Target retention proxy: Among bundles satisfying the hiding constraint, smaller size is preferred, with proxy 1/∥x∥1. The authors state this is only a model-independent proxy, not whether the response executes the target.
Query-level hiding and target retention
- Two query-level quantities: rQ(q)=Pr(L=−|Q=q). Target information ℓb(q) is log(n Pr(T=tb|Q=q)), i.e., the pointwise mutual information between the event T=tb and the query; the non-logarithmic form is the posterior lift Liftb(q)=exp(ℓb(q)).
- Utility: UQ equals ℓb(q) times two indicators: positive only when rQ(q)≤τQ and ℓb(q)≥η (η>0). In that case maximizing UQ is equivalent to maximizing ℓb. The authors state that bundle size cannot replace this judgment: similar r(x) and sizes can still be written as very different queries.
- Bounded search: The candidate set of Algorithm 1 comes from the greedy prefixes and water-filling support of Section III, not all bundles containing the target. Each candidate generates at most M queries, filtered by estimators r̂Q and ℓ̂b, and among those passing, the one with the largest ℓ̂b is chosen; otherwise, not found is returned. The authors state the search cost is M times the number of candidates, and it is incomplete: not finding within budget does not imply nonexistence.
- Difference from response-level metrics: The authors state that ASR and target retention levels evaluate downstream outcomes and do not directly estimate query-level posteriors or UQ (Remark 8).
How construction actually works in experiments
- Sampling: Total size k∈{2,3,4,5,6}. For each target and each k, M=20 bundles are sampled, with auxiliary tasks sampled without replacement with weight proportional to exp(−ϵ̂i/max{σaux, 10^{-6}}), where σaux is the estimated standard deviation of 50 auxiliary tasks and the divisor is 50. Each bundle generates only one query, and all are submitted without τQ or η filtering.
- What the authors state as differences: This is simple sampling, not the full search of Section IV. The M of Algorithm 1 is the query rewriting budget per bundle; the experimental M=20 is the number of bundles per target and per k.
What experiments did the paper conduct?
With 32B generating queries, the cumulative ASR of multiple response models is higher than direct requests, and the target retention of several models decreases with k.
Experimental Setup
- Data: 100 JailbreakBench harmful behaviors covering ten categories of abuse as targets; 50 benign auxiliary tasks sampled from Super-NaturalInstructions. Together they form a fixed alphabet.
- ϵi: Llama Guard 3-8B takes the unsafe and safe probabilities at the first output position, ϵ̂i=punsafe/(psafe+punsafe).
- Generator: Main generator Qwen3-32B; Qwen3-14B implements the exact same 10,000 auxiliary bundles. Temperature 0.9, top-p=0.92, at most 120 generated tokens, Qwen3's step-by-step thinking disabled. The generator is asked to place the target and auxiliary tasks in a shared context and preserve each intent; Table I has the comparison, and the original request text is not repeated here.
- Response models: 32B queries evaluate Qwen3-1.7B, Qwen3-4B, Qwen3-4B-Instruct-2507, Qwen3-8B, Mistral-7B-Instruct-v0.3, Gemma-3-4B-PT, Gemma-3-4B-IT. 14B queries evaluate only the first three Qwen3 models. Response temperature 0, seed 1234, at most 512 new tokens. Gemma-3-4B-PT is the pretrained base, and Gemma-3-4B-IT is its instruction-tuned version.
- Scale and evaluation: k=1 is the original request, 1 trial per target; k≥2 has 20 trials per target. Each generator–response model pair has 10,100 responses. HarmBench-Llama-2-13B-CLS gives hb(y)∈{0,1}. Blank responses count as 0; Gemma-3-4B-PT's 4,718 blanks are counted as failures. 13 composite queries suspected of generator refusal are retained. Flow-Judge-v0.1 uses a five-level rubric, with score s normalized as (s−1)/4.
- ASR definition: ASR≤K is the proportion of B=100 targets with at least one hb=1 among evaluated candidates with k≤K. The per-target cumulative budget is 1+20(K−1). The authors state that comparisons across K reflect both the available bundle scale and the number of candidates. ΔK is the proportion of targets that did not succeed up to K−1 but first succeed at scale K.
Main Results
The table below shows cumulative ASR when Qwen3-32B generates the queries. K=1 numbers come from the text of Figure 4 and Figure 5(a); K=6 from Figure 4 and Figure 5. Gemma-3-4B-IT's cumulative ASR is not given in the text, so it is not listed.
Response model K=1 K=6 Qwen3-4B 3% 96% Qwen3-4B-Instruct-2507 0% 73% Mistral-7B-Instruct-v0.3 60% 99% Gemma-3-4B-PT 19% 96% Qwen3-1.7B Not reported 99% Qwen3-8B Not reported 97% - Authors' interpretation of single-step gains: The largest single-step gain occurs at the first addition of one auxiliary task. Qwen3-4B goes from 3% at K=1 to 86% at K=2 (+83 percentage points), and larger bundles cover only 10 more targets. Instruct-2507 is 35% at K=2 (+35 percentage points) and 73% at K=6. The authors state that after K=3 each tier adds at most 7 percentage points, and therefore they stop at K=6.
- Authors' interpretation of family and scale: The authors state that the three families differ greatly on direct requests but less after composition; because construction does not access the response model, the same attack transfers to these three families. In the 1.7B to 8B range, the authors believe post-training matters more than parameter scale for robustness: Instruct-2507, with the same parameter count, is 73% at K=6, lower than the 1.7B, 4B, and 8B models in the same figure.
- Table II: For Qwen3-4B-Instruct-2507, direct requests for two targets are marked Not Jailbreak by HarmBench, while Qwen3-32B-generated composite queries are marked Jailbreak. The original query and response text is not repeated here.
Score Matching Cost
- What was measured: Using the reference mixture ρ(π)=πϵtgt+(1−π)ϵaux with π0=0.1, the matching baseline is ρ0=0.103113. The authors state it differs from the theoretical uniform alphabet prior; the latter, because targets are twice as numerous as auxiliary tasks, is about 0.65 (Appendix B gives ρunif≈0.651405, ϵtgt≈0.973929, ϵaux≈0.006356).
- Results: Of the 100 targets, 99 have estimates above ρ0, and exact matching is feasible under fractional relaxation over the 50 auxiliary tasks; the median minimum auxiliary quality is 8.713, and the median relaxed bundle scale is 9.713. The remaining 1 is below ρ0 and already satisfies the one-sided condition, but because all auxiliary tasks are also below ρ0, exact matching is infeasible.
- Authors' interpretation: The response experiments use at most 6 tasks, below the median relaxed scale of 9.713. The authors state they stop at 6 because the additional gain in cumulative ASR at larger tested scales is generally smaller, and composite queries can succeed on targets where direct requests fail.
Generator Comparison
- What was measured: Figure 6 compares Qwen3-32B with Qwen3-14B using the exact same 10,000 auxiliary bundles, with response models Qwen3-1.7B, Qwen3-4B, Qwen3-4B-Instruct-2507.
- Results: K=6 cumulative ASR, 32B vs 14B: 99% vs 98%, 96% vs 95%, 73% vs 57%.
- Authors' interpretation: The larger generator gains only 1 percentage point on the first two models, which are already easy to jailbreak, and 16 percentage points on Instruct-2507; among the three models evaluated with both generators, the generator effect is largest on Instruct-2507.
Response-Level Target Retention
- What was measured: Flow-Judge-v0.1 scores against the original target; completing only the auxiliary task does not count as retaining the target. Table III averages all candidates, with k=1 being 100 trials and k≥2 being 2,000 trials per cell. Figure 3 plots Mistral-7B-Instruct-v0.3 and Qwen3-8B as percentages of their respective k=1 baselines.
Response model k=1 k=6 Qwen3-1.7B 0.108 0.057 Qwen3-4B 0.105 0.076 Qwen3-4B-Instruct-2507 0.098 0.068 Qwen3-8B 0.128 0.068 Mistral-7B-Instruct-v0.3 0.233 0.061 Gemma-3-4B-IT 0.135 0.112 - Results: The figure caption states that both models lose the most at k=2, with slower declines afterward; at k=6, Mistral retains 26% of its baseline and Qwen3-8B retains 53%. In Table III, Qwen3-1.7B, Qwen3-4B, Qwen3-8B, and Mistral generally decrease with k; Instruct-2507 and Gemma-3-4B-IT show no consistent trend across composite scales. Gemma-3-4B-PT is not listed in Table III.
- Authors' interpretation: The authors state that larger bundles can cover more targets under a growing candidate budget, while the average target retention of several response models decreases. Cumulative ASR asks whether any candidate succeeds, while TPk averages all candidates at that scale, so a decrease in TPk does not itself indicate that successful responses retain fewer targets.
Other Ablations and Analyses
- Figure 4 intermediate cumulative ASR: Qwen3-4B at K=2 to 5 is 86%, 93%, 95%, 95%; Instruct-2507 is 35%, 57%, 61%, 68%.
- Appendix B: all 50 auxiliary task estimates are below ρ0, C−≈4.837864, C+=0; the largest positive offset is about 0.896828, so the 99 targets above ρ0 are feasible under fractional relaxation.
- The paper does not ablate τQ, η, Algorithm 1's M, or the candidate set; Section V explicitly states the search was not run.
- Negative cases: 1 target cannot be exactly matched to ρ0; the maximum experimental k=6 is below the median relaxed scale of 9.713; Gemma-3-4B-PT has 4,718 blanks counted as failures.
What are some points that can be further explored?
The paper does not have a dedicated section discussing limitations or future directions.
Limitations and Future Directions Noted by the Authors
The paper does not specifically discuss limitations. There is no dedicated section in the Conclusions, Discussion or appendix that frames any result or setting as a limitation, shortcoming or future work.
Experimental Coverage
- Response models: Section V-A uses Qwen3-32B queries to evaluate Qwen3-1.7B, Qwen3-4B, Qwen3-8B, Qwen3-4B-Instruct-2507, Mistral-7B-Instruct-v0.3, Gemma-3-4B-PT, and Gemma-3-4B-IT, 7 in total. Qwen3-14B queries evaluate only Qwen3-1.7B, Qwen3-4B, and Qwen3-4B-Instruct-2507 among them.
- Data and budget: 100 JailbreakBench targets, 50 Super-NaturalInstructions auxiliary tasks; k∈{2,3,4,5,6}, with 20 bundles per target per level and one query per bundle; k=1 is 1 per target. 10,100 responses per generator–response model pair. Response temperature 0, seed 1234.
- Estimation and judging: ϵi is estimated by Llama Guard 3-8B; jailbreak labels are given by HarmBench-Llama-2-13B-CLS; target preservation is scored by Flow-Judge-v0.1 on a five-level rubric.
- Actual procedure: The authors write that experiments sample at low ϵ and submit all queries, measuring simple sampling, not the full search of Algorithm 1 under τQ, η. Bundle and query construction does not access the responding model.
- Not reported in the paper: Numerical estimates of query-level rQ and ℓb, judge–human agreement, and the number of repetitions beyond seed 1234. The main text does not give the cumulative ASR for Gemma-3-4B-IT; Table III does not include target preservation for Gemma-3-4B-PT.
Summarize the main content of the paper
Use information theory to select a task combination containing the target, then examine whether the query can both hide the intent and have the target executed.
This work frames compositional intent hiding as a task selection problem: the harmful target must remain in the bundle, while making the estimated harmful intent probability close to the full-set prior, or dropping it below a threshold.
- Problem: Direct harmful requests may be rejected, but a single query embedding them in benign auxiliary tasks may elicit a different response. The authors need to decide before writing the wording: whether a bundle containing the specified target and satisfying the hiding condition exists, and the minimum number of auxiliary tasks needed.
- Method: The prior is the average of task-level negative intent probabilities, and the posterior is the average within the bundle; equality between them is called prior–posterior matching. The authors state that exact matching under a scale limit is generally NP-hard, fractional weights have a water-filling solution, and under a one-sided threshold, greedy selection in ascending order of ϵi yields the minimal bundle. At the query level, utility is defined using the negative intent posterior and target information ℓb. The experiments do not run this search; instead, they sample auxiliary tasks biased toward low intent using Llama Guard 3-8B's ϵ̂, with 20 bundles per tier, all submitted.
- Attack success: Targets come from JailbreakBench, 100 in total; 50 auxiliary tasks. When Qwen3-32B writes the queries, Qwen3-4B's cumulative ASR goes from 3% at K=1 to 96% at K=6, reaching 86% already at K=2. Qwen3-4B-Instruct-2507 goes from 0% to 73%. Mistral-7B-Instruct-v0.3 goes from 60% to 99%, and Gemma-3-4B-PT from 19% to 96%. With the same bundle but Qwen3-14B writing the queries, Instruct-2507 is 57% at K=6, and the first two Qwen3 models are only 1 percentage point lower. Comparisons across K include both larger bundles and more candidates.
- Target retention: For several response models, average target retention decreases with k. In Figure 3, at k=6 Mistral retains 26% of its direct request baseline, and Qwen3-8B retains 53%. The authors state that ASR asks whether any candidate succeeds, while target retention averages all candidates at that scale, and the two cannot substitute for each other. The median relaxed scale for score matching is 9.713, and the experiments stop at 6.
- Authors' conclusions: The authors believe that a few benign auxiliary tasks can often reach targets that direct requests reject; direct-request differences across families shrink after composition; within the evaluated 1.7B to 8B range, parameter scale does not bring consistent robustness gains, and post-training differences are more pronounced; different phrasings of the same bundle can have large effects on more robust response models; and more auxiliary tasks also make it harder for several models to faithfully execute the original target.
Related papers
Show 3 more papers
- Toward Understanding the Transferability of Adversarial Suffixes in Large Language ModelsAnalysis / interpretabilityarXiv