mlsanityData to 7 Oct 2026

Scaling Laws for Adversarial Attacks on Language Model Activations

arXiv 2312.02780 ↗First posted 5 Dec 2023cs.LG cs.CL cs.CRcited by 18

Not on the map. Why?

Abstract (arXiv)

We explore a class of adversarial attacks targeting the activations of language models. By manipulating a relatively small subset of model activations, a, we demonstrate the ability to control the exact prediction of a significant number (in some cases up to 1000) of subsequent tokens t. We empirically verify a scaling law where the maximum number of target tokens tmax predicted depends linearly on the number of tokens a whose activations the attacker controls as tmax = kappa a. We find that the number of bits of control in the input space needed to control a single bit in the output space (what we call attack resistance chi) is remarkably constant between ≈ 16 and ≈ 25 over 2 orders of magnitude of model sizes for different language models. Compared to attacks on tokens, attacks on activations are predictably much stronger, however, we identify a surprising regularity where one bit of input steered either via activations or via tokens is able to exert control over a similar amount of output bits. This gives support for the hypothesis that adversarial attacks are a consequence of dimensionality mismatch between the input and output spaces. A practical implication of the ease of attacking language model activations instead of tokens is for multi-modal and selected retrieval models, where additional data sources are added as activations directly, sidestepping the tokenized input. This opens up a new, broad attack surface. By using language models as a controllable test-bed to study adversarial attacks, we were able to experiment with input-output dimensions that are inaccessible in computer vision, especially where the output dimension dominates.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 13 of its 27 references that are in the map. First posted on arXiv 5 Dec 2023.

Builds on

13 of 27 references.

References · 13

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  3. 2020Scaling Laws for Neural Language Modelscited by 6,411
  4. 2013Intriguing properties of neural networkscited by 5,114
  5. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  6. 2016Deep Learning with Differential Privacycited by 2,682
  7. 2021Improving language models by retrieving from trillions of tokenscited by 1,278
  8. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
  9. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  10. 2021ImageNet-21K Pretraining for the Massescited by 607
  11. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  12. 2022What does a deep neural network confidently perceive? The effective dimension of high certainty class manifolds and their low confidence boundariescited by 5
1 more
  1. 2023Multi-attacks: Many images + the same adversarial attack → many target labelscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 9; 2025: 6; 2026: 2.

18 papers.

Sort:

By area:

  1. 2024ReFT: Representation Finetuning for Language Modelscited by 186
  2. 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMscited by 158
  3. 2024Large Language Model Unlearning via Embedding-Corrupted Promptscited by 112
  4. 2024Efficient Adversarial Training in LLMs with Continuous Attackscited by 104
  5. 2024Weak-to-Strong Jailbreaking on Large Language Modelscited by 100
  6. 2024Defending Against Unforeseen Failure Modes with Latent Adversarial Trainingcited by 82
  7. 2025Model Tampering Attacks Enable More Rigorous Evaluations of LLM Capabilitiescited by 36
  8. 2024Test-Time Backdoor Attacks on Multimodal Large Language Modelscited by 35
  9. 2024Ensemble everything everywhere: Multi-scale aggregation for adversarial robustnesscited by 12
  10. 2024FLRT: Fluent Student-Teacher Redteamingcited by 9
  11. 2023Asymmetric Bias in Text-to-Image Generation with Adversarial Attackscited by 5
  12. 2025Same Question, Different Words: A Latent Adversarial Framework for Prompt Robustnesscited by 5
6 more
  1. 2025Breach in the Shield: Unveiling the Vulnerabilities of Large Language Modelscited by 4
  2. 2025Probing the Robustness of Large Language Models Safety to Latent Perturbationscited by 4
  3. 2025XBreaking: Understanding how LLMs security alignment can be brokencited by 3
  4. 2025Signal in the Noise: Polysemantic Interference Transfers and Predicts Cross-Model Influencecited by 3
  5. 2026Systematic Scaling Analysis of Jailbreak Attacks in Large Language Modelscited by 2
  6. 2026Latent Instruction Representation Alignment: defending against jailbreaks, backdoors and undesired knowledge in LLMscited by 0