mlsanityData to 14 Oct 2026

Why do universal adversarial attacks work on large language models?: Geometry might be the answer

arXiv 2309.00254 ↗First posted 1 Sep 2023cs.LG cs.CL cs.CRcited by 14

Not on the map. Why?

Abstract (arXiv)

Transformer based large language models with emergent capabilities are becoming increasingly ubiquitous in society. However, the task of understanding and interpreting their internal workings, in the context of adversarial attacks, remains largely unsolved. Gradient-based universal adversarial attacks have been shown to be highly effective on large language models and potentially dangerous due to their input-agnostic nature. This work presents a novel geometric perspective explaining universal adversarial attacks on large language models. By attacking the 117M parameter GPT-2 model, we find evidence indicating that universal adversarial triggers could be embedding vectors which merely approximate the semantic information in their adversarial training region. This hypothesis is supported by white-box model analysis comprising dimensionality reduction and similarity measurement of hidden representations. We believe this new geometric perspective on the underlying mechanism driving universal attacks could help us gain deeper insight into the internal workings and failure modes of LLMs, thus enabling their mitigation.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 24 of its 34 references that are in the map. First posted on arXiv 1 Sep 2023.

Builds on

24 of 34 references.

References · 24

  1. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  2. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  4. 2018Deep contextualized word representationscited by 2,290
  5. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  6. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  7. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
  8. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  9. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 953
  10. 2016Universal adversarial perturbationscited by 784
  11. 2021Causal Abstractions of Neural Networkscited by 422
  12. 2019Revealing the Dark Secrets of BERTcited by 301
12 more
  1. 2016Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Taskscited by 216
  2. 2019Visualizing and Measuring the Geometry of BERTcited by 216
  3. 2017What do Neural Machine Translation Models Learn about Morphology?cited by 166
  4. 2019Open Sesame: Getting Inside BERT's Linguistic Knowledgecited by 120
  5. 2020Universal Adversarial Attacks with Natural Triggers for Text Classificationcited by 51
  6. 2020Attention Flows: Analyzing and Comparing Attention Mechanisms in Language Modelscited by 49
  7. 2021BERTnesia: Investigating the capture and forgetting of knowledge in BERTcited by 40
  8. 2022"That Is a Suspicious Reaction!": Interpreting Logits Variation to Detect NLP Adversarial Attackscited by 24
  9. 2017HotFlip: White-Box Adversarial Examples for Text Classificationcited by 13
  10. 2019Adversarial Attacks on Deep Learning Models in Natural Language Processing: A Surveycited by 10
  11. 2021MINIMAL: Mining Models for Data Free Universal Adversarial Triggerscited by 4
  12. 2022Robustness of Explanation Methods for NLP Modelscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 7; 2025: 4; 2026: 2.

14 papers.

Sort:

By area: