On the Inseparability of Instructions and Data in Shared-Embedding Sequence Models
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
Prompt injection is the top security risk for LLM-integrated applications, yet every defense proposed so far has been broken. We prove this is not a coincidence: in shared-embedding architectures that lack enforced control-data separation, perfect prompt-injection prevention is mathematically impossible. We formalize prompted systems as Prompted Action Models whose outputs include control-authoritative actions: refusal decisions, tool authorization, policy routing, and memory writes. We define Semantic-Faithful Control (SFC), the property that such behavior depends only on the meaning of untrusted input, not on how it is encoded. We then prove SFC is unachievable within the shared pipeline, via three results: a provenance-recovery impossibility (shared representations make trusted and untrusted content statistically inseparable, bounded by total variation distance); control-path exposure (untrusted tokens enter control-relevant computation through the same attention value-aggregation that determines outputs); and a finite-coverage invariance gap (finite training cannot certify invariance over infinite semantic-equivalence classes). We ground each quantity in measurements on production tokenizers and models. The result is structural, not a gap in current defenses. It mirrors the code-data confusion in Von Neumann machines that gives rise to buffer overflows, a vulnerability class that took decades of layered defenses (DEP, Write-XOR-Execute, ASLR, stack canaries, and ultimately memory-safe languages) to contain, because no single mechanism sufficed. The implication is the same: prompt injection cannot be eliminated by better in-pipeline classification or alignment alone. It requires architectural separation of instruction and data channels. We identify the root cause and the class of solution it demands.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 14 of its 27 references that are in the map. First posted on arXiv 25 Jun 2026.
Builds on
14 of 27 references.
Closest ancestors · 3
Same direction, newest first
- 2025ASIDE: Architectural Separation of Instructions and Data in Language Models13 Mar
- 2023Formalizing and Benchmarking Prompt Injection Attacks and Defenses19 Oct
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection23 Feb
Other references · 11
- 2017Attention Is All You Needcited by 60,361
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 839
- 2024Improving Alignment and Robustness with Circuit Breakerscited by 322
- 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Ratecited by 125
- 2024Can LLMs Separate Instructions From Data? And What Do We Even Mean By That?cited by 81
- 2021Impossibility Results in AI: A Surveycited by 13
- 2025An Embarrassingly Simple Defense Against LLM Abliteration Attackscited by 13
- 2025A Representation Engineering Perspective on the Effectiveness of Multi-Turn Jailbreakscited by 10
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026LTBD: Learnable Trust-Boundary Delimiters for Prompt Injection Defense
- 2026AgentSecBench: Measuring Prompt Injection, Privacy Leakage, and Tool-Use Integrity in LLM Agents
- 2025DRIP: Defending Prompt Injection via Token-wise Representation Editing and Residual Instruction Fusion
- 2026Protecting Context and Prompts: Deterministic Security for Non-Deterministic AI
- 2023Evaluating the Instruction-Following Robustness of Large Language Models to Prompt Injection
- 2025Can AI Keep a Secret? Contextual Integrity Verification: A Provable Security Architecture for LLMs
- 2025Rule Encoding and Compliance in Large Language Models: An Information-Theoretic Analysis
- 2026The Defense Trilemma: Why Prompt Injection Defense Wrappers Fail?