Semantic Overlays: Mitigating Prompt Injection with Annotations Beyond Tokens and Steering Vectors

arXiv:2608.23873 · cs.AI, cs.CL, cs.CR, cs.LG · Submitted 2026-08-24 · Read on arXiv

cs.AI, cs.CL, cs.CR, cs.LG

Submitted: 2026-08-24

Updated: 2026-09-03

Comments: 21 pages, 4 figures, 13 tables. Interactive demo: https://semantic-overlays.vercel.app. Code and released adapters: https://github.com/JoshuaSP/semantic-overlays

Code: https://github.com/JoshuaSP/semantic-overlays

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Terminology

Sources

Related papers