Documented Exercise · OBS.EX0028
SecAlign Preference Optimization Against Unknown Prompt Injections
Chen et al. (2024) constructed paired preference datasets contrasting legitimate task completions against injected-instruction completions to align models via SecAlign preference optimization. Across sophisticated unseen prompt injections, SecAlign reduced attack success rates below 10% while keeping general helpfulness comparable to undefended baselines. The evaluation showed that explicitly penalizing obedience to data-borne directives during preference optimization generalizes beyond attack patterns seen during training. Preference-based alignment complements deterministic tool sandboxing by shrinking the residual injection surface at the model layer.
Exercise dossier metadata
- Case ID
OBS.EX0028- Classification
- Exercise
- Date
- Evaluation scope
- Instruction-Tuned LLMs · Direct Preference Optimization Defense
- Reference URI
https://arxiv.org/abs/2410.05451
Mapped AI security techniques
- 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
- SecAlign: Defending Against Prompt Injection with Preference Optimization · arXiv (author preprint; peer-review status not inferred) ·