arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.18841cs.LGcs.CR
收藏

用推理时计算换取对抗鲁棒性

Trading Inference-Time Compute for Adversarial Robustness

OpenAI(开放人工智能公司)

Wojciech Zaremba, Evgenia Nitishinskaya, Boaz Barak, Stephanie Lin, Sam Toyer, Yaodong Yu, Rachel Dias, Eric Wallace, Kai Xiao, Johannes Heidecke, Amelia Glaese

AI总结:

研究了增加推理时计算对OpenAI o1系列模型对抗鲁棒性的影响,发现无需对抗训练,仅增加推理计算即可显著提升模型对多种攻击的防御能力,并探讨了其局限与新攻击。

摘要:

我们进行了实验,研究在推理模型(具体为OpenAI o1-preview和o1-mini)中增加推理时计算对其对抗攻击鲁棒性的影响。我们发现,在各种攻击下,增加推理时计算能提升鲁棒性。在许多情况下(存在重要例外),随着测试时计算量的增加,攻击成功的模型样本比例趋于零。对于我们研究的任务,我们不进行对抗训练,而是通过简单地允许模型在推理上花费更多计算来增加推理时计算,这与攻击形式无关。我们的结果表明,推理时计算有潜力提升大型语言模型的对抗鲁棒性。我们还探索了针对推理模型的新攻击,以及推理时计算无法提升可靠性的场景,并推测了这些情况的原因及解决方法。

英文摘要:

We conduct experiments on the impact of increasing inference-time compute in reasoning models (specifically OpenAI o1-preview and o1-mini) on their robustness to adversarial attacks. We find that across a variety of attacks, increased inference-time compute leads to improved robustness. In many cases (with important exceptions), the fraction of model samples where the attack succeeds tends to zero as the amount of test-time compute grows. We perform no adversarial training for the tasks we study, and we increase inference-time compute by simply allowing the models to spend more compute on reasoning, independently of the form of attack. Our results suggest that inference-time compute has the potential to improve adversarial robustness for Large Language Models. We also explore new attacks directed at reasoning models, as well as settings where inference-time compute does not improve reliability, and speculate on the reasons for these as well as ways to address them.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑