paper-with-me

Papers

Robust Safety Classifier for Large Language Models: Adversarial Prompt Shield

2023-10-31 · JinHwa Kim, Ali Derakhshan, Ian G. Harris

Large Language Models' safety remains a critical concern due to their vulnerability to adversarial attacks, which can prompt these systems to produce harmful responses. In the heart of these systems lies a safety classifier, a computational model trained to discern and mitigate potentially harmful, offensive, or unethical outputs. However, contemporary safety classifiers, despite their potential, often fail when exposed to inputs infused with adversarial noise. In response, our study introduces the Adversarial Prompt Shield (APS), a lightweight model that excels in detection accuracy and demonstrates resilience against adversarial prompts. Additionally, we propose novel strategies for autonomously generating adversarial training datasets, named Bot Adversarial Noisy Dialogue (BAND) datasets. These datasets are designed to fortify the safety classifier's robustness, and we investigate the consequences of incorporating adversarial examples into the training process. Through evaluations involving Large Language Models, we demonstrate that our classifier has the potential to decrease the attack success rate resulting from adversarial attacks by up to 60%. This advancement paves the way for the next generation of more reliable and resilient conversational agents.

📄 PDF Abstract BibTeX arXiv:2311.00172

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Reflect-Guard: Enhancing LLM Safeguards against Adversarial Prompts via Logical Self-Reflection

2026-05-24 · Lixing Lin, Juli You, Yue Li, Luyun Lin 외 arxiv

Large language model (LLM) safety classifiers such as Llama Guard are effective at detecting overtly harmful prompts but remain vulnerable to adversarial jailbreak attacks that disguise malicious intent through role-play…

parameter-efficient fine-tuning

CARES: Comprehensive Evaluation of Safety and Adversarial Robustness in Medical LLMs

2025-05-16 · Sijia Chen, Xiaomin Li, Mengxue Zhang, Eric Hanchen Jiang 외

Large language models (LLMs) are increasingly deployed in medical contexts, raising critical concerns about safety, alignment, and susceptibility to adversarial manipulation. While prior benchmarks assess model refusal c…

Adversarial RobustnessSafety AlignmentSpecificity

Emoji-Based Jailbreaking of Large Language Models

2026-01-02 · M P V S Gopinadh, S Mahaboob Hussain arxiv

Large Language Models (LLMs) are integral to modern AI applications, but their safety alignment mechanisms can be bypassed through adversarial prompt engineering. This study investigates emoji-based jailbreaking, where e…

Prompt Engineering

Query-Based Adversarial Prompt Generation

2024-02-19 · Jonathan Hayase, Ema Borevkovic, Nicholas Carlini, Florian Tramèr 외

Recent work has shown it is possible to construct adversarial examples that cause an aligned language model to emit harmful strings or perform harmful behavior. Existing attacks work either in the white-box setting (with…

Language ModelingLanguage Modelling

Automated Adversarial Discovery for Safety Classifiers

2024-06-24 · Yash Kumar Lal, Preethi Lahoti, Aradhana Sinha, Yao Qin 외

Safety classifiers are critical in mitigating toxicity on online forums such as social media and in chatbots. Still, they continue to be vulnerable to emergent, and often innumerable, adversarial attacks. Traditional aut…

Diversity