Jailbreak and Guard Aligned Language Models With Only Few In-Context Demonstrations
Open accessAbstract
Large Language Models (LLMs) have demonstrated remarkable success across diverse applications, yet their susceptibility to malicious exploitation remains a critical challenge. Notably, LLMs are known to be vulnerable to jailbreaking attacks, where adversaries craft malicious inputs to induce harmful or unethical outputs. In this paper, motivated by the unique effectiveness and scalability of In-Context Learning (ICL) in LLMs, we explore its potential to modulate the safety alignment of LLMs. Specifically, we propose the In-Context Attack (ICA), which employs harmful demonstrations to subvert LLMs' safety, and the In-Context Defense (ICD), which bolsters their resilience through examples that demonstrate refusal to produce harmful responses. By adjusting the distribution of safety in LLM outputs through adversarial demonstrations, our proposed in-context attack and defense facilitate effective manipulation of their alignment. We first provide theoretical insights to illustrate how minimal in-context demonstrations can efficiently alter safety alignment. Empirically, we validate ICA and ICD across multiple models, datasets, and attack baselines, showing their efficacy and scalability for red-teaming evaluations and robust safeguards for real-world deployment. Overall, our work unveils the pivotal yet understudied role of ICL in LLM safety, opening new avenues for understanding and improving them.
AI snapshot
Written from the paper’s full text.
TL;DR
The paper proposes In-Context Attack (ICA), which uses a few harmful demonstrations to jailbreak aligned LLMs, and In-Context Defense (ICD), which uses safe refusal demonstrations to guard them. It provides theory and experiments showing ICA can raise attack success rates and ICD can reduce them while preserving natural performance.
Key findings
- ICA with few harmful in-context demonstrations jailbreaks aligned LLMs: 1 shot raised ASR from 1% to 8% for Vicuna on AdvBench and from 3% to 19% for Llama-2 on HarmBench; 10 shots reached 87% ASR for Vicuna and 46% for GPT-4; 20 shots reached 81% on GPT-4 for AdvBench and 65% on HarmBench.
- On HarmBench, ICA achieved about 60% ASR on white-box models on average and higher than 65% ASR on black-box models, performing comparably to or better than GCG, GCG-M, AutoDAN, GCG-T, PAIR, and TAP.
- ICD with 1–2 safe demonstrations reduced ASR across attacks: Llama-2 against transferable GCG from 21% to 0%; Vicuna against GCG-T from 60% to 12% with 1 shot and 4% with 2 shots; against PAIR, Vicuna went from 59% to 51% (1 shot) and 48% (2 shots).
- ICD preserved natural performance: GPT-4 with 2-shot ICD scored 9.24 on MT-Bench versus 8.89 vanilla; inference overhead was 2% for Vicuna and less than 1% for GPT-4.
Methods
- The paper introduces ICA, which concatenates harmful query-response demonstrations before a target harmful prompt, and ICD, which appends safe refusal demonstrations to the conversation template.
- It builds a theoretical framework decoupling the model distribution as \(P = \lambda P_H + (1-\lambda)P_S\), with assumptions of request independence, robustness of a single distribution, and distinguishability, then proves bounds on the number of harmful or safe demonstrations needed.
- Experiments evaluate 4 aligned LLMs (Vicuna-7b-v1.5, Llama2-7b-chat, QWen-7b-v2, GPT-4 0613) on AdvBench (~500 harmful prompts) and HarmBench; ASR is judged by rejection-string detection plus a fine-tuned Llama-13b judge, with human evaluation for conflicts; demonstrations are drawn from AdvBench and generated via GCG on Vicuna for ICA or vanilla prompting for ICD, averaged over three repetitions.
Limitations
- The paper states that string detection may not be fully reliable, so it adds LLM judgment and human evaluation for conflicts; that 7B open-source models have limited 4096-token context windows, preventing 20-shot ICA and limiting Llama-2 to 10 shots due to its long system message; that HarmBench did not provide defense implementation platforms, so ICD is evaluated only on AdvBench; and that ICD still only reduces ASR to a certain extent against strong adaptive white-box attacks, e.g., reducing average GCG ASR from 65% to 40% with 2 shots.
- The paper also states that when ICA scales to 5 or 10 harmful demonstrations, harmful demonstrations can subvert safe ones and maintain fairly high ASR despite ICD.
- Evident from the text: the theoretical results rely on idealized assumptions (independence on requests, robustness of a single distribution, distinguishability) and on \(\lambda \in (0,1)\); the empirical evaluation is limited to selected models, datasets, and attack methods.
Model-written summary. Check it against the paper before relying on it.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
21 of 32 cited sources checked · 4 supported · 1 flagged · accuracy not yet measured
- Findingown data
ICD maintains the natural performance of LLMs.
“while maintaining the natural performance of LLMs”
- Also stated in: § 3.3 In-Context Defense · boosted
“In our experiments, we evaluate ICD with GLUE [43] and MT-bench [59] to show that ICD does not hurt natural performance.”
Quote in the paperSubstantial claim2 of 2 sources checked- cites [43] source
The paper identifies ICD as a baseline in Section 5.1, but the Table 2 discussion says that baseline defenses degrade LLM utility, particularly on Llama2. It attributes preservation of the original models’ utility to SafeDecoding, not ICD (Sections 5.1–5.2; page numbers unavailable). (LLM, conf=0.73)
Checked by a reasoning model — may be wrong.
Experimental — accuracy not yet measured - cites [59] source
The Introduction and Section 4.1 report that replacing demonstration labels with random labels barely reduced model performance on classification and multiple-choice tasks. That supports a narrower performance-preservation claim, but the paper does not establish that ICD maintains LLMs’ natural performance generally. (LLM, conf=0.80)
Experimental — accuracy not yet measured
- Also stated in: § 3.3 In-Context Defense · boosted
- Findingown data
ICD can reduce the ASR of Llama-2 against transferable GCG from 21% to 0%.
“ICD can reduce the ASR of Llama-2 [41] against transferable GCG from 21% to 0%”
Quote in the paperSubstantial claim1 of 1 sources checked- cites [41] source
Section 4.1 reports a 21% baseline rate of unsafe responses for LLaMA on the paper’s unsafe prompts. Section 3.2 describes in-context exemplars, and the results table in Appendix C reports a lower rate with exemplars. The paper does not report an ICD result against transferable GCG or a reduction from 21% to 0%; its baseline is not identified as GCG attack success rate. (LLM, conf=0.86)
Experimental — accuracy not yet measured
- Findingcitation
ICA achieved 81% Attack Success Rate (ASR) on GPT-4 evaluated by the AdvBench dataset.
“ICA achieved 81% Attack Success Rate (ASR) on GPT-4 [33] evaluated by the AdvBench dataset [61]”
Quote in the paperSubstantial claim2 of 2 sources checked- cites [33] Liao, 2024, AmpleGCG: Learning a universal and transferable generative model of adversarial suffixes for jailbreaking both open and closed LLMs source
The Transferability of AmpleGCG section (Table 5; page not available) reports GPT-4 attack success rates for GCG, AutoDAN, and AmpleGCG, but not ICA. Searches for ICA and an 81% GPT-4 result found no passage in our copy that addresses the claimed result. The low rates for the methods tested do not establish ICA’s rate. (LLM, conf=0.76)
Experimental — accuracy not yet measured - cites [61] source
Section 3 describes noisy-label experiments using GPT-2 models, not an ICA attack on GPT-4. Searches for ICA, an 81% attack success rate, and AdvBench found no passage in our copy reporting the claimed result. The indexed passages provide section labels but no page numbers. (LLM, conf=0.75)
Experimental — accuracy not yet measured
- Interpretationcitation
It is idealistic to make λ = 0 exactly.
“However, due to the complexity of natural languages and the existence of toxic context in the training set, it is idealistic to make λ = 0 exactly [48]”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites [48] Lin, 2023, The unlocking spell on base LLMs: Rethinking alignment via in-context learning source
Section 3.1 discusses difficulties base LLMs have in following instructions, and the Introduction discusses alignment and safety, but neither addresses whether a quantity λ can be exactly zero. Searches for λ, toxic training context, and the asserted impossibility of eliminating it found no passage supporting that point in our copy. Page numbers were not available. (LLM, conf=0.75)
Experimental — accuracy not yet measured
- Findingown data
ICD does not hurt natural performance, as evaluated with GLUE and MT-bench.
“In our experiments, we evaluate ICD with GLUE [43] and MT-bench [59] to show that ICD does not hurt natural performance.”
Quote in the paperSubstantial claim2 of 2 sources checked- cites [43] source
Section 5.1 identifies ICD as a baseline and says the paper uses MT-bench to evaluate model helpfulness. But the preserved-utility finding in Section 5.2 is about SafeDecoding, not ICD; the copy provides no GLUE evaluation or finding that ICD does not hurt natural performance. Page numbers were not available in our copy. (LLM, conf=0.78)
Experimental — accuracy not yet measured - cites [59] source
Section 3 (Experimental Setup) says the paper evaluates in-context learning on datasets that include GLUE benchmarks. Neither that section nor the retrieved passages address ICD's effect on natural performance or report an MT-bench evaluation (searched: ICD, natural performance, GLUE, MT-bench). The citing sentence describes its authors' own experiments, so the claimed result cannot be verified from this source. (LLM, conf=0.76)
Experimental — accuracy not yet measured
- Premisecitation
Even aligned LLMs are still vulnerable to adversarial attacks, typically called the jailbreak issue.
“recent works show that even aligned LLMs are still vulnerable to adversarial attacks, typically called the jailbreak issue of LLMs [46,37,15,2].”
Quote in the paperSubstantial claim4 of 4 sources checked- cites [46] Zheng, 2024, Prompt-driven LLM safeguarding via directed representation optimization source
- cites [37] Sheshadri, 2024, Latent adversarial training improves robustness to persistent harmful behaviors in LLMs source
- cites [15] Li, 2023, DeepInception: Hypnotize large language model to be jailbreaker source
- cites [2] source
- Premisecitation
Pre-processing methods detect or purify potential harmful prompts but may cause unaffordable false positives.
“Pre-processing methods detect or purify the potential harmful prompts, like perplexity filter [1], harmful string detection [22,7], retokenization and paraphrasing [16] which are easy to plug-in to the model but may cause unaffordable false positives [42].”
Quote in the paperSubstantial claim1 of 4 sources checked- cites [1] Anwar, 2024, Foundational challenges in assuring alignment and safety of large language models, Trans. Mach. Learn. Res.
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [22] 2024, GPT-4 technical report
Not checked in the free run.
- cites [7] Wei, 2023, Jailbroken: How does LLM safety training fail? source
The citation [42] is attached to the claim that pre-processing methods may cause unaffordable false positives. In “What Scaling Won’t Solve” (page unavailable), the paper discusses flagging and filtering failing to detect obfuscated threats, but does not address false positives or their cost. A search for “false positives” found no passage establishing that claim. (LLM, conf=0.77)
Experimental — accuracy not yet measured - cites [16] Alon, 2023, Detecting language model attacks with perplexity source
- Findingown data
ICA elevates the success rates of jailbreaking prompts.
“Through extensive experiments, we demonstrate the efficacy of ICA and ICD in respectively elevating and mitigating the success rates of jailbreaking prompts.”
Quote in the paperSubstantial claim - Findingown data
10-shot ICA successfully jailbreaks GPT-4 with a 46% ASR.
“and also successfully jailbreaks the closed-source model GPT-4 with a 46% ASR”
Quote in the paperSubstantial claim - Findingown data
With only a single (1 shot) ICA demonstration, ASR increases from 1% to 8% for Vicuna on AdvBench.
“With only a single (1 shot) ICA demonstration, we can increase the ASR from 1% to 8% for Vicuna on AdvBench”
Quote in the paperSubstantial claim - Findingown data
ICA achieves higher than 65% ASR on black-box models.
“and also archives higher than 65% ASR on black-box models”
Quote in the paperSubstantial claim - Findingown data
With only a single safe demonstration incorporated into the context, ICD can significantly reduce the ASR (e.g. to 12% in the Vicuna GCG-T case) on average.
“with only a single safe demonstration incorporated into the context, ICD can significantly reduce the ASR (e.g. to 12% in the aforementioned case) on average”
Quote in the paperSubstantial claim - Findingown data
ICD mitigates the success rates of jailbreaking prompts.
“Through extensive experiments, we demonstrate the efficacy of ICA and ICD in respectively elevating and mitigating the success rates of jailbreaking prompts.”
Quote in the paperSubstantial claim - Findingown data
As the number of demonstrations increases to 10, ICA increases the ASR to 87% for Vicuna.
“As the number of demonstrations increases to 10, ICA significantly increases the ASR to 87% for vicuna”
Quote in the paperSubstantial claim - Findingown data
ICD does not cause false positive cases that reject benign prompts.
“Harmless.While existing defense methods, particularly filter-based [1] and detection-based [22,16], are known to may cause unaffordable false positive cases that reject benign prompts, our proposed ICD does not have this concern.”
Quote in the paperSubstantial claim0 of 3 sources checked- cites [1] Anwar, 2024, Foundational challenges in assuring alignment and safety of large language models, Trans. Mach. Learn. Res.
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [22] 2024, GPT-4 technical report
Not checked in the free run.
- cites [16] Alon, 2023, Detecting language model attacks with perplexity source
- Findingown data
ICD reduces the average ASR of GCG from 65% to 40% on average with 2 shots.
“e.g.reduce the average ASR of GCG from 65% to 40% on average with 2 shots.”
Quote in the paperSubstantial claim - Findingnone given
Only 1 or 2 demonstrations are sufficient to decrease the ASR of various attacks to a certain extent.
“we show that only 1 or 2 demonstrations are sufficient to decrease the ASR of various attacks to a certain extent”
Quote in the paperSubstantial claim - Findingown data
With only a single (1 shot) ICA demonstration, ASR increases from 3% to 19% for Llama-2 on HarmBench.
“and from 3% to 19% for Llama-2 on HarmBench”
Quote in the paperSubstantial claim - Findingown data
15-shot ICA achieves 81% ASR on GPT-4.
“where the ASRs on GPT-4 can be increased to 81% and 65% on the two datasets, respectfully.”
Quote in the paperSubstantial claim - Findingown data
The ASRs of ICA are still improved for the three 7b-size open-source models.
“but the ASRs of ICA are still improved.”
Quote in the paperNot a substantial claim - Findingreasoning
ICD only requires negligible computational overhead (no more than 2%).
“Efficiency.Since ICD only adds a few demonstrations to the conversation template, it only requires negligible computational overhead (no more than 2%).”
Quote in the paperNot a substantial claim - Findingown data
ICA achieves about 60% ASR on white-box models on average.
“our ICA achieves about 60% ASR on white-box models on average”
Quote in the paperSubstantial claim - Findingown data
With 2-shot demonstrations, ICD decreases ASR to nearly 0% in most cases.
“and further decrease it to nearly 0% in most cases when 2 shot demonstrations are applied”
Quote in the paperSubstantial claim - Findingown data
The number of demonstrations used in ICD (1-2 shots) is significantly less than in ICA.
“This notion aligns well with our experiment in the following section, where the number of demonstrations we used in ICD (1-2 shots) is significantly less than in ICA.”
Quote in the paperNot a substantial claim - Findingown data
ICD's natural performance is comparable to vanilla generation.
“where the natural performance of ICD is still comparable with vanilla generation.”
Quote in the paperSubstantial claim - Findingown data
A few demonstrations of responding to malicious prompts can jailbreak the model to generate harmful content (ICA).
“For ICA, we show that a few demonstrations of responding to malicious prompts can jailbreak the model to generate harmful content.”
Quote in the paperSubstantial claim - Findingown data
GPT-4 with 2-shot ICD scores 9.24 on MT-Bench, compared to vanilla 8.89.
“GPT-4 with 2-shots ICD (9.24) performs better than vanilla (8.89) on MT-Bench”
Quote in the paperNot a substantial claim - Findingown data
When the attacker uses only 1 shot harmful demonstration, ICD with similar numbers of demonstrations can easily eliminate the threat.
“when the attacker only uses 1 shot harmful demonstration, ICD with similar numbers of demonstrations can easily eliminate the threat.”
Quote in the paperSubstantial claim - Findingnone given
When the attack's capacity scales to 5 or 10 shots, harmful demonstrations can subvert safe ones, maintaining a fairly high ASR.
“when the attack's capacity scales up to 5 or 10 shots, the harmful demonstrations can subvert the safe ones, maintaining a fairly high ASR.”
Quote in the paperSubstantial claim - Findingnone given
ICD enhances model robustness by demonstrations of rejecting harmful prompts.
“On the other hand, ICD enhances model robustness by demonstrations of rejecting harmful prompts.”
Quote in the paperSubstantial claim - Interpretationreasoning
Given a target harmful request q ∼ Q_H, for ∀ε > 0, by a set of k harmful demonstrations D_H where k ≥ 1/∆ (ln 2 + ln 1/λ + ln 1/ε), it is sufficient to increase the model's safety risk R_P_H(q) - R_P([D_H, q]) ≤ ε.
“Theorem 4.5.Given a target harmful request q ∼ Q H . For ∀ϵ > 0, by a set of k numbers of harmful demonstrations D H where k ≥ 1 ∆ (ln 2 + ln 1 λ + ln 1 ϵ ), it's sufficient to increase the model's safety risk R P H (q) -R P ([D H , q]) ≤ ϵ.”
Quote in the paperSubstantial claim- The authors state this as an assumption: The language model's generation distribution can be decomposed as P = λP_H + (1-λ)P_S, where P_H is the harmful generation distribution, P_S is the safe generation distribution, and λ ∈ (0,1) adjusts their trade-off.
- The authors state this as an assumption: For any request q and its prefix prompt p*, the probability of the request prompt is the same for the harmful and safe distributions: P_H(q|p*) = P_S(q|p*).
- The authors state this as an assumption: A single distribution of P_H or P_S is robust to the context: for any demonstration set d and request q, P_H(a|[d,q]) = P_H(a|q) and P_S(a|[d,q]) = P_S(a|q).
- The authors state this as an assumption: There exists ∆ > 0 such that for any request q ∼ Q_H, the log-ratio of the harmful distribution to the safe distribution for the desired harmful response is greater than ∆, and similarly for the safe response.
- Interpretationown data
ICD is still effective even against strong adaptive attacks.
“These results evidence that ICD is still effective even against strong adaptive attacks.”
Quote in the paperSubstantial claim - Interpretationreasoning
Since for aligned models λ tends to 0, the term ln 1/(1-λ) may be significantly smaller than ln 1/λ.
“Notably, since for aligned models the λ tends to 0, the term ln 1 1-λ may be significantly smaller than ln 1 λ .”
Quote in the paperSubstantial claim- Rests on an assumption: For aligned models, λ tends to 0.
- Interpretationreasoning
To achieve comparable harmfulness with prompting q in the harmful distribution P_H, it only requires O(ln 1/λ + ln 1/ε) demonstrations.
“This theorem shows that for the queried harmful request q, to achieve comparable harmfulness with prompting the q in the harmful distribution P H , i.e. higher than R P H (q) -ϵ, it only requires O(ln 1 λ + ln 1 ϵ ) demonstrations”
Quote in the paperSubstantial claim - Interpretationreasoning
Given a target harmful request q ∼ Q_H, for ∀ε > 0, by a set of k safe demonstrations D_S where k ≥ 1/∆ (ln 2 + ln 1/(1-λ) + ln 1/ε), it is sufficient to decrease the model's safety risk R_P([D_S, q]) - R_P_S(q) ≤ ε.
“In contrast, by a set of k numbers of safe demonstrations D S where k ≥ 1 ∆ (ln 2 + ln 1 1-λ + ln 1 ϵ ), it's sufficient to decrease the model's safety risk R P ([D S , q]) -R P S (q) ≤ ϵ.”
Quote in the paperSubstantial claim- The authors state this as an assumption: The language model's generation distribution can be decomposed as P = λP_H + (1-λ)P_S, where P_H is the harmful generation distribution, P_S is the safe generation distribution, and λ ∈ (0,1) adjusts their trade-off.
- The authors state this as an assumption: For any request q and its prefix prompt p*, the probability of the request prompt is the same for the harmful and safe distributions: P_H(q|p*) = P_S(q|p*).
- The authors state this as an assumption: A single distribution of P_H or P_S is robust to the context: for any demonstration set d and request q, P_H(a|[d,q]) = P_H(a|q) and P_S(a|[d,q]) = P_S(a|q).
- The authors state this as an assumption: There exists ∆ > 0 such that for any request q ∼ Q_H, the log-ratio of the harmful distribution to the safe distribution for the desired harmful response is greater than ∆, and similarly for the safe response.
- Interpretationreasoning
ICA enjoys universality: the attacker only needs to generate the demonstrations once and apply it to attack the model with different other prompts.
“Universality.To attack different models and harmful prompts, the attacker only needs to generate the demonstrations for the adversarial demonstration set [x 1 , y 1 , x 2 , y 2 , • • • , x k , y k ] once and apply it to attack the model with different other prompts.”
Quote in the paperSubstantial claim - Interpretationown data
Aligned LLMs still have great flexibility to be revoked for certain beneficial or harmful behaviors using a few in-context demonstrations.
“which suggests that aligned LLMs still have great flexibility to be revoked for certain beneficial or harmful behaviors using a few in-context demonstrations.”
Quote in the paperSubstantial claim - Interpretationreasoning
To decrease the risk level of q comparable with the safe distribution, it only requires O(ln 1/(1-λ) + ln 1/ε) demonstrations.
“In contrast, decreasing the risk level of q comparable with the safe distribution, i.e.R P S (q) + ϵ, only requires O(ln 1 1-λ + ln 1 ϵ ) demonstrations.”
Quote in the paperSubstantial claim - Interpretationown data
More harmful demonstrations can further boost the strength of the attack.
“validating that more harmful demonstrations can further boost the strength of the attack.”
Quote in the paperSubstantial claim - Interpretationown data
ICL has a profound influence on LLM behavior.
“Our findings illuminate the profound influence of ICL on LLM behavior, opening new avenues for improving the safety of LLMs.”
Quote in the paperSubstantial claim - Interpretationreasoning
ICA is efficient: it only needs a single forward pass to attack a single prompt.
“Efficiency.Different from optimization-based attack methods like GCG and AutoDAN which require hundreds of forward or backward passes, ICA only needs a single forward pass to attack a single prompt.”
Quote in the paperSubstantial claim - Interpretationown data
In-context demonstrations can manipulate the alignment ability of LLMs for both attack and defense purposes.
“we uncover the power of in-context demonstrations in manipulating the alignment ability of LLMs for both attack and defense purposes by the proposed two techniques: In-Context Attack (ICA) and In-Context Defense (ICD).”
Quote in the paperSubstantial claim - Interpretationnone given
For k ≥ (1/∆)(ln 2 + ln(1/(1-λ)) + ln(1/ε)), the expected risk of prompting with safe demonstrations is at most the expected risk of the safe distribution plus ε.
“Similarly, for k ≥ 1 ∆ ln 2 + ln 1 (1-λ) + ln 1 ϵ , we have R P ([D S , q]) ≤ R P S (q) + ϵ.”
Quote in the paperNot a substantial claim- The authors state this as an assumption: The response to a query in a demonstration depends only on that query, not on previous demonstrations.
- The authors state this as an assumption: The ratio of safe to harmful response probabilities for each demonstration is at most e^{-∆}.
- Interpretationreasoning
For k ≥ (1/∆)(ln 2 + ln(1/λ) + ln(1/ε)), the expected risk of prompting with harmful demonstrations is at least the expected risk of the harmful distribution minus ε.
“For k ≥ 1 ∆ ln 2 + ln 1 λ + ln 1 ϵ , we have R P ([D H , q]) ≥ R P H (q) - 2 λ ( λϵ 2 ) = R P H (q) -ϵ.”
Quote in the paperSubstantial claim- The authors state this as an assumption: The response to a query in a demonstration depends only on that query, not on previous demonstrations.
- The authors state this as an assumption: The ratio of safe to harmful response probabilities for each demonstration is at most e^{-∆}.
- Interpretationreasoning
ICD is still useful in the setting of ICA attack as it can reduce harmfulness with less capacity.
“ICD is still useful in this setting as it can anyway reduce the harmfulness with less capacity.”
Quote in the paperSubstantial claim
- May combine two claims. 11
- Classified as probably not a substantial claim. 6
- The quote only partly states this claim. 1
May combine two claims.
PremisecitationAdversarial Training (AT) is generally considered one of the most effective approaches to defending against conventional adversarial attacks, but the huge amount of parameters and data makes it somewhat impractical and ineffective to conduct AT on LLMs.
“Although Adversarial Training (AT) [29] is generally considered one of the most effective approaches to defending against conventional adversarial attacks [8], the huge amount of parameters and data makes it somewhat impractical and ineffective to conduct AT on LLMs [16]”
Quote in the paperSubstantial claim2 of 3 sources checked- cites [29] Yuan, 2024, GPT-4 is too smart to be safe: Stealthy chat with LLMs via cipher source
Split into 2 atoms — 0 confirmed, 0 partially supported, 0 disputed, 0 misattributed, 2 unverifiable. Expand the claim to see per-atom verdicts.
Experimental — accuracy not yet measured - cites [8] source
Split into 2 atoms — 0 confirmed, 2 partially supported, 0 disputed, 0 misattributed, 0 unverifiable. Expand the claim to see per-atom verdicts.
Experimental — accuracy not yet measured - cites [16] Alon, 2023, Detecting language model attacks with perplexity source
Classified as probably not a substantial claim.
PremisecitationIn-Context Learning (ICL) is a property of LLMs that by prompting a few input-output pairs demonstrating a new task, LLMs can quickly adapt to the new task and give correct answers to new test examples without modifying any model parameters.
“In-Context Learning (ICL) [6] is an intriguing property of LLMs that by prompting a few input-output pairs demonstrating a new task, LLMs can quickly adapt to the new task and give correct answers to new test examples without modifying any model parameters.”
Quote in the paperSubstantial claim1 of 1 sources checked- cites [6] Dai, 2024, Safe RLHF: Safe reinforcement learning from human feedback source
Split into 2 atoms — 0 confirmed, 0 partially supported, 0 disputed, 0 misattributed, 2 unverifiable. Expand the claim to see per-atom verdicts.
Experimental — accuracy not yet measured
May combine two claims.
InterpretationreasoningICA is stealthy: its prompt is in natural language form and cannot be easily detected.
“Stealthy.While adversarial suffix attacks [61,60] may be easily detected with a simple perplexity filter [1,16], the prompt of ICA is thoroughly in a natural language form and cannot be easily detected.”
Quote in the paperSubstantial claim2 of 4 sources checked- cites [61] source
The Introduction discusses safety concerns about manipulated in-context demonstrations, while Section 3 evaluates robustness to noisy labels in a linear-regression task. Neither passage addresses an ICA prompt's natural-language form or whether it is difficult to detect; searches for those claims and for perplexity-filter detection found no supporting passage. Page numbers were unavailable in our copy. (LLM, conf=0.76)
Experimental — accuracy not yet measured - cites [60] source
The Introduction describes in-context learning through demonstration examples, and the Conclusion discusses its relationship to finetuning. Neither addresses ICA prompts, their detectability, or perplexity filters; searches for those terms found no relevant passage in our copy. (LLM, conf=0.77)
Experimental — accuracy not yet measured - cites [1] Anwar, 2024, Foundational challenges in assuring alignment and safety of large language models, Trans. Mach. Learn. Res.
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [16] Alon, 2023, Detecting language model attacks with perplexity source
May combine two claims.
InterpretationreasoningICD is model-agnostic: it only requires the conversation API of the target LLM, not access to model parameters or internal generation logic or system message.
“Model-agnostic.Since ICD only requires the conversation API of the target LLM, it does not need access to the model parameters like perplexity filter [16] or modify the internal generation logic like RAIN [25], and even not need to change the system message like self-reminders [49].”
Quote in the paperSubstantial claim2 of 3 sources checked- cites [16] Alon, 2023, Detecting language model attacks with perplexity source
- cites [25] source
Section 2.2 (page unavailable) describes AutoPrompt’s gradient-based search, which requires access to input embeddings and a backward pass; this supports the contrast with an API-only method. But the cited paper describes AutoPrompt, not a perplexity filter, so it does not support the specific example attached to [16]. (LLM, conf=0.80)
Experimental — accuracy not yet measured - cites [49] source
Section B.3 identifies ICD as an in-context-learning defense, while the ICL Theory section describes self-reminder as using a system prompt and RAIN as using a rewinding decoding scheme. The paper does not state that ICD needs only a conversation API or explicitly rule out access to model parameters, internal generation logic, or the system message. (LLM, conf=0.76)
Experimental — accuracy not yet measured
Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
PremisecitationSelf-reminders propose to incorporate a safe instruction in the prompt to remind the model of being safe, yet also face the limitation of scalability and flexibility.
“Self-reminders [49] propose to incorporate a safe instruction in the prompt to remind the model of being safe, yet also face the limitation of scalability and flexibility.”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites [49] source
The “ICL Theory” section says that Self-reminder adds a system prompt reminding the model to be safe in its reply, supporting the description of the method. Our copy does not attribute limitations in scalability or flexibility to Self-reminder; the passage mentioning flexibility concerns the paper’s theoretical construction instead. (LLM, conf=0.86)
Experimental — accuracy not yet measured
May combine two claims.
Findingown dataSelf-Reminder can reduce the ASRs to a certain degree, but in most cases it remains undesired; Vicuna still has 39% against GCG-T.
“Though Self-Reminder can reduce the ASRs to a certain degree, in most cases it remains undesired like Vicuna still has 39% against GCG-T.”
Quote in the paperSubstantial claimThe quote only partly states this claim.
Findingown data20-shot ICA achieves 65% ASR on GPT-4.
“where the ASRs on GPT-4 can be increased to 81% and 65% on the two datasets, respectfully.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataWithout any defense, the models exhibit fairly high ASR, particularly for the relatively weak Vicuna that achieves about 60% under the two attacks.
“Without any defense, the models exhibit fairly high ASR, particularly for the relatively weak Vicuna that achieves about 60% under the two attacks.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataFor the three 7b-size open-source models, their context windows are relatively limited (4096 tokens) and can only accommodate 15-shot ICA (10-shot for Llama-2 due to its very long system message).
“However, for the three 7b-size open-source models, their context windows are relatively limited (4096 tokens) and can only accommodate 15-shot ICA (10-shot for Llama-2 due to its very long system message)”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataVicuna with 2-shot ICD increases computational overhead by 2%, while GPT cost is less than 1%.
“Vicuna with 2 shots ICD only increases 2% computational overhead, while the cost for GPT is less than 1%.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based).
Premisenone givenThe safety training and fine-tuning of LLMs encourage λ as small as possible to reduce the harmful generation probability.
“Generally, the safety training and fine-tuning of LLMs encourage λ as small as possible to reduce the harmful generation probability.”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationown dataICA performs comparable to or better than existing advanced methods.
“uniformly performing comparable to or better than existing advanced methods”
Quote in the paperSubstantial claimClassified as probably not a substantial claim. May combine two claims.
Premisenone givenOptimization-based attacks often face the efficiency bottleneck, while template-based attacks usually derive fixed jailbreak prompts and lack scalability and flexibility.
“However, optimization-based attacks often face the efficiency bottleneck, while templatebased attacks usually derive fixed jailbreak prompts and lack scalability and flexibility.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Study design and conductreasoningThe evaluation of ICD is fully adaptive.
“During the optimization process of the suffix and prefix, we incorporate the safe demonstrations when responding to the attack query, so the evaluation of ICD is fully adaptive.”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationown dataICD has only negligible influence on natural generation, making it an admissible defense technique against jailbreak attacks.
“we can conclude that ICD has only negligible influence on natural generation, making it an admissible defense technique against jailbreak attacks.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Study design and conductcitationThe same set of rejection strings as AutoDAN is applied.
“We apply the same set of rejection strings as AutoDAN [27]”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites AutoDAN [27]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- The authors state this as an assumption: The response to a query in a demonstration depends only on that query, not on previous demonstrations.
The authors state this as an assumption.
The language model's generation distribution can be decomposed as P = λP_H + (1-λ)P_S, where P_H is the harmful generation distribution, P_S is the safe generation distribution, and λ ∈ (0,1) adjusts their trade-off.
“we assume that P = λP H +(1-λ)P S , where P H is the harmful generation distribution and P S is the safe generation distribution derived from this LLM, and λ ∈ (0, 1) adjusts their trade-off.”
The authors state this as an assumption.
For any request q and its prefix prompt p*, the probability of the request prompt is the same for the harmful and safe distributions: P_H(q|p*) = P_S(q|p*).
“Assumption 4.2 (Independence on requests).For any request ∀q ∼ Q and its prefix prompt p * , we have P H (q|p * ) = P S (q|p * ).”
The authors state this as an assumption.
A single distribution of P_H or P_S is robust to the context: for any demonstration set d and request q, P_H(a|[d,q]) = P_H(a|q) and P_S(a|[d,q]) = P_S(a|q).
“Assumption 4.3 (Robustness of a single distribution).For any demonstration set d and request q, we have P H (a|[d, q]) = P H (a|q) and P S (a|[d, q]) = P S (a|q).”
The authors state this as an assumption.
There exists ∆ > 0 such that for any request q ∼ Q_H, the log-ratio of the harmful distribution to the safe distribution for the desired harmful response is greater than ∆, and similarly for the safe response.
“Assumption 4.4 (Distinguishability between the distributions). There exists ∆ > 0 such that for any request ∀q ∼ Q H , let a H = arg max P H (a|q) be the desired response from the harmful language distribution, then ln P H (a H |q) P S (a H |q) > ∆.”
The paper relies on this without support.
For aligned models, λ tends to 0.
“Notably, since for aligned models the λ tends to 0”
The authors state this as an assumption.
The response to a query in a demonstration depends only on that query, not on previous demonstrations.
“= P S (a k |q k ) P H (a k |q k ) • P S ([q 1 , a 1 , • • • , q k ]) P H ([q 1 , a 1 , • • • , q k ]) (Assumption 4.3)”
The authors state this as an assumption.
The ratio of safe to harmful response probabilities for each demonstration is at most e^{-∆}.
“≤ k i=1 e -∆ (Assumption 4.4)”
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
AutoDAN average ASR does not match its five model results
MinorTable 2 reports AutoDAN ASRs of 66%, 66%, 1%, 47%, and 72% for the five models. Their mean is 50.4%, not the reported 49.2%.
Reported 49.2 · recomputed 50.4
“| Average (↑) | 58.8% | 52.0% | 49.2% | 47.6% 42.6% 46.1% | 59.8% | | |”
Cites
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372 · see citing works
Towards Deep Learning Models Resistant to Adversarial Attacks
Madry, A., Makelov, A., Schmidt, L., Tsipras, D., & Vladu, A. (2017) · arXiv · doi:10.48550/arxiv.1706.06083 · Cited by 6,602 · see citing works
On Assessing ML Model Robustness: A Methodological Framework (Academic Track)
Awadid, A., & Robert, B. (2025) · OASIcs : OpenAccess Series in Informatics · doi:10.4230/oasics.saia.2024.1 · Cited by 4,723 · see citing works
GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding
Wang, A., Singh, A., Michael, J., Hill, F., Levy, O., & Bowman, S. (2018) · Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP · doi:10.18653/v1/w18-5446 · Cited by 4,222 · see citing works
Training Language Models to Follow Instructions with Human Feedback
Ouyang, L., Wu, J., Jiang, X., Almeida, D., Wainwright, C., Mishkin, P., Zhang, C., Agarwal, S., Slama, K., Ray, A., et al. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-2011 · Cited by 3,117 · see citing works
Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methods
Carlini, N., & Wagner, D. (2017) · AISec@CCS · doi:10.1145/3128572.3140444 · Cited by 2,079 · see citing works
Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena
Zheng, L., Chiang, W.-L., Sheng, Y., Zhuang, S., Wu, Z., Zhuang, Y., Lin, Z., Li, Z., Li, D., Xing, E. P., et al. (2023) · arXiv · doi:10.48550/arxiv.2306.05685 · Cited by 1,888 · see citing works
DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning
Guo, D., Yang, D., Zhang, H., Song, J., Wang, P., Zhu, Q., Xu, R., Zhang, R., Ma, S., Bi, X., et al. (2025) · Nature · doi:10.1038/s41586-025-09422-z · Cited by 1,701 · see citing works
Red Teaming Language Models with Language ModelsPreprint
Perez, E., Huang, S., Song, F., Cai, T., Ring, R., Aslanides, J., Glaese, A., McAleese, N., & Irving, G. (2022) · Conference on Empirical Methods in Natural Language Processing · doi:10.48550/arxiv.2202.03286 · Cited by 1,430 · see citing works
AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
Shin, T., Razeghi, Y., Logan IV, R. L., Wallace, E., & Singh, S. (2020) · Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.346 · Cited by 1,279 · see citing works
Self-Instruct: Aligning Language Models with Self-Generated Instructions
Wang, Y., Kordi, Y., Mishra, S., Liu, A., Smith, N. A., Khashabi, D., & Hajishirzi, H. (2023) · Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2023.acl-long.754 · Cited by 1,243 · see citing works
Self-citationA survey on large language model (LLM) security and privacy: The Good, The Bad, and The Ugly
Yao, Y., Duan, J., Xu, K., Cai, Y., Sun, Z., & Zhang, Y. (2024) · High-Confidence Computing · doi:10.1016/j.hcc.2024.100211 · Cited by 1,083 · see citing works
Gemini: A Family of Highly Capable Multimodal Models
Gemini Team, Anil, R., Borgeaud, S., Alayrac, J.-B., Yu, J., Soricut, R., Schalkwyk, J., Dai, A. M., Hauth, A., Millican, K., et al. (2023) · arXiv · doi:10.48550/arxiv.2312.11805 · Cited by 990 · see citing works
Baseline Defenses for Adversarial Attacks Against Aligned Language ModelsPreprint
Jain, N., Schwarzschild, A., Wen, Y., Somepalli, G., Kirchenbauer, J., Chiang, P.-Y., Goldblum, M., Saha, A., Geiping, J., & Goldstein, T. (2023) · arXiv.org · doi:10.48550/arxiv.2309.00614 · Cited by 838 · see citing works
Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?
Min, S., Lyu, X., Holtzman, A., Artetxe, M., Lewis, M., Hajishirzi, H., & Zettlemoyer, L. (2022) · Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2022.emnlp-main.759 · Cited by 755 · see citing works
Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?
Min, S., Lyu, X., Holtzman, A., Artetxe, M., Lewis, M., Hajishirzi, H., & Zettlemoyer, L. (2022) · arXiv · doi:10.48550/arxiv.2202.12837 · Cited by 752 · see citing works
A Survey on In-context Learning
Dong, Q., Li, L., Dai, D., Zheng, C., Ma, J., Li, R., Xia, H., Xu, J., Wu, Z., Chang, B., et al. (2024) · Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2024.emnlp-main.64 · Cited by 649 · see citing works
Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive AttacksPreprint
Andriushchenko, M., Croce, F., & Flammarion, N. (2024) · International Conference on Learning Representations · doi:10.48550/arxiv.2404.02151 · Cited by 602 · see citing works
Jailbreaking Black Box Large Language Models in Twenty Queries
Chao, P., Robey, A., Dobriban, E., Hassani, H., Pappas, G. J., & Wong, E. (2025) · IEEE Conference on Secure and Trustworthy Machine Learning (SaTML) · doi:10.1109/satml64287.2025.00010 · Cited by 523 · see citing works
Jailbreaking Black Box Large Language Models in Twenty Queries
Chao, P., Robey, A., Dobriban, E., Hassani, H., Pappas, G. J., & Wong, E. (2023) · arXiv · doi:10.48550/arxiv.2310.08419 · Cited by 522 · see citing works
Shen, X., Chen, Z., Backes, M., Shen, Y., & Zhang, Y. (2024) · Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3658644.3670388 · Cited by 441 · see citing works
Red Teaming Language Models with Language Models
Perez, E., Huang, S., Song, F., Cai, T., Ring, R., Aslanides, J., Glaese, A., McAleese, N., & Irving, G. (2022) · Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2022.emnlp-main.225 · Cited by 363 · see citing works
LLM Self Defense: By Self Examination, LLMs Know They Are Being TrickedPreprint
Helbling, A., Phute, M., Hull, M., Szyller, S., & Chau, D. H. (2023) · Tiny Papers @ ICLR · doi:10.48550/arxiv.2308.07308 · Cited by 351 · see citing works
Bai, J., Bai, S., Chu, Y., Cui, Z., Dang, K., Deng, X., Fan, Y., Ge, W., Han, Y., Huang, F., et al. (2023) · arXiv · doi:10.48550/arxiv.2309.16609 · Cited by 332 · see citing works
Bai, Y., Kadavath, S., Kundu, S., Askell, A., Kernion, J., Jones, A., Chen, A., Goldie, A., Mirhoseini, A., & Kaplan, J. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2212.08073 · Cited by 326 · see citing works
Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection MethodsPreprint
Carlini, N., & Wagner, D. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1705.07263 · Cited by 323 · see citing works
Active Example Selection for In-Context Learning
Zhang, Y., Feng, S., & Tan, C. (2022) · Conference on Empirical Methods in Natural Language Processing · doi:10.48550/arxiv.2211.04486 · Cited by 300
Jailbroken: How Does LLM Safety Training Fail?
Wei, A., Haghtalab, N., & Steinhardt, J. (2023) · Advances in Neural Information Processing Systems 36 · doi:10.52202/075280-3508 · Cited by 280 · see citing works
A Survey on In-context Learning
Dong, Q., Li, L., Dai, D., Zheng, C., Ma, J., Li, R., Xia, H., Xu, J., Wu, Z., Liu, T., et al. (2023) · arXiv · doi:10.48550/arxiv.2301.00234 · Cited by 248 · see citing works
Defending Against Alignment-Breaking Attacks via Robustly Aligned LLMPreprint
Cao, B.-C., Cao, Y., Lin, L., et al. (2023) · Annual Meeting of the Association for Computational Linguistics · doi:10.48550/arxiv.2309.14348 · Cited by 245 · see citing works
Combating Misinformation in the Age of LLMs: Opportunities and ChallengesPreprint
Chen, C., & Shu, K. (2023) · The AI Magazine · doi:10.48550/arxiv.2311.05656 · Cited by 244 · see citing works
Red-Teaming for Generative AI: Silver Bullet or Security Theater?Preprint
Feffer, M., Sinha, A., Deng, W., Lipton, Z. C., & Heidari, H. (2024) · AAAI/ACM Conference on AI, Ethics, and Society · doi:10.48550/arxiv.2401.15897 · Cited by 186 · see citing works
Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
Mehrotra, A., Zampetakis, M., Kassianik, P., Nelson, B., Anderson, H., Singer, Y., & Karbasi, A. (2023) · arXiv · doi:10.48550/arxiv.2312.02119 · Cited by 183 · see citing works
Defending ChatGPT against jailbreak attack via self-reminders
Xie, Y., Yi, J., Shao, J., Curl, J., Lyu, L., Chen, Q., Xie, X., & Wu, F. (2023) · Nature Machine Intelligence · doi:10.1038/s42256-023-00765-8 · Cited by 158 · see citing works
Why Can GPT Learn In-Context? Language Models Secretly Perform Gradient Descent as Meta-Optimizers
Dai, D., Sun, Y., Dong, L., Hao, Y., Ma, S., Sui, Z., & Wei, F. (2023) · Findings of the Association for Computational Linguistics: ACL 2023 · doi:10.18653/v1/2023.findings-acl.247 · Cited by 154 · see citing works
Visual Adversarial Examples Jailbreak Aligned Large Language Models
Qi, X., Huang, K., Panda, A., Henderson, P., Wang, M., & Mittal, P. (2024) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v38i19.30150 · Cited by 150 · see citing works
Combating misinformation in the age of LLMs: Opportunities and challenges
Chen, C., & Shu, K. (2024) · AI Magazine · doi:10.1002/aaai.12188 · Cited by 148 · see citing works
Jiang, A. Q., Sablayrolles, A., Roux, A., Mensch, A., Savary, B., Bamford, C., Chaplot, D. S., Casas, D. D. L., Hanna, E. B., Bressand, F., et al. (2024) · arXiv · doi:10.48550/arxiv.2401.04088 · Cited by 143 · see citing works
Noisy Channel Language Model Prompting for Few-Shot Text Classification
Min, S., Lewis, M., Hajishirzi, H., & Zettlemoyer, L. (2022) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2022.acl-long.365 · Cited by 142 · see citing works
An Explanation of In-context Learning as Implicit Bayesian Inference
Xie, S. M., Raghunathan, A., Liang, P., & Ma, T. (2021) · arXiv · doi:10.48550/arxiv.2111.02080 · Cited by 138 · see citing works
Active Example Selection for In-Context Learning
Zhang, Y., Shi, F., & Tan, C. (2022) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2022.emnlp-main.622 · Cited by 117 · see citing works
JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models
Chao, P., Debenedetti, E., Robey, A., Andriushchenko, M., Croce, F., Sehwag, V., Dobriban, E., Flammarion, N., Pappas, G., Tramèr, F., et al. (2024) · Advances in Neural Information Processing Systems 37 · doi:10.52202/079017-1745 · Cited by 116 · see citing works
Yang, A., Li, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Gao, C., Huang, C., Lv, C., et al. (2025) · arXiv · doi:10.48550/arxiv.2505.09388 · Cited by 111 · see citing works
Self-citationJailbreaking ChatGPT via Prompt Engineering: An Empirical StudyPreprint
Liu, Y., Deng, G., Xu, Z., Li, Y., Zheng, Y., Zhang, Y., Zhao, L., Zhang, T., Wang, K., & Liu, Y. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2305.13860 · Cited by 109 · see citing works
Zeng, Y., Lin, H., Zhang, J., Yang, D., Jia, R., & Shi, W. (2024) · Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2024.acl-long.773 · Cited by 107 · see citing works
Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
Mehrotra, A., Zampetakis, M., Kassianik, P., et al. (2024) · neural information processing systems · doi:10.52202/079017-1952 · Cited by 96 · see citing works
Varshney, N., Dolin, P., Seth, A., et al. (2023) · Annual Meeting of the Association for Computational Linguistics · doi:10.48550/arxiv.2401.00287 · Cited by 88
Adversarial Demonstration Attacks on Large Language ModelsPreprint
Wang, J.-X., Liu, Z.-C., Park, K. H., Jiang, Z., Zheng, Z.-H., Wu, Z., Chen, M., & Xiao, C. (2023) · arXiv.org · doi:10.48550/arxiv.2305.14950 · Cited by 85 · see citing works
Defending Against Alignment-Breaking Attacks via Robustly Aligned LLM
Cao, B., Cao, Y., Lü, L., & Chen, J. (2024) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2024.acl-long.568 · Cited by 84 · see citing works
Open Sesame! Universal Black-Box Jailbreaking of Large Language Models
Lapid, R., Langberg, R., & Sipper, M. (2024) · Applied Sciences · doi:10.3390/app14167150 · Cited by 73 · see citing works
Wang, X., Zhu, W., Saxon, M., Steyvers, M., & Wang, W. Y. (2023) · neural information processing systems · doi:10.52202/075280-0687 · Cited by 66 · see citing works
Instruction Induction: From Few Examples to Natural Language Task Descriptions
Honovich, O., Shaham, U., Bowman, S. R., & Levy, O. (2023) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2023.acl-long.108 · Cited by 66 · see citing works
Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversations
Inan, H., Upasani, K., Chi, J., Rungta, R., Iyer, K., Mao, Y., Tontchev, M., Hu, Q., Fuller, B., Testuggine, D., et al. (2023) · arXiv · doi:10.48550/arxiv.2312.06674 · Cited by 56 · see citing works
Fundamental Limitations of Alignment in Large Language Models
Wolf, Y., Wies, N., Avnery, O., Levine, Y., & Shashua, A. (2023) · arXiv · doi:10.48550/arxiv.2304.11082 · Cited by 47 · see citing works
On Prompt-Driven Safeguarding for Large Language Models
Zheng, C., Yin, F., Zhou, H., Meng, F., Zhou, J., Chang, K.-W., Huang, M., & Peng, N. (2024) · arXiv · doi:10.48550/arxiv.2401.18018 · Cited by 46
AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language ModelsPreprint
Liu, X., Xu, N., Chen, M., & Xiao, C. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2310.04451 · Cited by 41 · see citing works
SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding
Xu, Z., Jiang, F., Niu, L., Jia, J., Lin, B. Y., & Poovendran, R. (2024) · Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2024.acl-long.303 · Cited by 40 · see citing works
Defending LLMs against Jailbreaking Attacks via Backtranslation
Wang, Y., Shi, Z., Bai, A., & Hsieh, C. (2024) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2024.findings-acl.948 · Cited by 38 · see citing works
Self-citationUniversal Vulnerabilities in Large Language Models: Backdoor Attacks for In-context Learning
Zhao, S., Jia, M., Luu, A. T., et al. (2024) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2024.emnlp-main.642 · Cited by 37 · see citing works
SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks
Robey, A., Wong, E., Hassani, H., & Pappas, G. J. (2023) · arXiv · doi:10.48550/arxiv.2310.03684 · Cited by 37 · see citing works
The Learnability of In-Context Learning
Wies, N., Levine, Y., & Shashua, A. (2023) · Advances in Neural Information Processing Systems 36 · doi:10.52202/075280-1593 · Cited by 36 · see citing works
Safe RLHF: Safe Reinforcement Learning from Human Feedback
Dai, J., Pan, X., Sun, R., Ji, J., Xu, X., Liu, M., Wang, Y., & Yang, Y. (2023) · arXiv · doi:10.48550/arxiv.2310.12773 · Cited by 32 · see citing works
Self-citationExploring Safety Generalization Challenges of Large Language Models via Code
Ren, Q.-B., Gao, C., Shao, J., Yan, J.-C., Tan, X., Qiao, Y., Lam, W., & Ma, L.-Z. (2024) · arXiv.org · doi:10.48550/arxiv.2403.07865 · Cited by 30
Certifying LLM Safety against Adversarial Prompting
Kumar, A., Agarwal, C., Srinivas, S., Li, A. J., Feizi, S., & Lakkaraju, H. (2023) · arXiv · doi:10.48550/arxiv.2309.02705 · Cited by 28 · see citing works
Self-citationHarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
Mazeika, M., Phan, L., Yin, X., Zou, A., Wang, Z., Mu, N., Sakhaee, E., Li, N., Basart, S., Li, B., et al. (2024) · arXiv · doi:10.48550/arxiv.2402.04249 · Cited by 28
Detecting Language Model Attacks with Perplexity
Alon, G., & Kamfonas, M. (2023) · arXiv · doi:10.48550/arxiv.2308.14132 · Cited by 27 · see citing works
Anil, C., Durmus, E., Panickssery, N., Sharma, M., Benton, J., Kundu, S., Batson, J., Tong, M., Mu, J., Ford, D., et al. (2024) · Advances in Neural Information Processing Systems 37 · doi:10.52202/079017-4121 · Cited by 25 · see citing works
Multilingual Jailbreak Challenges in Large Language ModelsPreprint
Deng, Y., Zhang, W., Pan, S. J., et al. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2310.06474 · Cited by 25 · see citing works
CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion
Ren, Q., Gao, C., Shao, J., Yan, J., Tan, X., Lam, W. P., & Ma, L. (2024) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2024.findings-acl.679 · Cited by 22 · see citing works
Low-Resource Languages Jailbreak GPT-4Preprint
Yong, Z.-X., Menghini, C., & Bach, S. H. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2310.02446 · Cited by 21 · see citing works
DeepInception: Hypnotize Large Language Model to Be Jailbreaker
Li, X., Zhou, Z., Zhu, J., Yao, J., Liu, T., & Han, B. (2023) · arXiv · doi:10.48550/arxiv.2311.03191 · Cited by 20 · see citing works
Boosting Jailbreak Attack with Momentum
Zhang, Y., & Wei, Z. (2025) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp49660.2025.10888812 · Cited by 19 · see citing works
Self-citationTricking llms into disobedience: Formalizing, analyzing, and detecting jailbreaks
Rao, A., Vashistha, S., Naik, A., Aditya, S., & Choudhury, M. (2024) · Proceedings of the Language Resources and Evaluation Conference · doi:10.63317/2ivv5y3ufu9y · Cited by 19 · see citing works
Foundational Challenges in Assuring Alignment and Safety of Large Language Models
Anwar, U., Saparov, A., Rando, J., Paleka, D., Turpin, M., Hase, P., Lubana, E. S., Jenner, E., Casper, S., Sourbut, O., et al. (2024) · arXiv · doi:10.48550/arxiv.2404.09932 · Cited by 19 · see citing works
Catastrophic Jailbreak of Open-source LLMs via Exploiting GenerationPreprint
Huang, Y., Gupta, S., Xia, M., Li, K., & Chen, D. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2310.06987 · Cited by 17 · see citing works
Efficient Adversarial Training in LLMs with Continuous Attacks
Xhonneux, S., Sordoni, A., Günnemann, S., Gidel, G., & Schwinn, L. (2024) · neural information processing systems · doi:10.52202/079017-0048 · Cited by 16 · see citing works
BadChain: Backdoor Chain-of-Thought Prompting for Large Language Models
Xiang, Z., Jiang, F., Xiong, Z., Ramasubramanian, B., Poovendran, R., & Li, B. (2024) · arXiv · doi:10.48550/arxiv.2401.12242 · Cited by 15 · see citing works
GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Cipher
Yuan, Y., Jiao, W., Wang, W., Huang, J.-T., He, P., Shi, S., & Tu, Z. (2023) · arXiv · doi:10.48550/arxiv.2308.06463 · Cited by 14 · see citing works
Varshney, N., Dolin, P., Seth, A., & Baral, C. (2024) · Findings of the Association for Computational Linguistics ACL 2024 · doi:10.18653/v1/2024.findings-acl.776 · Cited by 13 · see citing works
$k$NN Prompting: Beyond-Context Learning with Calibration-Free Nearest Neighbor InferencePreprint
Xu, B., Wang, Q., Mao, Z., et al. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2303.13824 · Cited by 12 · see citing works
Exploring the Robustness of In-Context Learning with Noisy Labels
Cheng, C., Yu, X., Wen, H., Sun, J., Yue, G., Zhang, Y., & Wei, Z. (2025) · ICASSP 2025 - 2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · doi:10.1109/icassp49660.2025.10889281 · Cited by 11 · see citing works
Self-citationA Theoretical Understanding of Self-Correction through In-context Alignment
Wang, Y., Wu, Y., Wei, Z., Jegelka, S., & Wang, Y. (2024) · Advances in Neural Information Processing Systems 37 · doi:10.52202/079017-2854 · Cited by 11 · see citing works
Self-citationThe Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learning
Lin, B. Y., Ravichander, A., Lu, X., Dziri, N., Sclar, M., Chandu, K., Bhagavatula, C., & Choi, Y. (2023) · arXiv · doi:10.48550/arxiv.2312.01552 · Cited by 11 · see citing works
Accelerating Greedy Coordinate Gradient via Probe Sampling
(2024) · doi:10.48550/arxiv.2403.01251 · Cited by 10
OR-Bench: An Over-Refusal Benchmark for Large Language ModelsPreprint
Cui, J., Chiang, W.-L., Stoica, I. G., et al. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2405.20947 · Cited by 10 · see citing works
RAIN: Your Language Models Can Align Themselves without FinetuningPreprint
Li, Y., Wei, F., Zhao, J., Zhang, C., & Zhang, H. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2309.07124 · Cited by 9 · see citing works
Open Sesame! Universal Black Box Jailbreaking of Large Language ModelsPreprint
Lapid, R., Langberg, R., & Sipper, M. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2309.01446 · Cited by 9 · see citing works
ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMsPreprint
Jiang, F., Xu, Z., Niu, L., Xiang, Z. J., Ramasubramanian, B., Li, B., & Poovendran, R. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2402.11753 · Cited by 8 · see citing works
Liao, Z., & Sun, H. (2024) · arXiv · doi:10.48550/arxiv.2404.07921 · Cited by 7 · see citing works
A Minimaximalist Approach to Reinforcement Learning from Human FeedbackPreprint
Swamy, G., Dann, C., Kidambi, R., et al. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2401.04056 · Cited by 3 · see citing works
Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMs
Sheshadri, A., Ewart, A., Guo, P., Lynch, A., Wu, C., Hebbar, V., Sleight, H., Stickland, A. C., Perez, E., Hadfield-Menell, D., et al. (2024) · arXiv · doi:10.48550/arxiv.2407.15549 · Cited by 3 · see citing works
Zhang, S., Zhai, Y., Guo, K., Hu, H., Guo, S., Fang, Z., Zhao, L., Shen, C., Wang, C., & Wang, Q. (2025) · arXiv · doi:10.48550/arxiv.2502.07557 · Cited by 1 · see citing works
Aligning language models with human preferencesPreprint
Korbak, T. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2404.12150
AutoJailbreak: Exploring Jailbreak Attacks and Defenses through a Dependency LensPreprint
Lu, L., Yan, H., Yuan, Z., et al. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2406.03805
Towards the Worst-case Robustness of Large Language ModelsPreprint
Chen, H., Dong, Y., Wei, Z., et al. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2501.19040
Self-citationFoundational Challenges in Assuring Alignment and Safety of Large Language Models
Anwar, U., Saparov, A., Rando, J., et al. (2024) · Newcastle University ePrints (Newcastle Univesity) · doi:10.25405/ncl.34525197
AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Models
Zhu, S., Zhang, R., An, B., Wu, G., Barrow, J., Wang, Z., Huang, F., Nenkova, A., & Sun, T. (2023) · arXiv · doi:10.48550/arxiv.2310.15140
Flagged first, then by citations
Research works printed but not linked: 3
- Panda, 2024, LLM improvement for jailbreak defense: Analysis through the lens of over-refusal
- Pang, 2025, Improved few-shot jailbreaking can circumvent aligned language models and their defenses
- Anthropic, 2024, The claude 3 model family: Opus, sonnet, haiku, Claude-3 Model Card, 1
Cited by
Sorted by citations
A survey on large language model (LLM) security and privacy: The Good, The Bad, and The Ugly
Yao, Y., Duan, J., Xu, K., Cai, Y., Sun, Z., & Zhang, Y. (2024) · High-Confidence Computing · doi:10.1016/j.hcc.2024.100211 · Cited by 1,083 · see citing works
“Jin et al. [121] conducted a comprehensive study on LLMs’ understanding of binary code semantics [122] across different architectures and optimization levels, providing key insights for future research in this area.”
BackgroundSteering towards safe self-driving laboratories
Leong, S. X., Griesbach, C. E., Zhang, R., Darvish, K., Zhao, Y., Mandal, A., Zou, Y., Hao, H., Bernales, V., & Aspuru‐Guzik, A. (2025) · Nature Reviews Chemistry · doi:10.1038/s41570-025-00747-x · Cited by 48 · see citing works
“Although LLMs are highly promising for integration into SDLs, they are susceptible to jailbreak attacks 100–102 .”
Know Your Limits: A Survey of Abstention in Large Language Models
Wen, B., Yao, J., Feng, S., Xu, C., Tsvetkov, Y., Howe, B., & Wang, L. L. (2025) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00754 · Cited by 70 · see citing works
Ding, W., Abdel‐Basset, M., Ali, A. M., & Moustafa, N. (2024) · Applied Soft Computing · doi:10.1016/j.asoc.2024.112663 · Cited by 41 · see citing works
PromptShield: Deployable Detection for Prompt Injection Attacks
Jacob, D., Alzahrani, H., Hu, Z., Alomair, B., & Wagner, D. (2024) · ACM Conference on Data and Application Security and Privacy (CODASPY) · doi:10.1145/3714393.3726501 · Cited by 35 · see citing works
“For instance, within the context of the running text summarization example a prompt injection might take the following form (highlighted in red).”
Jailbreak Vision Language Models via Bi-Modal Adversarial Prompt
Ying, Z., Liu, A., Zhang, T., Yu, Z., Liang, S., Liu, X., & Tao, D. (2025) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2025.3583249 · Cited by 29 · see citing works
Boosting Jailbreak Attack with Momentum
Zhang, Y., & Wei, Z. (2025) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp49660.2025.10888812 · Cited by 19 · see citing works
Self-citationExploring the Robustness of In-Context Learning with Noisy Labels
Cheng, C., Yu, X., Wen, H., Sun, J., Yue, G., Zhang, Y., & Wei, Z. (2025) · ICASSP 2025 - 2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · doi:10.1109/icassp49660.2025.10889281 · Cited by 11 · see citing works
“Moreover, recent works [33], [43], [34] also showed that the output of ICL might be significantly manipulated by the label of demonstrations in the prompts, uncovering safety concerns about this prompt form.”
Self-citationDefending Large Language Models Against Jailbreak Attacks Through Chain of Thought Prompting
Cao, Y., Gu, N., Shen, X., Yang, D., & Zhang, X. (2024) · International Conference on Networking and Network Applications (NaNA) · doi:10.1109/nana63151.2024.00028 · Cited by 9 · see citing works
“Besides, Wei et al. [35] propose ICA and ICD methods based on in-context demonstrations, but valid examples for different prompts is a challenge.”
MethodDecomposition, Synthesis, and Attack: A Multi-Instruction Fusion Method for Jailbreaking LLMs
Jiang, S., Chen, X., Xu, K., Chen, L., Ren, H., & Tang, R. (2025) · IEEE Internet of Things Journal · doi:10.1109/jiot.2025.3525741 · Cited by 9 · see citing works
“The other type of methods employs implicit templates to wrap the original harmful prompt into other tasks where LLM exhibits strong instruction-following capabilities but limited safety safeguards [52], [53], [54], [55], [56].”
The Dangerous Effects of a Frustratingly Easy LLMs Jailbreak Attack
Bombieri, M., Ponzetto, S. P., & Rospocher, M. (2025) · IEEE Access · doi:10.1109/access.2025.3589112 · Cited by 5 · see citing works
“Reference [26], for example, incorporates harmful demonstrations that positively respond to toxic requests to the prompt to train the model to produce harmful answers.”
Adversarial Testing of LLMs Across Multiple Languages
Kumar, Y., Paredes, C., Yang, G., et al. (2024) · International Symposium on Networks, Computers and Communications (ISNCC) · doi:10.1109/isncc62547.2024.10758949 · Cited by 5 · see citing works
“This Testing of Large Language Models (LLMs), particularly in the context of jailbreaking, is critical for ensuring their security, robustness, and ethical use [1, 2, 3].”
ArtPerception: ASCII art-based jailbreak on LLMs with recognition pre-test
Yang, G.-Y., Cheng, T.-Y., Teng, Y.-W., Wang, F., & Yeh, K. (2025) · Journal of Network and Computer Applications · doi:10.1016/j.jnca.2025.104356 · Cited by 5 · see citing works
“These models can be manipulated to generate harmful content, expose biases, or leak sensitive information [15–17].”
Episodic Memory in AI Agents Poses Risks that Should be Studied and Mitigated
DeChant, C. (2025) · 2025 IEEE Conference on Secure and Trustworthy Machine Learning (SaTML) · doi:10.1109/satml64287.2025.00024 · Cited by 5 · see citing works
“Several research groups have demonstrated that such few-shot in context learning presents opportunities to undermine or defeat elements of the models’ training which are meant to keep them aligned to particular values such as being harmless [98], [99].”
Zhao, Y., & Zhang, Y. (2025) · Annual Computer Security Applications Conference · doi:10.1109/acsac67867.2025.00095 · Cited by 3 · see citing works
“Other notable approaches include ReNeLLM [17], which constructs nested prompts through techniques such as scenario nesting and prompt rewriting, and In-Context Attack (ICA) [29], which uses harmful in-context examples.”
RAICL-DSC: Retrieval-Augmented In-Context Learning for Dialogue State Correction
Su, H., Xie, H., Shi, J., Wu, D., Jiang, L., Huang, H., He, Z., Li, Y., Fang, R., Zhao, J., et al. (2025) · Knowledge-Based Systems · doi:10.1016/j.knosys.2025.113423 · Cited by 3 · see citing works
Evolving Diverse Red-Team Language Models in Multi-Round Multi-Agent Games
Ma, C.-D., Yang, Z., Ci, H., Gao, J., Gao, M.-Q., Pan, X.-H., & Yang, Y. (2023) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2026.3694367 · Cited by 20 · see citing works
“Baselines focus solely on the optimization of either the blue or red team, optimizing for a best response against a fixed opponent model until convergence.”
AudioJailbreak: Jailbreak Attacks Against End-to-End Large Audio-Language Models
Chen, G., Song, F., Zhao, Z., Jia, X., Liu, Y., Qiao, Y., Zhang, W., Tu, W., Yang, Y., & Du, B. (2026) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2026.3661073 · Cited by 5 · see citing works
“Weevaluatefiveadvancedtextjailbreakattacks:DeepIncep-tion[19],DAN[60],ICA[20],Multilingual[59],andGCG[21], whereGCGisanoptimization-basedattackwithoutpreserving semantics,theotherfouraremanualattackspreservingseman-tics.”
InfluentialAdaPPA: Adaptive Position Pre-Fill Jailbreak Attack Approach Targeting LLMs
Lv, L., Zhang, W., Tang, X., Wen, J., Liu, F., Han, J., & Hu, S. (2025) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp49660.2025.10890715 · Cited by 2 · see citing works
“Distribution-based methods primarily encompass jailbreak templates [6], [27] and contextual examples [13], [28], [29], enabling models to acquire harmful knowledge from prompts and consequently generate harmful information.”
A Review of the Application of Prompt Engineering in the Safety of Large Language Models
Guo, H., Zhang, L., Feng, X., & Zheng, Q. (2024) · International Conference on Information Education and Artificial Intelligence (ICIEAI) · doi:10.1145/3724504.3724574 · Cited by 3 · see citing works
Yi, X., Li, Y., Shi, D., Wang, L., Wang, X., & He, L. (2025) · Expert Systems with Applications · doi:10.1016/j.eswa.2025.129101 · Cited by 4 · see citing works
On the Adversarial Transferability of Generalized “Skip Connections”
Wang, Y., Mo, Y., Wu, D., Li, M., Ma, X., & Lin, Z. (2026) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2026.3666165 · Cited by 2 · see citing works
“Known as “jail-break attacks” [90], [91], [92], these adversarial inputs involve appending seemingly meaningless suffixes to prompts, which can trigger unintended or harmful model behavior.”
Self-citationHijacking Large Language Models via Adversarial In-Context Learning
Zhou, X., Yao, Q., Zade, S. Z., Khanduri, P., & Zhu, D. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-37673-2_13 · Cited by 19 · see citing works
Safeguarding Large Language Models in Real-time with Tunable Safety-Performance Trade-offsPreprint
Fonseca, J., Bell, A. S., & Stoyanovich, J. (2025) · Qeios · doi:10.32388/zcxbc8 · Cited by 2 · see citing works
Reinforcement Learning-powered Effectiveness and Efficiency Few-shot Jailbreaking Attack LLMs
Tang, X., Yao, Z., Wen, J., Dong, Y., Han, J., & Hu, S. (2024) · IEEE International Symposium on Parallel and Distributed Processing with Applications (ISPA) · doi:10.1109/ispa63168.2024.00269 · Cited by 1 · see citing works
“Wei et al. [15] explored the use of few-shot context demonstrations containing harmful responses to bypass the safety alignment mechanisms of language models.”
InfluentialWASP: Benchmarking Web Agent Security Against Prompt Injection Attacks
Evtimov, I., Zharmagambetov, A., Grattafiori, A., Guo, C., & Chaudhuri, K. (2025) · arXiv · doi:10.48550/arxiv.2504.18575 · Cited by 1 · see citing works
“Straightforward approaches include adding instructions to the prompt to alert the model to these attacks (Schulhoff and Yanni, 2023; Yi et al., 2023; Willison, 2023; Wei et al., 2024).”
Evasion Scheme for Intrusion Detection System Based on DemganPreprint
Xu, D., Lv, Y., Zhang, C., et al. (2024) · SSRN Electronic Journal · doi:10.2139/ssrn.4868511
Enhancing Adversarial Attacks: The Similar Target Method
Zhang, S., Wang, Z., Zhou, Z., Liu, J., & Chen, H. (2024) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn60899.2024.10649974
“This issue is particularly pertinent in the context of state-of-the-art large vision-language models like LLaMA and GPT-4 [9], [10].”
BackgroundTeckani, H., -, D. P., & -, H. M. (2025) · International Journal For Multidisciplinary Research · doi:10.36948/ijfmr.2025.v07i01.35371
“…try to override or escape preset safety and ethical constraints, allowing malevolent actors to leverage LLMs for unexpected objectives Attackers evaluate the model’s behavior to determine its limitations and weaknesses, allowing them to design prompts that can evade built-in restrictions[10][15].”
DPC: Large Model Alignment Method based on Decoding Probability Correction
Huang, Y., Liu, Y., Tian, L., Zhang, Y., Zhao, X., Zhou, B., & Ma, G. (2025) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp49660.2025.10890040
Non-Halting Queries: Exploiting Fixed Points in LLMs
Hammouri, G., Derya, K., & Sunar, B. (2025) · IEEE Conference on Secure and Trustworthy Machine Learning (SaTML) · doi:10.1109/satml64287.2025.00009
“For instance, by using carefully crafted prompts, LLMs may be tricked into revealing proprietary information such as training data or application prompts (prompt injection) [1], or to bypass safety filters (jailbreaking) [2]–[5].”
StreamGuard: A Streaming-Based Defense Against Jailbreaking Attacks in Large Language Models
Li, L., Gao, X., Wang, X., Zhao, J., & Ye, K. (2025) · Communications in computer and information science · doi:10.1007/978-981-95-4109-6_21
Investigating Adversarial Trigger Transfer in Large Language Models
Meade, N., Patel, A., & Reddy, S. (2025) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl.a.27 · Cited by 4 · see citing works
MAJD: Intent-Aware Multi-Agent Framework for Jailbreak Defense
Xie, J., Wang, Z., He, J., Jiao, W., Dang, P., Zhou, Y., Zhang, W., & Fan, M. (2025) · Asia-Pacific Software Engineering Conference (APSEC) · doi:10.1109/apsec66846.2025.00086
“Human-designed jailbreaks exploit the tension between instruction-following and safety constraints [11]–[13].”
JADE: Jailbreak-Aware Dynamic Defense Enhancer for LLMs Via Reinforcement Learning
Li, L., Zhao, P., Gao, X., et al. (2025) · IEEE International Conference on Big Data (BigData) · doi:10.1109/bigdata66926.2025.11400893
“• ICD [15]: In-context defense with hand-crafted safe examples.”
Comparative Analysis of LLMs Against Jailbreak Prompts
Sarker, R., Omi, A. T., Rafat, N. W., Rahman, Z., Auvi, F. A., Chakrabarty, A., Fahim-Ul-Islam, M., & Reza, M. T. (2026) · International Conference on Electrical, Computer & Telecommunication Engineering (ICECTE) · doi:10.1109/icecte69292.2026.11429310
S-Eval: Towards Automated Safety Evaluation with Enhancement for Large Language Models
Yuan, X., Li, J., Wang, D., Chen, Y., Mao, X., Huang, L., Chen, J., Xue, H., Liu, X., Wang, W., et al. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3805706
“In-Context Attack (ICA) Add adversarial harmful input-output pairs to the input prompts, inducing LLMs to perform malicious behaviors [64].”
SAFEGEN: Sculpting Representation Space for Safer and Smarter LLMS
Zhang, H., Yu, W., Yuan, Y., et al. (2026) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp55912.2026.11460585
Safety Anchor-Guided Adaptive Bias Decay for Jailbreak Defense
Wang, Z.-K., Yang, X.-H., Zhang, B.-F., & Liu, W.-F. (2026) · IEEE International Conference on Acoustics, Speech, and Signal Processing · doi:10.1109/icassp55912.2026.11463266
Robust In-context Defenses Against Jailbreaking of LLMs via Role Specification
Wakai, Y., Ito, K., & Kashima, H. (2026) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp55912.2026.11464275
Tool-Based Data Segregation: A Prevention Strategy Against Prompt Injection in AI Agents
Guerra, E., Gomes, E., Russo, B., & Meirelles, P. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-39143-8_25
Deng, X., & Cai, R. (2026) · International Conference on Generative Artificial Intelligence and Information Security (GAIIS) · doi:10.1109/gaiis69281.2026.11519321
“Early jailbreak meth-ods used manually crafted templates, often shared on social media [12], [13].”
SecPrompt v2: Protect LLM-Integrated Applications from Adversarial Attack
Zhang, J., Wu, J., Lu, Z., Ma, L., Xie, J., Yang, B., Zhang, W., & Huang, Q. (2026) · Communications in computer and information science · doi:10.1007/978-981-92-3541-4_4
A Multi-Stage Adversarial Framework for Compact and Effective Jailbreaking of Large Language Models
Liu, W. T., Liu, Z. H., Xu, C., Li, C. B., Guo, J., Ma, J., & Huang, F. (2026) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2026.3712350
“…which optimizes adversarial suffix tokens using gradients, and AutoDAN [18], which adopts a hierarchical genetic algorithm to evolve fluent yet effective jailbreak prompts. b) Black-Box Attacks: We include In-Context Attack (ICA) [20], PAIR [23], DeepInception [21], ReNeLLM [26], and DrAttack [36].”
A collaborative multi-agent framework for preference-reversal attacks on LLM-as-a-Judge models
Zhou, Z., Li, X., Dou, W., et al. (2026) · Expert Systems with Applications · doi:10.1016/j.eswa.2026.133992
Semantic Isomorphism Attacks and Defense Evaluation for Jailbreaking Large Language Models
Yang, F., Wang, K., Dou, W., et al. (2026) · IEEE Transactions on Audio Speech and Language Processing · doi:10.1109/taslpro.2026.3727929
“For instance, Wei et al. [33] combine a fine-tuned Llama-13B with string detection to evaluate generated content.”
A Structured Prompt-Based Approach to Evaluating Exploitative Misuse in Generative AI
Savolainen, I., Vestelin, J., Ihalainen, T., Varol, A., & Virkki, J. (2026) · International Conference on Smart and Sustainable Technologies (SpliTech) · doi:10.23919/splitech70133.2026.11685581
“…commercial models (e.g., GPT-class, Claude-class systems) deploy layered safety mechanisms including instruction tuning and post-deployment monitoring, open-source models can be deployed locally with no usage logging and can have safety layers removed or weakened by third parties [2], [6], [9].”
Narváez, A. R., Martinez, M. L. B., Puente, J. B., & Molina, H. B. (2026) · Electronics · doi:10.3390/electronics15194416
Evolving Jailbreak Templates via LLaDA-Based Mutation
Liang, J., & Wang, H. (2026) · International Conference on Data-driven Optimization of Complex Systems (DOCS) · doi:10.1109/docs70981.2026.11698563
“Large Language Models (LLMs) are now widely deployed across practical applications [21], [22], [26].”
Exploring backdoor attack and defense algorithms in LLMS: Enhancing in-context learning security
Zhao, S., Guo, Z., Xiao, L., Nguyen, C.-D. T., Jia, Y., Wu, X., & Tuan, L. A. (2026) · Pattern Recognition · doi:10.1016/j.patcog.2026.115005
AS-SYNERGIC: Orchestrating Synergistic Safety and Availability Attacks on Large Language Models
Liu, Y., Wang, X., Zhang, Z., et al. (2026) · doi:10.1109/ijcnn69854.2026.11729398
“3) Stealthiness σ stealth : Conventional gradient-based attacks often converge to high-gradient, low-probability tokens, producing high-perplexity gibberish [4], [28].”
THE DUAL ROLE OF LARGE LANGUAGE MODELS IN CYBERSECURITY: THREATS, DEFENSES, AND RESEARCH DIRECTIONS
Ali, M., & Manzoor, A. R. (2026) · “ADVANCED JOURNAL OF UNIVERSITY SCIENCE AND CREATIVE INNOVATIONS” AJOU SCI · doi:10.67620/ajousci.240001
- Authors
- Wei, Z., Wang, Y., Li, A., Mo, Y., & Wang, Y.
- Affiliations
- Peking University (CN)
- CSAIL, Massachusetts Institute of Technology, Cambridge, MA, USA
- Venue
- IEEE Transactions on Pattern Analysis and Machine Intelligence
- Published
- 2026-06
- Volume
- 48
- Issue
- 6
- Pages
- 6835-6846
- ISSN
- 0162-8828 (ISSN-L)
- 2160-9292
- 1939-3539
- OpenAlex
- W7127179963
- Cited by
- 51
- References
- 29
- Citations by year
- 2026: 21 · 2025: 21 · 2024: 9
- FWCI
- 72.50
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- IEEE Transactions on Pattern Analysis and Machine Intelligence (publishedVersion)
- PubMed (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- Beijing Natural Science Foundation (QY24035, L257007)
- Beijing Major Science and Technology Project (Z251100008425006)
- National Natural Science Foundation of China (92370129, 62376010)
- Beijing Nova Program (20230484344, 20240484642)
- State Key Laboratory of General Artificial Intelligence
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Hate Speech and Cyberbullying Detection
- Keywords
- jailbreak attacks, large language models, in-context learning, safety alignment, LLM security
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-23.
Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-23.
Cited sources are checked by gpt-6-sol.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review