paper-with-me

홈 › Papers

Stochastic Monkeys at Play: Random Augmentations Cheaply Break LLM Safety Alignment

2024-11-05 · Jason Vega, Junsheng Huang, Gaokai Zhang, Hangoo Kang, Minjia Zhang, Gagandeep Singh

Safety alignment of Large Language Models (LLMs) has recently become a critical objective of model developers. In response, a growing body of work has been investigating how safety alignment can be bypassed through various jailbreaking methods, such as adversarial attacks. However, these jailbreak methods can be rather costly or involve a non-trivial amount of creativity and effort, introducing the assumption that malicious users are high-resource or sophisticated. In this paper, we study how simple random augmentations to the input prompt affect safety alignment effectiveness in state-of-the-art LLMs, such as Llama 3 and Qwen 2. We perform an in-depth evaluation of 17 different models and investigate the intersection of safety under random augmentations with multiple dimensions: augmentation type, model size, quantization, fine-tuning-based defenses, and decoding strategies (e.g., sampling temperature). We show that low-resource and unsophisticated attackers, i.e. $\textit{stochastic monkeys}$, can significantly improve their chances of bypassing alignment with just 25 random augmentations per prompt. Source code and data: https://github.com/uiuc-focal-lab/stochastic-monkeys/

📄 PDF Abstract BibTeX arXiv:2411.02785

Code (1)

uiuc-focal-lab/stochastic-monkeys 공식 구현

Tasks

QuantizationSafety Alignment

Methods 이 논문이 사용한 방법론

LLaMA LLaMA is a collection of foundation language models ranging from 7B to 65B parameters. It is based on the transformer architecture with various improvements that were…

Similar Papers 제목 키워드 기반

Dealing with the Evil Twins: Improving Random Augmentation by Addressing Catastrophic Forgetting of Diverse Augmentations

2025-06-09 · Dongkyu Cho, Rumi Chunara

Data augmentation is a promising tool for enhancing out-of-distribution generalization, where the key is to produce diverse, challenging variations of the source domain via costly targeted augmentations that maximize its…

Data AugmentationDomain GeneralizationOut-of-Distribution GeneralizationSingle-Source Domain Generalization

Self-Attention in Transformer Networks Explains Monkeys' Gaze Pattern in Pac-Man Game

2024-06-20 · Zhongqiao Lin, Yunwei Li, Tianming Yang

We proactively direct our eyes and attention to collect information during problem solving and decision making. Understanding gaze patterns is crucial for gaining insights into the computation underlying the problem-solv…

Decision Making

Challenges of Adversarial Image Augmentations

2021-11-24 · NeurIPS Workshop ICBINB 2021 12 · Arno Blaas, Xavier Suau, Jason Ramapuram, Nicholas Apostoloff 외

Image augmentations applied during training are crucial for the generalization performance of image classifiers. Therefore, a large body of research has focused on finding the optimal augmentation policy for a given task…

Amortized variance reduction for doubly stochastic objectives

2020-03-09 · Ayman Boustati, Sattar Vakili, James Hensman, ST John

Approximate inference in complex probabilistic models such as deep Gaussian processes requires the optimisation of doubly stochastic objective functions. These objectives incorporate randomness both from mini-batch subsa…

Gaussian Processes

RADE: Random Add-Drop Edge as a Regularizer

2026-05-30 · Danial Saber, Amirali Salehi-Abari arxiv

Graph Neural Networks (GNNs) suffer from overfitting and over-squashing of long-range information. Stochastic graph augmentations (e.g., edge deletion) regularize training against overfitting but can introduce train-infe…