流匹配潜在推理的关键因素

·

研究论文 · 2026/10/06

潜在推理让大语言模型在连续空间中思考,仅输出答案。作者提出有效的潜在思维需满足五项要求:有用(帮助产生正确答案而非仅改变答案)、多样(重采样产生不同推理轨迹)、可解释(解码的思维链反映答案实际遵循的推理)、可精炼(随推理计算增加而改进)、高效(在相当准确率下成本低于显式思维链)。当前方法很少满足这些要求:它们从问题中学习捷径、将显式思维链蒸馏到权重中,或逐词模仿。作者聚焦于学习到的潜在空间中的流匹配,认为该家族最能满足这些要求,并确定了使其有效的训练选择。结果是一种基于流的潜在推理(FLaRe),一个简单配方,涵盖潜在空间编码什么及如何塑造、在哪里训练流、如何读出答案,以及最后在模型自身验证过的思维上训练的阶段。针对每项要求的探测表明,FLaRe在全部五项上均优于先前潜在方法。在算术基准上也优于它们,同时以四分之一延迟达到显式思维链97%的准确率。

该文系统性地提出了潜在推理有效性的五项标准,并基于流匹配给出了简单有效的FLaRe方法,在多项指标上超越先前方法,同时大幅降低延迟,对高效推理研究具有重要参考价值。

Latent reasoning lets a large language model (LLM) think in a continuous space and verbalize only the answer. We argue that an effective latent thought must meet five requirements: it should be useful, helping produce the correct answer rather than merely changing it, diverse, so that resampling yields different reasoning trajectories, explainable, so that a decoded chain of thought (CoT) reflects reasoning the answer actually follows, refinable with more inference compute, and efficient, costing less than an explicit CoT at comparable accuracy. Current methods rarely meet these requirements: they learn shortcuts from the question, distill the explicit CoT into their weights, or imitate it one token at a time. We focus on flow matching in a learned latent space, the family we argue is best placed to meet them, and identify the training choices that make it work. The result is Flow-based Latent Reasoning (FLaRe), a simple recipe covering what the latent space encodes and how to shape it, where to train the flow, how to read out the answer, and a final stage of training on the model's own verified thoughts. A probe for each requirement shows that FLaRe improves on prior latent methods in all five. It also compares favorably with them on arithmetic benchmarks, while reaching 97% of the accuracy of explicit CoT at a quarter of its latency.

阅读原文

参与讨论