Signals 4 · free daily AI digest

Heads of Security: Learned Attention Gates Improve Prompt Injection Robustness

Paper recorded by Signals 4 on 2026-10-27 in cs.LG. Abstract reproduced from arXiv; link to the original below.

Published 2026-10-27 on arXiv · recorded by Signals 4 on 2026-10-28

Category: cs.LG · 机器学习 · first seen 2026-10-28

Abstract

We introduce Heads of Security (HoS), a prompt injection defense that enforces instruction-data separation via a small set of learned per-head attention gates. HoS learns how each head should redistribute attention between trusted and untrusted tokens, enabling models to reason over untrusted content without following injected instructions. We evaluate HoS on Llama-3.3-70B-Instruct and GPT-OSS-20B

Read on arXiv →

#138 most recent of 737 cs.LG papers we have recorded · ↑ newer: When Should We Intervene at Test Time? · ↓ older: Pushing Dexterity and Safety for In-Hand Object Pose Reaching That Wor
Cite this page: Heads of Security: Learned Attention Gates Improve Prompt Injection Robustness: the #138 most recent of 737 cs.LG papers we have recorded (as of 2026-10-27). Source: Signals 4 (Signals API) — https://data.jiangzhang.ca/signals4/t/papers/heads-of-security-learned-attention-gates-improve-prompt-injection-robustness.html
Free to quote with attribution to “Signals 4 (Signals API)”. Machine-readable: papers.json
Related: More cs.LG papers · arXiv signals · All papers · Today in AI
Get 4 AI signals a day by email — free.
Subscribe free → See all plans →
Get 4 AI signals a day by email — free
All models · All repos · By company · Daily editions