paper-with-me

Papers

Human-Interpretable Adversarial Prompt Attack on Large Language Models with Situational Context

2024-07-19 · Nilanjana Das, Edward Raff, Manas Gaur

Previous research on testing the vulnerabilities in Large Language Models (LLMs) using adversarial attacks has primarily focused on nonsensical prompt injections, which are easily detected upon manual or automated review (e.g., via byte entropy). However, the exploration of innocuous human-understandable malicious prompts augmented with adversarial injections remains limited. In this research, we explore converting a nonsensical suffix attack into a sensible prompt via a situation-driven contextual re-writing. This allows us to show suffix conversion without any gradients, using only LLMs to perform the attacks, and thus better understand the scope of possible risks. We combine an independent, meaningful adversarial insertion and situations derived from movies to check if this can trick an LLM. The situations are extracted from the IMDB dataset, and prompts are defined following a few-shot chain-of-thought prompting. Our approach demonstrates that a successful situation-driven attack can be executed on both open-source and proprietary LLMs. We find that across many LLMs, as few as 1 attempt produces an attack and that these attacks transfer between LLMs.

📄 PDF Abstract BibTeX arXiv:2407.14644

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Models

2023-10-23 · Sicheng Zhu, Ruiyi Zhang, Bang An, Gang Wu 외

Safety alignment of Large Language Models (LLMs) can be compromised with manual jailbreak attacks and (automatic) adversarial attacks. Recent studies suggest that defending against these attacks is possible: adversarial …

Adversarial AttackBlockingSafety Alignment

Tensor Trust: Interpretable Prompt Injection Attacks from an Online Game

2023-11-02 · Sam Toyer, Olivia Watkins, Ethan Adrian Mendes, Justin Svegliato 외

While Large Language Models (LLMs) are increasingly being used in real-world applications, they remain vulnerable to prompt injection attacks: malicious third party prompts that subvert the intent of the system designer.…

Instruction Following

Are All Prompt Components Value-Neutral? Understanding the Heterogeneous Adversarial Robustness of Dissected Prompt in Large Language Models

2025-08-03 · Yujia Zheng, Tianhao Li, Haotian Huang, Tianyu Zeng 외 arxiv

Prompt-based adversarial attacks have become an effective means to assess the robustness of large language models (LLMs). However, existing approaches often treat prompts as monolithic text, overlooking their structural …

Adversarial Robustness

ShieldLearner: A New Paradigm for Jailbreak Attack Defense in LLMs

2025-02-16 · Ziyi Ni, Hao Wang, Huacan Wang

Large Language Models (LLMs) have achieved remarkable success in various domains but remain vulnerable to adversarial jailbreak attacks. Existing prompt-defense strategies, including parameter-modifying and parameter-fre…

Adversarial Defense

Fast Adversarial Attacks on Language Models In One GPU Minute

2024-02-23 · Vinu Sankar Sadasivan, Shoumik Saha, Gaurang Sriramanan, Priyatham Kattakinda 외

In this paper, we introduce a novel class of fast, beam search-based adversarial attack (BEAST) for Language Models (LMs). BEAST employs interpretable parameters, enabling attackers to balance between attack speed, succe…

Adversarial AttackComputational EfficiencyGPU