Can Latent Reasoning Drive LLM Outputs Without a Trace?

LLM Latent Reasoning CoT AI Safety / AI Ethics AVAR XAI
大语言模型(LLM)通常借助思维链(Chain-of-Thought, CoT)推理来解决复杂任务,而CoT推理同时也是监测其是否存在目标错位(misaligned behavior)行为的主要手段。然而,标准的Transformer架构模型亦可通过完全隐式推理(Complete Latent Reasoning, CLR)完成任务:即整个推理过程均在模型内部隐式进行,最终仅输出答案,不显式呈现中间步骤。理论上对CLR的深度——即其所能执行的连续推理步数——存在上限;近期研究实测表明,该深度普遍较浅。本文探讨的核心问题是:CLR的深度是否足以支撑模型在隐式层面追求一个需经多步推理才能实现的隐藏目标?具备这种能力的模型将生成一条看似合理、用于解答给定任务的CoT,但其实际答案却由一条独立运行的、基于隐藏目标的多步隐式计算所决定。首先,我们证明:仅需引入一个简单的辅助损失函数,即可使模型隐式完成多步任务的深度至少达到此前报道结果的5倍以上。随后,在两类典型任务——决策制定(如贷款审批)与代码生成——中,我们成功训练出能够追求此类隐藏目标的模型:前者依据隐藏目标决定是否批准贷款,后者则依据隐藏目标在生成的代码中植入安全漏洞。这些模型所输出的CoT始终以表面合理的逻辑为最终答案提供解释,全程未显露任何隐藏目标的蛛丝马迹;即便采用能力强大的LLM作为监控器,也无法识别出异常。最后,借助激活修补(activation patching)技术,我们发现:该隐式计算在模型开始生成CoT之前即已完成,且CoT本身完全不参与、也不影响该计算过程。综上所述,我们的工作表明:一种需要通过推理才能实现的隐藏目标,可能完全逃逸于仅依赖模型输出(尤其是CoT)进行监控的检测机制之外。
LLMs typically solve complex tasks with chain-of-thought (CoT) reasoning, which is also the main tool for monitoring them for misaligned behavior. However, standard transformers can also solve tasks with complete latent reasoning (CLR), carrying out the whole task internally and outputting only the final answer. Theory bounds the depth of CLR, the number of sequential steps it can carry out, and recent work measured it to be shallow. In this work, we ask whether CLR is deep enough for a model to pursue a hidden objective that requires reasoning. Such a model would generate a CoT that appears to solve the given task, while a latent multi-step computation decides its answer based on the hidden objective. First, we show that a simple auxiliary loss allows models to solve a multi-step task latently at least 5x deeper than previously reported. Then, in two common tasks, decision-making and code generation, we train a model to pursue such a hidden objective, which decides a loan or plants a vulnerability. The model's CoT justifies the output with no trace of the hidden objective, and a strong LLM monitor does not flag it. Finally, using activation patching, we find that the latent computation is completed before the model generates its CoT, which takes no part in it. Altogether, we show that a hidden objective that requires reasoning can go unseen by a monitor that reads only the output.
许愿