Risk Under Pressure: Compute-Aware Evaluation of Adversarial Robustness in Language Models
Abstract
Compute-aware evaluation framework using FLOPs and risk-compute curves reveals non-monotonic effects of alignment training and varying attack costs across different harm categories.
Adversarial robustness evaluations of large language models (LLMs) typically report attack success rate (ASR) under fixed query budgets, implicitly treating all attacks as equally costly. In practice, the computational expense of different attack strategies can vary by orders of magnitude. Consequently, ASR at a fixed budget can obscure the true effort required to jailbreak a model, thereby making it hard to determine whether an attack's cost justifies its payoff to the attacker. We propose a compute-aware evaluation framework based on computational pressure, measured in cumulative floating-point operations (FLOPs), as a proxy for adversarial effort. We introduce risk-compute curves, which map compute budgets to attack risk, and derive two metrics that summarize the average pressure required for a given attack to succeed. Across ten models spanning three families and four different stages in language model training and alignment, evaluated with three attack strategies (gradient-based, iterative refinement, and template-based) on two jailbreak robustness benchmarks, we find: (1) alignment training has non-monotonic effects on compute-space robustness; (2) scaling model size reduces gradient-based attack effectiveness but has limited impact on cheaper template-based attacks; (3) gradient-based attacks optimized on a surrogate model can transfer to a separate target model, providing a way to reduce attacker costs; (4) compute cost varies by up to {approx}5{times} across harm categories within a single model; and (5) safety-aligned RL increases aggregate cost while leaving some categories disproportionately accessible. We release our framework to enable compute-aware risk assessment and evaluation.
Community
Compute-aware jailbreak evaluation framework showing that attack success alone is misleading, and that measuring adversarial effort in FLOPs reveals nuanced tradeoffs between alignment, model scaling, attack transferability, and harm-category-specific robustness.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Black-box, Adaptive, Efficient, Transferable, Harmful, Applicable... Attacks Are All You Need to Break LLMs (2026)
- SoK: Robustness in Large Language Models against Jailbreak Attacks (2026)
- Towards Understanding the Robustness of Sparse Autoencoders (2026)
- CHASE: Adversarial Red-Blue Teaming for Improving LLM Safety using Reinforcement Learning (2026)
- Assessing Automated Prompt Injection Attacks in Agentic Environments (2026)
- Adversarial Reframing: A Framework for Targeted Generation in Language Models (2026)
- Misrouter: Exploiting Routing Mechanisms for Input-Only Attacks on Mixture-of-Experts LLMs (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
This is a really interesting take on adversarial robustness. We usually just look at success rates per query, so shifting the focus to FLOPs as a proxy for the actual effort required to jailbreak a model feels like a much more grounded way to measure real-world risk.
I am curious about the non-monotonic effects of alignment training mentioned here. Does this imply that certain stages of training might actually make a model easier to exploit than others?
I made a podcast on it with ResearchPod, it makes it easy to get the key concepts on the go:
https://researchpod.app/episode/e2f7c39b-2d1e-4be9-a6ff-5c71f202c54a
Get this paper in your agent:
hf papers read 2606.11409 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper