TL;DR
Decomposition attacks bypass LLM safety guardrails by splitting a harmful task into seemingly innocent subtasks. This paper proves that if an attacker distributes these subtasks across multiple unlinkable identities and pools the answers off-service, stateful defenses fundamentally fail to stop them without blocking massive amounts of legitimate traffic. With just a few retries, adaptive attackers can exploit binary allow/block feedback to achieve a 100% success rate against all tested defenses.
What Problem Does This Paper Address?
Most Large Language Model (LLM) services deploy stateless guardrails to block harmful prompts. If a user asks for a malware script, the guardrail blocks it. To circumvent this, attackers use decomposition attacks: they break the harmful request down into individually benign subtasks (e.g., asking for a specific file-writing function, then an encryption routine).
To counter this, researchers have proposed stateful defenses that monitor a user's request history over time to detect malicious intent composition. But there is a massive catch: what if the attacker distributes these subtasks across entirely different accounts, IP addresses, or API keys, and combines the outputs locally on their own machine?
The authors formalize this challenge by distinguishing between a linkable group (requests the LLM provider can tell come from the same source) and an access coalition (the actual hidden entity pooling the responses off-service).
As illustrated in Figure 1, the service trace looks completely identical whether the requests come from one malicious actor or three completely independent benign users. The paper tackles a fundamental question: Can a stateful defense stop decomposition attacks across unlinkable identities while keeping false positives at an acceptable level?
Methods
The authors approach this problem through both rigorous mathematical modeling and empirical validation:
- The Causal Capability Frontier: They derive an exact symbolic boundary mapping the trade-off between security (Attack Success Rate, or ASR) and utility (Matched-Control Denial, or MCD). They prove that if benign traffic mimics the attacker's behavior (i.e., appearing as fresh, unique identities), a defender cannot distinguish between them without indiscriminately blocking legitimate users.
- Adaptive Attack Modeling: They introduce an active attacker who treats the guardrail as a multi-armed bandit. Using standard reinforcement learning algorithms like Thompson Sampling and UCB1, the attacker uses the service's binary
ALLOWorBLOCKdecisions as a feedback signal to quickly learn which prompt variations and identity profiles successfully evade detection. - Defense Evaluation: They benchmark 10 different defense policies. These range from standard lexical classifiers and commercial guardrails (like IBM's Granite Guardian) to advanced stateful approaches (like TwinGate and embedding clustering). They even evaluate a privileged "steelman" defender (
M9) granted an exact, perfect mapping of requests to underlying capabilities.
Datasets
To rigorously test these defenses, the authors built a highly controlled, executable benchmark consisting of:
- 91 Executable Tasks: Drawn from an initial pool of 500 synthetic cyber-programming tasks. These tasks are strictly refused by commercial models when asked directly, but can be successfully executed when decomposed into 365 distinct operations.
- 11,393 Matched Controls: Legitimate, benign requests engineered to ask for the exact same executable capabilities as the attack subtasks, but set in completely harmless contexts.
- 1.5 Million Background Requests: Sourced from real-world datasets (WildChat, StackExchange, and MS MARCO) to simulate realistic background noise and measure the Background Block Rate (BBR).
Unlike previous benchmarks that rely on subjective text matching, this dataset is fully executable—success is verified only if the generated code passes automated sandbox unit tests.
Key Insights and Ideas
- Capability Recognition $\neq$ Attribution: Knowing what a request does is not the same as knowing where the answer goes. Even if a guardrail perfectly understands that a prompt asks for an encryption function, it cannot determine if that function will be used for a benign backup utility or a ransomware attack.
- The Feedback Loop is a Vulnerability: When a defender blocks a request, it inadvertently hands the attacker a piece of information. Adaptive attackers can map out a defender's stateful boundaries purely by observing binary allow/block outcomes.
- The "Fresh Identity" Loophole: Stateful defense relies entirely on the persistence of recognizable groups. If an LLM service allows users to easily spin up fresh, un-linkable sessions, the mathematical advantage shifts entirely to the attacker.
Key Results
The empirical results paint a stark picture for current LLM defense strategies:
- Total Defense Failure under Utility Budgets: Under a strict utility budget (capping benign matched-control denial at 1% and background blocking at 0.5%), all ten tested defense policies failed to stop the attacks.
- 100% Attack Success with Retries: On task families unseen during defense training, the attacker's success rate was at least 99% after just one retry, and reached a flawless 100% after two attempts.
- Rapid Feedback Learning: Using Thompson Sampling with zero prior knowledge of the defense's inner workings, the adaptive attacker achieved 99.4% ASR simply by learning from allow/block feedback.
- Even Perfect Semantics Fail: Even the privileged
M9policy, which possessed a flawless semantic understanding of every request, suffered a 100% attack success rate at zero utility cost to the attacker when the attacker rotated through fresh identities.
Limitations and Future Work
The authors acknowledge that their benchmark relies on synthetic cyber-programming tasks, which may not fully capture the natural distribution or variety of real-world malicious traffic. Furthermore, their threat model focuses strictly on pre-fill, request-only guardrails to avoid latency overhead, leaving out potential defenses that analyze streaming token outputs in real-time.
The core conclusion of the paper is definitive: text semantics and history tracking alone are structurally insufficient to stop distributed decomposition attacks. The authors suggest that future safety research must pivot away from prompt analysis and toward structural, economic, or cryptographic mitigations. Promising directions include enforcing stricter identity verification, introducing financial or computational costs for creating fresh identities, sandboxing API executions, or implementing scoped authorizations for sensitive capabilities.
Summary updated