mlsanityData to 7 Oct 2026

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

arXiv 2411.02785 ↗First posted 5 Nov 2024cs.LG cs.AIcited by 5

On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks

also in 1 more
Abstract (arXiv)

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. textitstochastic 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/

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 32 of its 38 references that are in the map. First posted on arXiv 5 Nov 2024.

Builds on

32 of 38 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal20 Jun
  2. 2024Defending Large Language Models against Jailbreak Attacks via Semantic Smoothing25 Feb
  3. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul

Other references · 29

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  6. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  8. 2023Mistral 7Bcited by 3,065
  9. 2024Qwen2 Technical Reportcited by 2,076
  10. 2020Shortcut Learning in Deep Neural Networkscited by 1,928
  11. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
  12. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
17 more
  1. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
  2. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
  3. 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 800
  4. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
  5. 2021A White Paper on Neural Network Quantizationcited by 453
  6. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 439
  7. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 434
  8. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
  9. 2018On the Effectiveness of Interval Bound Propagation for Training Verifiably Robust Modelscited by 322
  10. 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 304
  11. 2023Certifying LLM Safety against Adversarial Promptingcited by 248
  12. 2024Does Refusal Training in LLMs Generalize to the Past Tense?cited by 74
  13. 2019Training on Synthetic Noise Improves Robustness to Natural Noise in Machine Translationcited by 52
  14. 2023Bypassing the Safety Training of Open-Source LLMs with Priming Attackscited by 48
  15. 2023JailGuard: A Universal Detection Framework for LLM Prompt-based Attackscited by 46
  16. 2017How Robust Are Character-Based Word Embeddings in Tagging and MT Against Wrod Scramlbing or Randdm Nouse?cited by 23
  17. 2021Interpreting the Robustness of Neural NLP Models to Textual Perturbationscited by 17

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep
  2. 2025Targeting Alignment: Extracting Safety Classifiers of Aligned LLMs
  3. 2026Understanding the Effects of Safety Unalignment on Large Language Models
  4. 2025Scaling Patterns in Adversarial Alignment: Evidence from Multi-LLM Jailbreak Experiments
  5. 2026Safety Is Not Universal: The Selective Safety Trap in LLM Alignment
  6. 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks
  7. 2024Mission Impossible: A Statistical Perspective on Jailbreaking LLMs
  8. 2025Improving LLM Safety Alignment with Dual-Objective Optimization