POEM: Output-Relative Block-Sparse Attention for Long-Context Prefilling
On the map: LLM safety and security → Vision-language and text-to-image safety also fits: Jailbreaking
Abstract (arXiv)
Large language models (LLMs) have shown strong capabilities across diverse applications, making both safety and utility essential for reliable deployment. Jailbreak attacks use diverse forms of adversarial prompting to bypass alignment safeguards and induce LLMs to generate harmful responses. Some representation-based defenses regulate internal activations using predefined steering directions or learned safety regions. However, adapting intervention to each input without a predefined representational target while limiting over-refusal remains a challenge. In this paper, we propose Target-free Entropy-guided Residual Modulation (TERM), an inference-time defense that uses prompt-calibrated attention entropy deviations to guide adaptive modulation of the model's own residual updates. Attention patterns vary across prompts and decoding steps, making raw entropy values difficult to interpret as a consistent signal for intervention. We therefore calibrate attention entropy against each prompt's own prefill baseline to establish an input-specific reference for reducing unnecessary intervention on benign requests. Adaptive scale normalization and temporal accumulation then account for differences in deviation scale and persistence to determine intervention strength. The resulting signal controls bounded scaling of the model's own residual updates, without relying on a predefined safety direction. We compare our method with seven defenses on seven jailbreak attacks and two over-refusal benchmarks across Llama, Qwen, and Gemma models, including Qwen3 models from 0.6B to 32B. Results show our method improves jailbreak robustness while maintaining low over-refusal on benign safety-sensitive requests with modest inference overhead.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Vision-language and text-to-image safety, one of 12 directions in LLM safety and security. Builds on 27 of its 45 references that are in the map. Submitted 10 Nov 2026.
Builds on
27 of 45 references.
References · 27
- 2024The Llama 3 Herd of Modelscited by 16,113
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,771
- 2025Qwen3 Technical Reportcited by 9,994
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
- 2019Generating Long Sequences with Sparse Transformerscited by 1,641
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 1,078
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 940
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 798
- 2025The AI Scientist-v2: Workshop-Level Automated Scientific Discovery via Agentic Tree Searchcited by 508
- 2025XAttention: Block Sparse Attention with Antidiagonal Scoringcited by 167
- 2025SpargeAttention: Accurate and Training-free Sparse Attention Accelerating Any Model Inferencecited by 156
15 more
- 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 143
- 2024SeerAttention: Learning Intrinsic Sparse Attention in Your LLMscited by 142
- 2026Gated DeltaNet-2: Decoupling Erase and Write in Linear Attentioncited by 57
- 2024Challenges in Deploying Long-Context Transformers: A Theoretical Peak Performance Analysiscited by 49
- 2025SeerAttention-R: Sparse Attention Adaptation for Long Reasoningcited by 41
- 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 26
- 2024KV-Compress: Paged KV-Cache Compression with Variable Compression Rates per Attention Headcited by 19
- 2026Hierarchical Sparse Attention Done Right: Toward Infinite Context Modelingcited by 19
- 2025CAOTE: KV Cache Selection for LLMs via Attention Output Error-Based Token Evictioncited by 15
- 2026ReST-KV: Robust KV Cache Eviction with Layer-wise Output Reconstruction and Spatial-Temporal Smoothingcited by 11
- 2026Scout Before You Attend: Sketch-and-Walk Sparse Attention for Efficient LLM Inferencecited by 7
- 2025SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM Prefillingcited by 6
- 2026Stem: Rethinking Causal Information Flow in Sparse Attentioncited by 6
- 2026SAS: Simple Attention Sparsification via End-to-End Optimization of Context Rankingcited by 4
- 2025A Unified Sparse Attention via Multi-Granularity Compressioncited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026TERM: Target-Free Jailbreak Defense via Entropy-Guided Residual Modulation
- 2026AttentionSwitch: Jailbreak Defense for LLMs via Joint Learning of Sparse Attention-Head Selection and Scaling
- 2026Silencing the Guardrails: Inference-Time Jailbreaking via Dynamic Contextual Representation Ablation
- 2026Understanding In-Context Multimodal Jailbreaks via Posterior Reweighting
- 2026What Intermediate Layers Know: Detecting Jailbreaks from Entropy Dynamics
- 2025Response Attack: Exploiting Contextual Priming to Jailbreak Large Language Models
- 2024Defending against Jailbreak through Early Exit Generation of Large Language Models
- 2025LatentBreak: Jailbreaking Large Language Models through Latent Space Feedback