Documented Exercise · OBS.EX0040
AttentionSwitch Sparse Attention-Head Defense Evaluation
Obidov et al. (2026) introduced AttentionSwitch, the first jailbreak defense to jointly optimize both intervention site selection and query-conditioned multiplicative scaling across sparse attention heads inside a frozen LLM without altering representation directions. Evaluated across popular open-weight language models and diverse jailbreak families, AttentionSwitch outperformed decoupled sequential intervention baselines with particularly strong gains under scarce training data while avoiding catastrophic forgetting from full fine-tuning. Jointly tuning where and how strongly to damp or amplify attention heads closes jailbreak pathways at low compute cost. Inference-time attention modulation offers a lightweight protective layer for hosted open-weight models.
Exercise dossier metadata
- Case ID
OBS.EX0040- Classification
- Exercise
- Date
- Evaluation scope
- Open-Weight LLMs · Joint Sparse Attention-Head Selection & Scaling
- Reference URI
https://arxiv.org/abs/2611.08752
Mapped AI security techniques
- LLM Prompt Injection AML.T0051
- LLM Jailbreak AML.T0054
Mapped defensive controls
- Generative AI Guardrails AML.M0020
- Generative AI Model Alignment AML.M0022
Source citation records
- AttentionSwitch: Jailbreak Defense for LLMs via Joint Learning of Sparse Attention-Head Selection and Scaling · arXiv (author preprint; peer-review status not inferred) ·