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

Inspect OBS.EX0028 in Interactive Incidents & Cases Hub

Mapped AI security techniques

Mapped defensive controls

Source citation records