Scaling Laws for Adversarial Attacks on Language Model Activations
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
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2013Intriguing properties of neural networkscited by 5,114
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2016Deep Learning with Differential Privacycited by 2,682
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
- 2021ImageNet-21K Pretraining for the Massescited by 607
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 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
Built on by
Citing papers per year: 2023: 1; 2024: 9; 2025: 6; 2026: 2.
18 papers.
Sort:
By area:
- 2024ReFT: Representation Finetuning for Language Modelscited by 186
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMscited by 158
- 2024Large Language Model Unlearning via Embedding-Corrupted Promptscited by 112
- 2024Efficient Adversarial Training in LLMs with Continuous Attackscited by 104
- 2024Weak-to-Strong Jailbreaking on Large Language Modelscited by 100
- 2024Defending Against Unforeseen Failure Modes with Latent Adversarial Trainingcited by 82
- 2025Model Tampering Attacks Enable More Rigorous Evaluations of LLM Capabilitiescited by 36
- 2024Test-Time Backdoor Attacks on Multimodal Large Language Modelscited by 35
- 2024Ensemble everything everywhere: Multi-scale aggregation for adversarial robustnesscited by 12
- 2024FLRT: Fluent Student-Teacher Redteamingcited by 9
- 2023Asymmetric Bias in Text-to-Image Generation with Adversarial Attackscited by 5
- 2025Same Question, Different Words: A Latent Adversarial Framework for Prompt Robustnesscited by 5
6 more
- 2025Breach in the Shield: Unveiling the Vulnerabilities of Large Language Modelscited by 4
- 2025Probing the Robustness of Large Language Models Safety to Latent Perturbationscited by 4
- 2025XBreaking: Understanding how LLMs security alignment can be brokencited by 3
- 2025Signal in the Noise: Polysemantic Interference Transfers and Predicts Cross-Model Influencecited by 3
- 2026Systematic Scaling Analysis of Jailbreak Attacks in Large Language Modelscited by 2
- 2026Latent Instruction Representation Alignment: defending against jailbreaks, backdoors and undesired knowledge in LLMscited by 0
- 2026Latent Instruction Representation Alignment: defending against jailbreaks, backdoors and undesired knowledge in LLMs12 Apr 2026
- 2026Systematic Scaling Analysis of Jailbreak Attacks in Large Language Models11 Mar 2026
- 2025Probing the Robustness of Large Language Models Safety to Latent Perturbations19 Jun 2025
- 2025Signal in the Noise: Polysemantic Interference Transfers and Predicts Cross-Model Influence16 May 2025
- 2025XBreaking: Understanding how LLMs security alignment can be broken30 Apr 2025
- 2025Breach in the Shield: Unveiling the Vulnerabilities of Large Language Models28 Mar 2025
- 2025Same Question, Different Words: A Latent Adversarial Framework for Prompt Robustness3 Mar 2025
- 2025Model Tampering Attacks Enable More Rigorous Evaluations of LLM Capabilities3 Feb 2025
- 2024Ensemble everything everywhere: Multi-scale aggregation for adversarial robustness8 Aug 2024
- 2024FLRT: Fluent Student-Teacher Redteaming24 Jul 2024
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMs22 Jul 2024
- 2024Large Language Model Unlearning via Embedding-Corrupted Prompts12 Jun 2024
6 more
- 2024Efficient Adversarial Training in LLMs with Continuous Attacks24 May 2024
- 2024ReFT: Representation Finetuning for Language Models4 Apr 2024
- 2024Defending Against Unforeseen Failure Modes with Latent Adversarial Training8 Mar 2024
- 2024Test-Time Backdoor Attacks on Multimodal Large Language Models13 Feb 2024
- 2024Weak-to-Strong Jailbreaking on Large Language Models30 Jan 2024
- 2023Asymmetric Bias in Text-to-Image Generation with Adversarial Attacks22 Dec 2023
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMscited by 158
- 2024Large Language Model Unlearning via Embedding-Corrupted Promptscited by 112
- 2024Efficient Adversarial Training in LLMs with Continuous Attackscited by 104
- 2024Weak-to-Strong Jailbreaking on Large Language Modelscited by 100
- 2024Defending Against Unforeseen Failure Modes with Latent Adversarial Trainingcited by 82
- 2024FLRT: Fluent Student-Teacher Redteamingcited by 9
- 2023Asymmetric Bias in Text-to-Image Generation with Adversarial Attackscited by 5
- 2026Systematic Scaling Analysis of Jailbreak Attacks in Large Language Modelscited by 2
- 2026Latent Instruction Representation Alignment: defending against jailbreaks, backdoors and undesired knowledge in LLMscited by 0
- 2026Latent Instruction Representation Alignment: defending against jailbreaks, backdoors and undesired knowledge in LLMs12 Apr 2026
- 2026Systematic Scaling Analysis of Jailbreak Attacks in Large Language Models11 Mar 2026
- 2024FLRT: Fluent Student-Teacher Redteaming24 Jul 2024
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMs22 Jul 2024
- 2024Large Language Model Unlearning via Embedding-Corrupted Prompts12 Jun 2024
- 2024Efficient Adversarial Training in LLMs with Continuous Attacks24 May 2024
- 2024Defending Against Unforeseen Failure Modes with Latent Adversarial Training8 Mar 2024
- 2024Weak-to-Strong Jailbreaking on Large Language Models30 Jan 2024
- 2023Asymmetric Bias in Text-to-Image Generation with Adversarial Attacks22 Dec 2023
- 2024ReFT: Representation Finetuning for Language Modelscited by 186
- 2025Model Tampering Attacks Enable More Rigorous Evaluations of LLM Capabilitiescited by 36
- 2024Ensemble everything everywhere: Multi-scale aggregation for adversarial robustnesscited by 12
- 2025Same Question, Different Words: A Latent Adversarial Framework for Prompt Robustnesscited by 5
- 2025XBreaking: Understanding how LLMs security alignment can be brokencited by 3
- 2025Signal in the Noise: Polysemantic Interference Transfers and Predicts Cross-Model Influencecited by 3
- 2025Signal in the Noise: Polysemantic Interference Transfers and Predicts Cross-Model Influence16 May 2025
- 2025XBreaking: Understanding how LLMs security alignment can be broken30 Apr 2025
- 2025Same Question, Different Words: A Latent Adversarial Framework for Prompt Robustness3 Mar 2025
- 2025Model Tampering Attacks Enable More Rigorous Evaluations of LLM Capabilities3 Feb 2025
- 2024Ensemble everything everywhere: Multi-scale aggregation for adversarial robustness8 Aug 2024
- 2024ReFT: Representation Finetuning for Language Models4 Apr 2024