Documented Exercise · OBS.EX0027
StruQ Structured Query Channel Separation Defense Evaluation
Chen et al. (2024) introduced StruQ, pairing a sanitizing front-end tokenizer with structured instruction-tuning that trains models to obey directives exclusively within designated prompt channels while ignoring instructions inside data channels. Evaluated across optimization-free and optimization-based prompt injections, structured fine-tuning substantially lowered attack success without degrading benign instruction-following quality. The work demonstrated that structural token separation must be reinforced through adversarial data-channel training rather than formatting alone. Teams hosting custom open-weight models can apply structured query tuning to harden RAG and tool-parsing endpoints.
Exercise dossier metadata
- Case ID
OBS.EX0027- Classification
- Exercise
- Date
- Evaluation scope
- Fine-Tuned Open-Weight LLMs · Dual-Channel Prompt/Data Isolation
- Reference URI
https://arxiv.org/abs/2402.06363
Mapped AI security techniques
- Manipulate AI Model: Modify Prompt Construction Logic AML.T0018.003
- LLM Prompt Injection AML.T0051
- LLM Prompt Injection: Indirect AML.T0051.001
Mapped defensive controls
- Generative AI Model Alignment AML.M0022
- Input and Output Validation for AI Agent Components AML.M0033
Source citation records
- StruQ: Defending Against Prompt Injection with Structured Queries · arXiv (author preprint; peer-review status not inferred) ·