arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.06584cs.CLcs.LGstat.ML
收藏

基于潜在思维向量的推理时间重新思考用于数学推理

Inference-Time Rethinking with Latent Thought Vectors for Math Reasoning

Department of Statistics and Data Science, UCLA(统计与数据科学系, UCLA);Lambda Inc(Lambda公司);Tsinghua University(清华大学);Salesforce Research(Salesforce研究)

Deqian Kong, Minglu Zhao, Aoyang Qin, Bo Pang, Chenxin Tao, David Hartmann, Edouardo Honig, Dehong Xu, Amit Kumar, Matt Sarte, Chuan Li, Jianwen Xie, Ying Nian Wu

AI总结:

本文提出基于潜在思维向量的推理时间重新思考框架,通过迭代自我纠正提升数学推理能力,实验证明其在GSM8K数据集上优于基线模型。

摘要:

标准的思维链推理在单次前向传递中生成解决方案,一旦生成就不可撤销地确定每个token,并缺乏从早期错误中恢复的机制。我们引入了推理时间重新思考,一种生成框架,通过解耦声明性潜在思维向量与过程性生成,使迭代自我纠正成为可能。我们将推理分解为一个连续的潜在思维向量(要推理什么)和一个解码器,该解码器根据此向量条件化地将轨迹用语言表达出来(如何推理)。除了作为声明性缓冲器外,潜在思维向量还将推理结构压缩成连续表示,抽象掉表层token的可变性,使基于梯度的优化推理策略变得合理。我们的先验模型将无结构噪声映射到一个学习到的有效推理模式流形上,在测试时我们采用一种类似Gibbs的程序,交替生成候选轨迹和优化潜在向量以更好地解释该轨迹,从而在潜在流形上导航以完善推理策略。在从头训练0.2B参数模型在GSM8K上,我们的方法通过30次重新思考迭代,超越了具有10到15倍更多参数的基线,包括一个3B对应物。这一结果表明,有效的数学推理可以从复杂的推理时间计算中产生,而不是仅从巨大的参数数量中。

英文摘要:

Standard chain-of-thought reasoning generates a solution in a single forward pass, committing irrevocably to each token and lacking a mechanism to recover from early errors. We introduce Inference-Time Rethinking, a generative framework that enables iterative self-correction by decoupling declarative latent thought vectors from procedural generation. We factorize reasoning into a continuous latent thought vector (what to reason about) and a decoder that verbalizes the trace conditioned on this vector (how to reason). Beyond serving as a declarative buffer, latent thought vectors compress the reasoning structure into a continuous representation that abstracts away surface-level token variability, making gradient-based optimization over reasoning strategies well-posed. Our prior model maps unstructured noise to a learned manifold of valid reasoning patterns, and at test time we employ a Gibbs-style procedure that alternates between generating a candidate trace and optimizing the latent vector to better explain that trace, effectively navigating the latent manifold to refine the reasoning strategy. Training a 0.2B-parameter model from scratch on GSM8K, our method with 30 rethinking iterations surpasses baselines with 10 to 15 times more parameters, including a 3B counterpart. This result demonstrates that effective mathematical reasoning can emerge from sophisticated inference-time computation rather than solely from massive parameter counts.

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

↑