Universal and Transferable Adversarial Attacks on Aligned Language Models
Zou et al., 2023, Universal and Transferable Adversarial Attacks on Aligned Language Models (arXiv preprint arXiv:2307.15043)
Subscriber deck — free during early access
4 cards in “1 Introduction” · whole deck
1 Introduction
- How did earlier jailbreaks differ from the attack of Zou et al.?Earlier jailbreaks were hand-crafted with human ingenuity and brittle, and automatic adversarial prompt search had largely failed on aligned models. Zou et al. automatically optimize an adversarial suffix appended to the user’s request, leaving the request itself unchanged.
- Zou et al., 2023, Universal and Transferable Adversarial Attacks on Aligned Language Models (arXiv preprint arXiv:2307.15043), §1
- Why had automatic adversarial attacks on language models been hard compared with images?Text inputs are discrete tokens, which limits the effective input dimensionality and makes the search combinatorial; gradient methods that work in continuous pixel space don’t apply directly.
- Zou et al., 2023, Universal and Transferable Adversarial Attacks on Aligned Language Models (arXiv preprint arXiv:2307.15043), §1
- What three ingredients combine in the GCG attack?(1) Target an affirmative start of the response (“Sure, here is …”); (2) optimize the suffix with combined greedy and gradient-based discrete search; (3) optimize one suffix over many prompts and several models at once, making it universal and transferable.
- Zou et al., 2023, Universal and Transferable Adversarial Attacks on Aligned Language Models (arXiv preprint arXiv:2307.15043), §1
- What does the success of GCG imply for the alignment agenda, according to Zou et al.?Like adversarial examples in vision, which remain unsolved because defenses are costly, hurt clean performance and cover narrow threat models, attacks on aligned models may persist: post hoc “repair” of models may not suffice.
- Zou et al., 2023, Universal and Transferable Adversarial Attacks on Aligned Language Models (arXiv preprint arXiv:2307.15043), §1
Source
- Andy Zou, Zifan Wang, Nicholas Carlini, Milad Nasr, J. Zico Kolter and Matt Fredrikson. 2023. Universal and Transferable Adversarial Attacks on Aligned Language Models. In arXiv preprint arXiv:2307.15043. https://arxiv.org/abs/2307.15043