Why LLMs Architecturally Conflate Instructions and Data

Large Language Models inherently process all input—including system prompts, user queries, and external data—as undifferentiated token sequences within a single context window. This fundamental design, rooted in their autoregressive nature and instruction-following training, prevents them from architecturally distinguishing between commands and passive content.

The top 3

  1. LLMs vs. Von Neumann: Why Instructions & Data Conflate: Unlike traditional Von Neumann architecture that strictly separates program instructions and data, LLMs process all input—system prompts, user messages, and retrieved documents—as undifferentiated tokens within a single context window. This fundamental design choice means there's no architectural distinction between 'instruction tokens' and 'data tokens,' allowing both to equally influence the model's behavior.
  2. Transformer's Unified Token Stream: The Conflation Core: The Transformer architecture, foundational to most LLMs, processes all input as a continuous stream of tokens, without inherent mechanisms to distinguish between instructions and data. This unified approach means that a malicious instruction embedded within seemingly benign data can be interpreted and executed by the model, as both equally contribute to the statistical patterns the model uses to predict the next token.
  3. LLM's Poor Instruction-Data Separation: Quantified Risk: Empirical studies reveal that current LLMs consistently exhibit poor instruction-data separation, with models like GPT-4 scoring as low as 0.225 (on a scale where 1.0 is perfect separation). This fundamental flaw makes them highly vulnerable to indirect prompt injection attacks, where malicious instructions hidden in data can hijack model behavior, and even prompt engineering or fine-tuning offer limited improvements without sacrificing utility.

Sources

Open the full topic