arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.15974cs.AI
收藏

更多的推理时计算真的有助于鲁棒性吗?

Does More Inference-Time Compute Really Help Robustness?

Princeton University(普林斯顿大学);NVIDIA(NVIDIA公司);Carnegie Mellon University(卡内基梅隆大学);Google DeepMind(谷歌DeepMind)

Tong Wu, Chong Xiang, Jiachen T. Wang, Weichen Yu, Chawin Sitawarin, Vikash Sehwag, Prateek Mittal

AI总结:

本文研究推理时计算对模型鲁棒性的影响,发现开源小模型也能受益,但若中间推理步骤暴露给攻击者,增加推理时计算反而会持续降低鲁棒性,提示安全敏感场景需谨慎权衡。

摘要:

最近,Zaremba 等人证明,在大规模专有推理大语言模型(LLM)中,增加推理时计算可以提升鲁棒性。在本文中,我们首先表明,较小规模的开源模型(例如 DeepSeek R1、Qwen3、Phi-reasoning)也可以通过一种简单的预算强制策略从推理时扩展中获益。更重要的是,我们揭示并批判性地审视了先前工作中一个隐含假设:中间推理步骤对攻击者隐藏。通过放宽这一假设,我们发现了一个重要的安全风险,该风险由直觉驱动并得到经验验证,表现为一种逆向扩展规律:如果中间推理步骤变得明确可访问,那么增加推理时计算会持续降低模型鲁棒性。最后,我们讨论了即使推理链被隐藏,模型仍然容易受到攻击的实际场景,例如具有工具集成推理的模型以及高级推理提取攻击。我们的研究结果共同表明,推理时扩展带来的鲁棒性收益在很大程度上取决于对抗性设置和部署环境。我们敦促实践者在安全敏感的现实应用中应用推理时扩展之前,仔细权衡这些微妙的利弊。

英文摘要:

Recently, Zaremba et al. demonstrated that increasing inference-time computation improves robustness in large proprietary reasoning LLMs. In this paper, we first show that smaller-scale, open-source models (e.g., DeepSeek R1, Qwen3, Phi-reasoning) can also benefit from inference-time scaling using a simple budget forcing strategy. More importantly, we reveal and critically examine an implicit assumption in prior work: intermediate reasoning steps are hidden from adversaries. By relaxing this assumption, we identify an important security risk, intuitively motivated and empirically verified as an inverse scaling law: if intermediate reasoning steps become explicitly accessible, increased inference-time computation consistently reduces model robustness. Finally, we discuss practical scenarios where models with hidden reasoning chains are still vulnerable to attacks, such as models with tool-integrated reasoning and advanced reasoning extraction attacks. Our findings collectively demonstrate that the robustness benefits of inference-time scaling depend heavily on the adversarial setting and deployment context. We urge practitioners to carefully weigh these subtle trade-offs before applying inference-time scaling in security-sensitive, real-world applications.

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

↑