AttentionSwitch: Jailbreak Defense for LLMs via Joint Learning of Sparse Attention-Head Selection and Scaling
AttentionSwitch is a jailbreak defense that jointly selects attention heads and learns query-conditioned scaling factors within a frozen language model. The researchers report that it outperforms existing defenses across popular models and jailbreak attacks, especially when training data is scarce.
AI-generated summary based on the headline and feed excerpt.
Originally reported by arXiv cs.AI
Read the full story at arXiv cs.AI