Skip to content
InfoResearchPreprintLLM-specific

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

Published
Record updated
View JSON

Summary

The paper proposes Target-free Entropy-guided Residual Modulation (TERM), an inference-time defense against jailbreak attacks on LLMs. TERM calibrates attention entropy against each prompt's own prefill baseline and uses adaptive scaling to bound changes to the model's residual updates, without a predefined safety direction. Tested against seven defenses, seven jailbreak attacks and two over-refusal benchmarks on Llama, Qwen and Gemma models (Qwen3 from 0.6B to 32B), it improves jailbreak robustness with low over-refusal and modest inference overhead.