paper-with-me

홈 › Papers

Baseline Defenses for Adversarial Attacks Against Aligned Language Models

2023-09-01 · Neel Jain, Avi Schwarzschild, Yuxin Wen, Gowthami Somepalli, John Kirchenbauer, Ping-Yeh Chiang, Micah Goldblum, Aniruddha Saha, Jonas Geiping, Tom Goldstein

As Large Language Models quickly become ubiquitous, it becomes critical to understand their security vulnerabilities. Recent work shows that text optimizers can produce jailbreaking prompts that bypass moderation and alignment. Drawing from the rich body of work on adversarial machine learning, we approach these attacks with three questions: What threat models are practically useful in this domain? How do baseline defense techniques perform in this new domain? How does LLM security differ from computer vision? We evaluate several baseline defense strategies against leading adversarial attacks on LLMs, discussing the various settings in which each is feasible and effective. Particularly, we look at three types of defenses: detection (perplexity based), input preprocessing (paraphrase and retokenization), and adversarial training. We discuss white-box and gray-box settings and discuss the robustness-performance trade-off for each of the defenses considered. We find that the weakness of existing discrete optimizers for text, combined with the relatively high costs of optimization, makes standard adaptive attacks more challenging for LLMs. Future research will be needed to uncover whether more powerful optimizers can be developed, or whether the strength of filtering and preprocessing defenses is greater in the LLMs domain than it has been in computer vision.

📄 PDF Abstract BibTeX arXiv:2309.00614

Code (1)

neelsjain/baseline-defenses pytorch

Similar Papers 제목 키워드 기반

Mel Frequency Spectral Domain Defenses against Adversarial Attacks on Speech Recognition Systems

2022-03-29 · Nicholas Mehlman, Anirudh Sreeram, Raghuveer Peri, Shrikanth Narayanan

A variety of recent works have looked into defenses for deep neural networks against adversarial attacks particularly within the image processing domain. Speech processing applications such as automatic speech recognitio…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)speech-recognitionSpeech Recognition

Study of Pre-processing Defenses against Adversarial Attacks on State-of-the-art Speaker Recognition Systems

2021-01-22 · Sonal Joshi, Jesús Villalba, Piotr Żelasko, Laureano Moro-Velázquez 외

Adversarial examples to speaker recognition (SR) systems are generated by adding a carefully crafted noise to the speech signal to make the system fail while being imperceptible to humans. Such attacks pose severe securi…

Speaker Recognition

Fighting Gradients with Gradients: Dynamic Defenses against Adversarial Attacks

2021-05-18 · NeurIPS 2021 12 · Dequan Wang, An Ju, Evan Shelhamer, David Wagner 외

Adversarial attacks optimize against models to defeat defenses. Existing defenses are static, and stay the same once trained, even while attacks change. We argue that models should fight back, and optimize their defenses…

Beyond Waveform Robustness: Robust Feature-Vocoder Adversarial Attacks on Automatic Speech Recognition

2026-06-04 · Yifan Liao, Zongmin Zhang, Zhen Sun, Yuhui Sun 외 arxiv

Automatic speech recognition (ASR) systems have become widely used for multilingual speech-to-text transcription. Their robustness to adversarial attacks has become an important topic for the community. Existing adversar…

Self-Supervised LearningSpeech Recognition

Defense against Adversarial Attacks on Hybrid Speech Recognition using Joint Adversarial Fine-tuning with Denoiser

2022-04-08 · Sonal Joshi, Saurabh Kataria, Yiwen Shao, Piotr Zelasko 외

Adversarial attacks are a threat to automatic speech recognition (ASR) systems, and it becomes imperative to propose defenses to protect them. In this paper, we perform experiments to show that K2 conformer hybrid ASR is…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)speech-recognitionSpeech Recognition