一个 Token Embedding 就足以让你的大型推理模型陷入死锁
One Token Embedding Is Enough to Deadlock Your Large Reasoning Model
AI总结:
针对大型推理模型的思维链机制,本文提出 Deadlock Attack,利用恶意对抗 embedding 与后门触发 token 诱导无限推理循环,在四个模型和三个数学基准上达到 100% 攻击成功率。
摘要:
现代大型推理模型(LRM)通过思维链(CoT)推理展现出令人印象深刻的多步问题解决能力。然而,这种迭代思考机制引入了一个新的攻击面。我们提出 Deadlock Attack,这是一种资源耗尽方法,通过训练一个恶意对抗 embedding 来诱导永久推理循环,从而劫持 LRM 的生成控制流。具体而言,优化后的 embedding 会促使模型在推理步骤之后生成过渡性 token(例如“Wait”“But”),阻止模型结束其答案。我们识别出的一个关键挑战是连续到离散的投影差距:将对抗 embedding 简单投影到 token 序列会使攻击失效。为克服这一问题,我们引入一种后门植入策略,使攻击能够通过特定触发 token 可靠激活。我们的方法在四个先进 LRM(Phi-RM、Nemotron-Nano、R1-Qwen、R1-Llama)和三个数学推理基准上实现了 100% 的攻击成功率,迫使模型一直生成到其最大 token 限制。该攻击还具有隐蔽性(在良性用户输入上造成的效用损失可忽略不计),并且对现有试图缓解过度思考问题的策略保持鲁棒。我们的发现从推理(非)效率的角度揭示了 LRM 中一个关键且尚未充分探索的安全漏洞。
英文摘要:
Modern large reasoning models (LRMs) exhibit impressive multi-step problem-solving via chain-of-thought (CoT) reasoning. However, this iterative thinking mechanism introduces a new vulnerability surface. We present the Deadlock Attack, a resource exhaustion method that hijacks an LRM's generative control flow by training a malicious adversarial embedding to induce perpetual reasoning loops. Specifically, the optimized embedding encourages transitional tokens (e.g., "Wait", "But") after reasoning steps, preventing the model from concluding its answer. A key challenge we identify is the continuous-to-discrete projection gap: naïve projections of adversarial embeddings to token sequences nullify the attack. To overcome this, we introduce a backdoor implantation strategy, enabling reliable activation through specific trigger tokens. Our method achieves a 100% attack success rate across four advanced LRMs (Phi-RM, Nemotron-Nano, R1-Qwen, R1-Llama) and three math reasoning benchmarks, forcing models to generate up to their maximum token limits. The attack is also stealthy (in terms of causing negligible utility loss on benign user inputs) and remains robust against existing strategies trying to mitigate the overthinking issue. Our findings expose a critical and underexplored security vulnerability in LRMs from the perspective of reasoning (in)efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。