Cross-Batch Interference
Large Language Models (LLMs) deployed using "Batch Prompting" strategies—where multiple distinct user queries are concatenated and processed in a single inference pass to reduce computational costs—are vulnerable to Cross-Query Prompt Injection. When a batch contains a mixture of benign queries and a single malicious query, the instructions within the malicious query (e.g., "apply this rule to every answer") bleed over the context window. This causes the model to apply the adversary's…
Evaluated models: GPT-4o, GPT-4o Mini, Claude 3.5 Sonnet+4 more
- GPT-4o
- GPT-4o Mini
- Claude 3.5 Sonnet
- Llama 3 70B Instruct
- Llama 3.2 3B Instruct
- Qwen 2.5 7B Instruct
- DeepSeek R1