arXiv · 2605.01034
A Theoretical Game of Attacks via Compositional Skills
Abstract
As large language models grow increasingly capable, concerns about their safe deployment have intensified. While numerous alignment strategies aim to restrict harmful behavior, these defenses can still be circumvented through carefully designed adversarial prompts. In this work, we introduce a theoretical framework that formalizes a game between an attacker and a defender. Within this framework, we design a theoretical best-response attack strategy and show that it is closely related to many existing adversarial prompting methods. We further analyze the resulting game, characterize its equilibria, and reveal inherent advantages for the attacker. Drawing on our theoretical analysis, we also derive a provably optimal defense strategy. Empirically, we evaluate a practical instantiation of the theoretically optimal attack and observe stronger performance relative to existing adversarial prompting approaches in diverse settings encompassing different LLMs and benchmarks.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Xinbo Wu, Huan Zhang, Abhishek Umrawal, Lav R. Varshney. 2026-05-01. A Theoretical Game of Attacks via Compositional Skills. https://arxiv.org/abs/2605.01034
Cite the original work for its findings. Save a collection to share your selection of sources.