arXiv Machine Learning By Sofiia Nikolenko, Michele Papucci, Mina Rezaei, Shireen Kudukkil Manchingal

What Intermediate Layers Know: Detecting Jailbreaks from Entropy Dynamics

Read the original on arXiv Machine Learning →

arXiv:2606. 25182v1 Announce Type: cross Abstract: Jailbreak attacks reveal a persistent weakness in aligned Large Language Models: carefully crafted prompts can elicit policy-violating responses despite safety training.

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 Machine Learning.

arXiv Computation and Language
Nov 11

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

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.

By Yunkai Dang, Wanyu Zhang, Meiyi Zhu, Qi Fan, Tianyu Ding, Wenbin Li
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