arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.02542cs.LGcs.CR
收藏

OverThink: 对推理大语言模型的减速攻击

OverThink: Slowdown Attacks on Reasoning LLMs

University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校);Simon Fraser University(西蒙弗雷泽大学);University of Maryland, College Park(马里兰大学学院公园分校)

Abhinav Kumar, Jaechul Roh, Ali Naseh, Marzena Karpinska, Mohit Iyyer, Amir Houmansadr, Eugene Bagdasarian

AI总结:

OverThink攻击通过注入伪装推理问题,迫使推理大语言模型消耗更多token,从而增加延迟和成本,同时探讨了其防御和影响。

摘要:

大多数旗舰语言模型生成显式推理链,从而在推理过程中实现扩展。然而,生成这些推理链会增加token使用量(即推理token),从而增加延迟和成本。我们的OverThink攻击增加了依赖推理语言模型(RLMs)和外部上下文的应用的开销,通过迫使它们使用大量推理token,同时仍然产生上下文正确的答案。攻击者通过将伪装的推理问题注入到被RLM在推理过程中消耗的公共内容中来发起攻击。由于我们的伪装(例如马尔可夫决策过程、数独等)是无害的,因此它们能够规避安全过滤器。我们评估了OverThink在闭源和开源推理模型上的表现,涵盖了FreshQA、SQuAD和MuSR数据集。我们还通过创建导致过度推理的图像,在多模态设置中探索了该攻击。我们展示了由此产生的减速在不同模型之间转移。最后,我们探讨了基于LLM和系统层面的防御措施,并讨论了OverThink攻击的社会、财务和能源影响。

英文摘要:

A reasoning language model (RLM) generates costly reasoning tokens, often hidden from the users, that help it excel at many tasks. Our Overthink attack targets RLM-based applications (such as chatbots or coding agents) that rely on external context by forcing these models to generate substantially more reasoning tokens while still producing contextually correct answers. An adversary conducts the attack by injecting decoy reasoning problems into available content, optimized to elicit a large number of tokens. We craft decoy challenges (using Markov decision processes, language translation, or graphic comprehension) that appear benign individually yet have an adversarial impact when inserted in the context, allowing them to easily evade safety filters. We evaluate Overthink on proprietary and open-source reasoning models across the FreshQA, SQuAD, and MuSR datasets, where we observe 13x, 46x, and 12x increases, respectively. We also explore multimodal attacks using images, which cause up to a 2.7x increase in reasoning, as well as attacks on coding agents by injecting decoys into skills, README files, and code, resulting in up to a 17x increase. We explore several defenses and evaluate their efficacy against different attack strategies, highlighting that defending against Overthink is nontrivial. Finally, we show that newer generations of RLMs, while showing a drastic increase in per-token cost, also exhibit up to a 2.3x increase in reasoning tokens, leaving them more vulnerable to Overthink attacks.

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

↑