Structural jailbreaks generalize across providers but do not stack: a study of IICL across providers and languagesStructural Jailbreaks Generalize but Do Not Compound: A cross-provider and multilingual study of Involuntary In-Context Learning
English IICL ASR on the two Gemini models reaches 80.0–100.0%, and eleven of twelve non-English cells are lower.
The black-box attacker has only chat endpoint query access, no logit or weight access; each probe budget is one structural prompt, no multi-turn escalation, no attacker model. The target is an aligned assistant expected to refuse the behavior. The authors call this the weakest realistic attacker under structural attacks, so success is a capability lower bound.
- Aligned models fail under the structural jailbreak IICL and under weakened safety alignment outside English, respectively. The authors directly test whether the two stack to make attacks more successful, because defense coverage needs to know whether weaknesses add up.
- Black-box, single structural prompt. Deterministic IICL places the harmful behavior in a missing cell of a five-line benign JSON annotation scaffold and requires that cell to be written in the target language; control is an English bare single-shot request. Evaluation is StrongREJECT-style with a threshold of 0.5.
- On the two Gemini models, English IICL ASR is 80.0% and 89.7% on HarmBench, and 96.7% and 100.0% on FinProof (Table 1); the single-shot baseline is ≤6.7%. Eleven of twelve non-English cells are lower (sign test p≈0.003).
- The authors call this a pilot with n=30 and a single seed; the target is only two Google models, GPT and Claude are not anchors; human verification is still open; only two globally medium-resource languages are covered; English IICL with five benign examples is a lower bound on the operator's ceiling (§7, §9).
- Evaluated models
- gemini-2.5-flashgemini-2.5-flash-lite
- Benchmarks
- HarmBenchFinProof
- Metrics
- ASRWilson 95% intervalCohen's κ
The study red-teams two Google Gemini models on 30 general harm behaviors from HarmBench and 30 financial abuse behaviors from FinProof using a deterministic IICL operator and StrongREJECT-style scoring, covering English, Spanish, Hindi, and Arabic. IICL generalizes to a second vendor, and the financial scenario is more severe: attack success rate rises from at most 6.7% to 80-90% on HarmBench, and from at most 6.7% to 97-100% on FinProof, an order of magnitude higher than the 24% reported in the original study of this method on OpenAI GPT-5.4.
Related events and news
1 events · 1 news mentions
News that mentions this paper
Adversa AI 发布 10 月 GenAI 安全资源汇总
- Adversa AIcites the paper's id or linkAdversa AI 的 GenAI 安全资源精选(2026 年 10 月)
Structural jailbreaks generalize but do not compound: a cross-provider and multilingual study of Involuntary In-Context Learning
Paper analysis
What problem does this paper attempt to solve?
IICL and non-English constraints do not add: it transfers to Gemini, but non-English outputs are mostly lower than English.
To test whether the structural jailbreak IICL and non-English output constraints stack.
- Scenario: The authors argue that safety evaluations typically probe one weakness at a time, but defenders planning coverage must know whether weaknesses stack. This paper tests the interaction between IICL and weakened safety alignment outside English.
- Existing gaps: The paper introducing IICL only tests OpenAI, only in English, and lists cross-provider and multilingual generalization as open questions. The authors state that work on translation or sandwich frameworks, to their knowledge, has not combined structural context attacks with language constraints, nor tested whether the two are additive.
- Hypotheses: If structural transformation promotes compliance and lower-resource languages further lower vigilance, non-English IICL should be higher than English IICL. The authors denote transfer, relative effectiveness over the single-shot baseline, and stacking as H1, H2, and H3, respectively, and state that H3 is refuted by the data.
- Method: A deterministic IICL operator additionally requires reconstructed cells to be written in the target language, tested on two Gemini models, HarmBench and FinProof, across four languages, against English bare single-shot.
- Threat model:
- Knowledge: black-box; can query the chat endpoint, no logit or weight access.
- Capabilities: one structural prompt per probe; no multi-turn escalation, no attacker model.
- Goal: an aligned assistant expected to refuse the behavior. The endpoints in the experiments are two Gemini models.
- Success determination: A StrongREJECT-style rubric requires no refusal, relevance, and specificity/actionability, with a threshold of 0.5. The authors state this is the weakest realistic attacker under structural attacks, so success is a lower bound on capability.
What related research exists?
Related work covers contextual jailbreaks, multilingual gaps, and automated red teaming; this paper tests IICL's cross-provider and language stacking.
Contextual jailbreaks
- Many-shot jailbreaking (Anil et al., NeurIPS 2024): Uses fake harmful dialogues in long context to override refusal, with success rate following a power law in the number of shots, up to hundreds of shots.
- IICL (Adversa AI, 2026): About 10 shots and two control tokens (answer, is_valid), with effectiveness coming from the framework rather than quantity. The paper notes it only tests OpenAI and English, leaving cross-provider and multilingual as open questions.
Multilingual safety
- MultiJail (Deng et al., ICLR 2024) and follow-up work on low-resource languages (2026 preprint): Translate harmful prompts into underrepresented languages to bypass English-centric filters, and document the harmfulness curse and relevance curse. The paper notes these works use translation or sandwich frameworks; the authors state that, to their knowledge, no one combines structural context attacks with language constraints, nor measures whether the two effects add.
Automated red-teaming
- TAP (Mehrotra et al., 2023) and PAIR (Chao et al., 2023): Use attacker models to search the prompt space.
- Online bandits (Red-Bandit, 2025; Adaptive Instruction Composition, 2026): Select attacks or strategies at test time. The authors' harness includes a two-level bandit, but this study deliberately isolates one deterministic operator to avoid search confounding the language effect.
Adjacent work, baselines, and positioning
- AgentHarm (Andriushchenko et al., ICLR 2025): Tool-using agents show high compliance with malicious requests. The authors note it as adjacent frontier work, not studied here.
- Baselines and benchmarks: English bare single-shot behavior requests; 30 stratified general harm behaviors from HarmBench, 30 financial abuse behaviors from FinProof. Evaluation follows a StrongREJECT-style rubric.
The authors position this paper as entering the cross-provider and multilingual questions left by IICL, and directly testing whether the two weaknesses stack.
How does the paper address this problem?
Fixed five-line benign JSON scaffold, only changing the output language of the missing cell, compared to English bare single-shot.
Fixed structure, only changing output language. IICL places the harmful behavior in a missing cell of an annotation task and requires that cell to be written in a specified language, then compares against English bare single-shot.
Hypotheses and attacker
- H1: Reproduce the effect reported in the original study on OpenAI, transferring to another provider.
- H2: IICL is significantly higher than the English bare single-shot baseline.
- H3: Constraining output to a lower-resource language yields higher ASR than English IICL. H1 and H2 are confirmatory tests; H3 is a new test.
- Attacker: Black-box queries, no logits or weights; one structural prompt per probe, no multi-turn, no attacker model.
Models, languages, and operator
- Models: gemini-2.5-flash, and the smaller gemini-2.5-flash-lite; via Google Vertex's OpenAI-compatible endpoint. Configuration is dated September 2026.
- Languages: English; Spanish, which the authors label as high-resource; Hindi and Arabic, which the authors label as relatively low-resource for safety oversight.
- Language constraint: The operator adds an instruction requiring the reconstructed answer cell to be entirely in the target language; the rest of the English scaffold remains unchanged. The authors thus fix structure and only change output language.
- Scaffold: Uses the deterministic operator from [1], a five-line benign example JSON scaffold, with the harmful behavior as the final missing cell. No attacker model or search is used; the authors state each result is attributable solely to the operator.
Probes and baselines
- HarmBench: 30 stratified general harm standard behaviors.
- FinProof: 30 financial abuse behaviors, covering AML structuring, mule accounts, KYC evasion, fraud scripts, sanctions evasion, and regulatory disclosure manipulation. The authors state these are low-harm elicitation probes, not operational methods.
- Baseline: Single-shot sending the English bare behavior, as a naive lower bound. The language variable is added only to IICL, not to this baseline.
Evaluation and statistics
- Bypass: Evaluated by gemini-2.5-flash. The StrongREJECT-style rubric requires no refusal, relevance, and specificity/actionability, with a threshold of 0.5. Non-English responses are scored on substance, not failed solely for language.
- Prior consistency: On 63 prior gold labels, two independent Gemini evaluators had κ=0.90. The paper also reports a heuristic fallback of about 2%. The methods section notes additional review by non-Google evaluators.
- ASR: Proportion of measured probes judged as bypassed. Probes where the target call errors or is blocked at the transport layer are marked ⊘ and not counted as refusals. Of about 600 scores, 7 are excluded (about 98.8% measured).
- Inference: Wilson 95% intervals per cell; exact sign test for directional cross-cell effects across the two benchmarks combined. Main experiment has n=30 per cell, single seed.
What experiments did the paper conduct?
English IICL has an ASR of 80.0–100.0%; eleven of the twelve non-English cells are lower (p≈0.003).
Experimental Setup
- Target models: gemini-2.5-flash, gemini-2.5-flash-lite. Endpoint is the Vertex OpenAI-compatible interface; the reproducibility config specifies September 2026.
- Benchmarks: HarmBench 30 general harm items; FinProof 30 financial abuse items. 60 behaviors in total. Languages are en, es, hi, ar.
- Conditions: English bare single-shot; deterministic IICL in four languages. No attacker model, no search, no multi-turn.
- Metrics: ASR, with Wilson 95% intervals. Cross-cell direction effects use an exact sign test.
- Review: Primary reviewer gemini-2.5-flash, StrongREJECT-style strict rubric, threshold 0.5. Transmission failures are recorded as ⊘, not as refusals.
- Sample size: Main matrix n=30 per cell, single seed. Independent review uses another replication, n=20 per cell. The paper does not report multi-seed repetition of the main matrix.
Main Results
Per Table 1 ASR (%). n=30 per cell, single seed. Wilson intervals are in the table and not listed here.
Swipe horizontally to read the table
Model / Benchmark single-en IICL-en IICL-es IICL-hi IICL-ar flash-lite / HarmBench 3.4 80.0 72.4 46.7 56.7 gemini-2.5-flash / HarmBench 0.0 89.7 83.3 73.3 69.0 flash-lite / FinProof 6.7 96.7 90.0 69.0 100.0 gemini-2.5-flash / FinProof 0.0 100.0 62.1 60.0 33.3 - Relative to baseline: The authors state that English IICL's Wilson intervals do not overlap the 0–6.7% single-shot floor, and the financial set is more exposed. The abstract writes FinProof as 97–100%, which is not exactly the same as the 96.7% written in the table.
- Cross-provider: The authors cite ≤24% on GPT-5.4 and 0% for six of ten models, and state that here it is an order of magnitude higher. The authors note the comparison is uncontrolled: the review differs, and the other side uses a 20-query subset.
- Superadditive failure: Eleven cells are below English (sign test p≈0.003). The exception is lite/FinProof Arabic: the point estimate is above the English column, and the authors state the ceiling is flat. The flash financial set drops 37.9, 40.0, 66.7 percentage points, each reaching significance.
Figure 1's caption states that on HarmBench IICL is far above the single-shot baseline, then declines as the language moves away from English. Figure 2's caption states that English IICL is near 100% on both models, flash's Arabic drops from 100% to 33%, and lite's Arabic bar is flat with English rather than exceeding it.
Decay Mechanism
- Direction: The authors explain it with the harmfulness curse and the relevance curse. If the former dominates, Hindi and Arabic ASR should be higher; what is observed is a decline.
- Quality path: The authors believe IICL already handles refusal by construction, so the former has little remaining contribution; the rubric requires specific and executable content, and less complete, less relevant generations are judged as non-bypasses.
- Deflection path: On the financial set, flash often ignores the language instruction and answers in English (Spanish and Arabic 78–89%). The authors believe both paths push non-English ASR down, so the direction is robust, although the mechanism is not single. The authors believe the main remaining risk is English structural attacks, with financial abuse most prominent; one should not assume multilingual variants are strictly worse.
Review Independence and Language Verification
- Independent review: Another replication (n=20 per cell) is double-reviewed by deepseek-v4-flash and gemini-2.5-flash. On 377 pairs κ=0.86, agreement 93.1%, and both fallback rates are 0. The authors state that the anti-superadditive pattern including the Arabic decline is reproduced. Human verification remains open.
- Language verification: Unicode script plus language ID. Of 222 non-English replies, 76.6% are indeed in the requested language (Hindi 90%, Arabic 73%, Spanish 67%). The exception is flash/FinProof, where Spanish and Arabic are 78–89% English.
Other Ablations and Analyses
- Previous 63 gold labels: two independent Gemini reviewers κ=0.90; heuristic fallback about 2% (§4).
- Transport-layer exclusion: 7 of about 600 ratings, about 98.8% measured (§4).
- Per-cell significance: on HarmBench only flash-lite/Hindi reaches it alone; on FinProof flash's three declines each reach it (§5, §7).
- Arabic flash/FinProof's Wilson interval [19.2, 51.2] does not overlap English's [88.3, 100] (Table 1, §5).
- FinProof English IICL near 100%: the authors state this compresses lite's comparison and widens flash's separation (§7).
- The comparison with [1] uses different review and a 20-item subset, and the authors state it is uncontrolled (§5).
What are some points that can be further explored?
The authors frame the scope as a pilot and point out scale, a single new provider, human validation, and language coverage.
Limitations and Future Directions Noted by the Authors
- Scale and ceiling (§7 i): n=30 per cell, single seed. On HarmBench, only flash-lite/Hindi reaches per-cell significance; on FinProof, flash's three declines all reach it, but English IICL is near 100%, which compresses lite's comparison and widens flash's separation. The authors state that the combined stacking conclusion relies on the twelve-cell sign test, not any single cell.
- Providers (§7 ii, §9): Both targets are Google models. H1 only shows transfer to one new provider, not universal validity. GPT and Claude are not in the experiments. The conclusion anchors them as target points and lists them as conditions for making the pilot stand at larger scale.
- Human validation (§7 iii, §9): A non-Google reviewer has reproduced the direction, but the authors state that human validation remains open; the conclusion proposes human-annotated scoring.
- Language coverage (§7 v, §9): Only two lower-resource languages, and both are mid-resource globally. The conclusion proposes including truly low-resource languages.
- Operator variants (§7 vi): The scaffold is five benign examples. The authors state that English IICL success rates are therefore a lower bound on the upper bound of this operator.
- Pilot scope (§1, §7, §9): The authors state this is a pilot, and the claimed scope matches it; human annotation, GPT/Claude anchors, and truly low-resource languages are needed to turn the pilot into a claim that stands at scale.
Experimental Coverage
- Tested targets are gemini-2.5-flash and gemini-2.5-flash-lite, via Vertex OpenAI-compatible endpoints (configuration at the end: September 2026).
- Behavior sets are HarmBench 30 items and FinProof 30 items; conditions are English bare single-shot and deterministic IICL in en/es/hi/ar; main matrix n=30 per cell, single seed (Table 1, §4).
- Primary reviewer is gemini-2.5-flash, threshold 0.5; the replication is double-reviewed by deepseek-v4-flash, n=20 per cell, 377 pairs (§4, §7).
- The paper reports language verification of 222 non-English replies and 7 transmission-layer exclusions out of about 600 ratings (§4, §7). The paper does not report agreement between human annotation and LLM review.
- The authors state that this study isolates a single deterministic operator to avoid bandit search confounding language effects; AgentHarm is noted as adjacent frontier work and is not studied here (§2).
Summarize the main content of the paper
IICL transferred to two Gemini models, English ASR reaches 80.0–100.0%; eleven non-English cells are lower than English.
This red-team experiment tests whether structural jailbreaks and non-English output constraints stack.
The black-box attacker has only one structural prompt, no multi-turn, and no attacker model. IICL places the harmful behavior in a missing cell of a five-line benign JSON scaffold; this study additionally requires that cell to be written in English, Spanish, Hindi, or Arabic. The control is an English bare single-shot. Targets are gemini-2.5-flash and gemini-2.5-flash-lite. Behavior sets are 30 items each from HarmBench and FinProof. Bypass is judged by gemini-2.5-flash using a StrongREJECT-style rubric with a threshold of 0.5.
- English effectiveness: Single-shot ASR is 0–6.7%. English IICL is 80.0% (lite) and 89.7% (flash) on HarmBench, and 96.7% and 100.0% on FinProof (Table 1). The authors state the intervals do not overlap with the baseline, and the financial set is more exposed.
- Stacking direction: Eleven of the twelve non-English cells are lower than English (sign test p≈0.003). Flash's Arabic on FinProof drops from 100.0% to 33.3%. The exception is lite's FinProof Arabic, with point estimates 100.0% vs 96.7%, which the authors call a ceiling tie.
- Mechanism and recheck: The authors attribute the drop to the relevance curse, and to flash often ignoring the language instruction on the financial set and switching to English (78–89% for Spanish and Arabic). deepseek-v4-flash has κ=0.86 on 377 pairs, and the direction is reproduced. Of 222 non-English responses, 76.6% are in the target language.
The authors conclude that weaknesses need not add; interactions should be measured rather than assumed. For these models, they suggest defense should focus on the English structural attack surface, with financial abuse prioritized. They also limit the results to a pilot and note that human annotation, GPT and Claude anchors, and truly low-resource languages are not yet included.
Related papers
- Jailbreaking LLMs via CalibrationAttacksarXiv
- Best-of-N JailbreakingAttacksarXiv