arXiv Computation and Language By Yunkai Dang, Wanyu Zhang, Meiyi Zhu, Qi Fan, Tianyu Ding, Wenbin Li

TERM: Target-Free Jailbreak Defense via Entropy-Guided Residual Modulation

Read the original on arXiv Computation and Language →

The paper introduces TERM, a target‑free defense that uses entropy‑guided residual modulation to protect large language models from jailbreak attacks. TERM calibrates attention entropy against each prompt’s baseline, adaptively scales residual updates, and avoids over‑refusal by not relying on predefined safety directions. Experiments on Llama, Qwen, and Gemma models show improved jailbreak robustness with low over‑refusal and modest inference overhead.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Computation and Language.

arXiv Computation and Language
Nov 11

POEM: Output-Relative Block-Sparse Attention for Long-Context Prefilling

The paper introduces TERM, a target‑free, entropy‑guided residual modulation defense that operates at inference time to mitigate jailbreak attacks on large language models. TERM calibrates attention entropy against each prompt’s prefill baseline, adaptively scales residual updates, and avoids over‑refusal by not relying on predefined safety directions. Experiments on Llama, Qwen, and Gemma models demonstrate improved jailbreak robustness with minimal impact on benign requests and modest inference overhead.

By Haoyi Wu, Yunkai Dang, Wanyu Zhang, Lei Wang, Wenbin Li
arXiv Computation and Language
Nov 9

AttentionSwitch: Jailbreak Defense for LLMs via Joint Learning of Sparse Attention-Head Selection and Scaling

AttentionSwitch is a jailbreak defense for large language models that jointly learns which attention heads to intervene on and how to scale them, rather than treating these decisions separately. By selecting a sparse set of attention heads and applying query-conditioned multiplicative scaling, the method can attenuate or amplify head outputs without changing representation directions. Experiments on popular language models and jailbreak attacks show that AttentionSwitch outperforms existing defenses, especially when training data is limited.

By Doniyorkhon Obidov, Honggang Yu, Xiaolong Guo, Kaichen Yang
arXiv AI
Sep 7

AlcaTRAz - Anchored Tree-Rule Defense Against Jailbreaks

AlcaTRAz is a prompt‑level defense that uses rule trees to insert controlled character‑level perturbations into input text, disrupting jailbreak attacks without modifying or retraining the target LLM. It operates solely on the input, making it suitable for black‑box deployments, and was evaluated on 33 open‑weight models and 22 jailbreak types, outperforming three baseline defenses in 73.4 % of model‑attack combinations. While it significantly reduces high‑severity jailbreak success, it does not eliminate it and is intended as one layer of a broader defense strategy.

By Jakub Re\v{s}, Petr Ka\v{s}ka, Martin Pere\v{s}\'ini, Martin Ukrop, Kamil Malinka