potentialpaper

Rethinking Inference-Time Safety Alignment via Attention Routing

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:13 UTC · 95dc85b31766 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "UIZ1d4gzGC"
- }
- ],
- "title": "Rethinking Inference-Time Safety Alignment via Attention Routing",
- "authors": [],
- "abstract": "Despite extensive safety alignment, large language models remain vulnerable to jailbreak attacks. Activation steering offers a training-free defense, but conditional steering still needs a reliable signal for deciding $\\textit{when}$ to intervene.\nExisting gates often read residual stream projections, yet jailbreak transformations can move these projections toward the benign regime.\nWe instead examine attention routing at the assistant header, where refusal-related activation concentrates.\nA jailbreak alters how a small set of heads route the preceding context at these tokens, whereas benign and directly harmful prompts exhibit similar routing patterns.\nWe aggregate the signed deviations of these heads from their benign routing pattern into the $\\textbf{Routing Deviation Index}$ (RDI), which captures jailbreak-induced routing changes rather than the surface form of the rewrite or the harmfulness of the underlying request.\nWe build $\\textbf{RISA}$ ($\\textbf{R}$outing-$\\textbf{I}$ndexed $\\textbf{S}$afety $\\textbf{A}$lignment) on this routing measurement.\nIn $\\textit{RISA-D}$, a jailbreak is detected once that deviation passes a threshold set on benign prompts.\nIn $\\textit{RISA-S}$, the excess above that threshold sets the strength of a bounded refusal update, which is applied in a second prefill pass only when the gate is triggered.\nAcross three open-weight aligned chat models and seven jailbreak families, \nRISA-D achieves the highest average detection accuracy on all three models, while RISA-S raises the global mean defense success rate from 40.0\\% to 95.0\\%.\nThe routing signal also remains effective when individual attack families are excluded from calibration.\nThese results suggest that attention routing offers a new perspective on safety alignment at inference time.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "378052e7-3d0a-45a2-b4a0-ed98c3908090"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Rethinking Inference-Time Safety Alignment via Attention Routing",
+ "authors": [],
+ "abstract": "Despite extensive safety alignment, large language models remain vulnerable to jailbreak attacks. Activation steering offers a training-free defense, but conditional steering still needs a reliable signal for deciding $\\textit{when}$ to intervene.\nExisting gates often read residual stream projections, yet jailbreak transformations can move these projections toward the benign regime.\nWe instead examine attention routing at the assistant header, where refusal-related activation concentrates.\nA jailbreak alters how a small set of heads route the preceding context at these tokens, whereas benign and directly harmful prompts exhibit similar routing patterns.\nWe aggregate the signed deviations of these heads from their benign routing pattern into the $\\textbf{Routing Deviation Index}$ (RDI), which captures jailbreak-induced routing changes rather than the surface form of the rewrite or the harmfulness of the underlying request.\nWe build $\\textbf{RISA}$ ($\\textbf{R}$outing-$\\textbf{I}$ndexed $\\textbf{S}$afety $\\textbf{A}$lignment) on this routing measurement.\nIn $\\textit{RISA-D}$, a jailbreak is detected once that deviation passes a threshold set on benign prompts.\nIn $\\textit{RISA-S}$, the excess above that threshold sets the strength of a bounded refusal update, which is applied in a second prefill pass only when the gate is triggered.\nAcross three open-weight aligned chat models and seven jailbreak families, \nRISA-D achieves the highest average detection accuracy on all three models, while RISA-S raises the global mean defense success rate from 40.0\\% to 95.0\\%.\nThe routing signal also remains effective when individual attack families are excluded from calibration.\nThese results suggest that attention routing offers a new perspective on safety alignment at inference time.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}