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

获取鲁棒性或死亡扩展:通过推理计算获利地进行鲁棒性交易

Get RICH or Die Scaling: Profitably Trading Inference Compute for Robustness

Lawrence Livermore National Laboratory(劳伦斯利弗莫尔国家实验室);Independent Researcher(独立研究者)

Tavish McDonald, Bo Lei, Stanislav Fort, Bhavya Kailkhura, Brian Bartoldson

AI总结:

研究探讨了推理计算与模型鲁棒性之间的关系,发现初始鲁棒性足以使模型遵循指令时,推理计算能提升对抗鲁棒性,通过强化视觉编码器可进一步增强模型的鲁棒性。

摘要:

测试时推理提高了基准性能,并展示了在对抗性外分布(OOD)数据上使模型鲁棒的潜力。最近的研究发现,推理有助于满足旨在抵御攻击的模型规范,发现大型语言模型推理努力与对抗性劫持鲁棒性之间存在显著相关性。然而,当使用更强的(如基于梯度或多模态)攻击时,这一好处会减弱。这可能是由于模型无法遵循由此类攻击生成的对抗性OOD数据的指令,而遵循指令是按照攻击者防御规范行动所必需的。因此,我们假设规范的测试时鲁棒性利益是通过初始鲁棒性足以使模型遵循OOD数据的指令而解锁的。我们提出了鲁棒性来自推理计算假设(RICH):推理计算防御在模型训练数据更好地反映受攻击数据组件时会受益。基于RICH,我们测试了不同初始鲁棒性水平的模型,发现推理计算在提供足够初始鲁棒性的情况下能提升鲁棒性,甚至对白盒多模态攻击也是如此。进一步证明了丰富的-get-更丰富的动态,InternVL 3.5 gpt-oss 20B在测试计算扩展时获得的鲁棒性有限,但若先强化其视觉编码器(从而创建了第一个对抗性鲁棒的推理VLM),则扩展会带来显著鲁棒性提升。强化模型使受攻击的数据组件更接近分布(ID),RICH建议这会促进组合泛化——通过理解OOD数据的ID组件来遵循规范指令。一致地,我们发现测试时防御既构建又依赖训练时的数据和防御。

英文摘要:

Test-time reasoning has raised benchmark performances and even shown promise in addressing the historically intractable problem of making models robust to adversarially out-of-distribution (OOD) data. Indeed, recent work used reasoning to aid satisfaction of model specifications designed to thwart attacks, finding a striking correlation between LLM reasoning effort and robustness to jailbreaks. However, this benefit fades when stronger (e.g. gradient-based or multimodal) attacks are used. This may be expected as models often can't follow instructions on the adversarially OOD data created by such attacks, and instruction following is needed to act in accordance with the attacker-thwarting spec. Thus, we hypothesize that the test-time robustness benefits of specs are unlocked by initial robustness sufficient to follow instructions on OOD data. Namely, we posit the Robustness from Inference Compute Hypothesis (RICH): inference-compute defenses profit as the model's training data better reflects the components of attacked data. Guided by the RICH, we test models of varying initial-robustness levels, finding inference-compute adds robustness even to white-box multimodal attacks, provided the model has sufficient initial robustness. Further evidencing a rich-get-richer dynamic, InternVL 3.5 gpt-oss 20B gains little robustness when its test compute is scaled, but such scaling adds significant robustness if we first robustify its vision encoder (creating the first adversarially robust reasoning VLM in the process). Robustifying models makes attacked components of data more in-distribution (ID), and the RICH suggests this fuels compositional generalization -- understanding OOD data via its ID components -- to following spec instructions on adversarial data. Consistently, we find test-time defenses both build and depend on train-time data and defenses.

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

↑