计算机科学 > 机器学习
[提交于 2026年5月4日 (v1),最后修订于 2026年6月8日 (此版本, v2)]
标题:Self-Mined Hardness for Safety Fine-Tuning
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Safety fine-tuning of language models typically requires a curated adversarial dataset. We take a different approach: score each candidate prompt's difficulty by how often the target model's own rollouts are judged harmful, then fine-tune on the hardest prompts paired with the model's own non-jailbroken rollouts. On Llama-3-8B-Instruct and Llama-3.2-3B-Instruct, this approach cuts the WildJailbreak attack success rate from 11.5% and 20.1% down to 1-3%, but pushes refusal on jailbreak-shaped benign prompts from 14-22% to 74-94%. Interleaving the same hard prompts 1:1 with adversarially-framed benign prompts (prompts that look like jailbreaks but have benign intent) cuts that refusal back down to 30-51% on 8B and 52-72% on 3B, at a cost of 2-6 percentage points of attack success rate. Within the mixed regime, training on the hardest half of the eligible pool rather than a random half cuts the remaining ASR by 35-50% (about 3 percentage points) on both models.
提交历史
来自:Prakhar Gupta[v1] 2026年5月4日 星期一 23:30:29 UTC (149 KB)
[v2] 2026年6月8日 星期一 16:31:56 UTC (155 KB)