The Semantic Gap: LLMs' Core Instruction Confusion
The fundamental vulnerability in LLMs stems from a 'semantic gap' where both system prompts (developer instructions) and user inputs are natural language text. This prevents models from inherently distinguishing between them, leading to all inputs being treated with equal authority and allowing malicious user content to override internal directives.
The top 3
- Top Factor Confusing LLMs: Instructional Distraction: LLMs often misinterpret user input as instructions when the input itself contains directive-like language, a phenomenon called "instructional distraction." This causes models, even advanced ones like GPT-4o, to deviate from the primary task, especially with embedded questions or reasoning tasks.
- LLMs' Core Challenge: Conflating Knowledge & Instructions: A fundamental issue contributing to the semantic gap is LLMs' tendency to conflate general world knowledge acquired during pre-training with specific instruction-following capabilities learned during fine-tuning. Research suggests disentangling these two aspects can significantly improve instruction adherence.
- Why LLMs Fail Multi-Instruction Prompts: The "Curse": The "Curse of Instructions" describes LLMs' significant difficulty in consistently adhering to multiple simultaneous constraints within a single output. This limitation stems from challenges in attention mechanism, working memory, and prioritizing conflicting instructions, exacerbating instruction-input confusion.
Sources
Open the full topic