Learned attention gates separate instructions from data to resist prompt injection
Researchers propose Heads of Security (HoS), which adds small learned per-head attention gates to enforce instruction–data separation. Tested on Llama-3.3-70B-Instruct and GPT-OSS-20B, it is compared with SecAlign++ and ASIDE, with the aim of reasoning over untrusted text without obeying injected i…
Read the full story at DEV Community — Machine Learning ↗
Timeline · 1 report
- 2026-10-29 06:59 · DEV Community — Machine Learning
Learned attention gates separate instructions from data to resist prompt injection