Tyler: 语言模型的类型化潜在推理——何时思考、计算什么以及分配多少
Tyler: Typed Latent Reasoning for Language Models -- When to Think, What to Compute, and How Much to Allocate
AI总结:
提出Tyler框架,通过类型化潜在推理模块和预算感知策略,在自回归解码中动态选择文本生成或潜在计算,显著提升推理准确率并降低遗忘。
摘要:
链式思维(CoT)提示通过将中间计算外化为离散文本标记来改进大型语言模型(LLM)的推理能力,但这种文本接口也引入了冗余和推理开销。潜在推理通过在连续表示中执行部分计算提供了一种有前景的替代方案。然而,现有方法通常预定义潜在计算何时被调用以及如何在解码过程中分配,留下一个关键问题未解决:何时调用潜在计算、执行何种类型的计算以及分配多少预算。我们提出\textbf{Ty}ped \textbf{L}at\textbf{e}nt \textbf{R}easoning(Tyler),一个用于自回归解码过程中潜在推理的类型化和预算感知框架。Tyler学习一个策略,在每个解码步骤中,选择发射一个文本标记或切换到专门用于特定推理功能的潜在计算模块。一旦被调用,一个算子将当前推理状态映射为支持全局规划、局部状态更新或可重用过程抽象的潜在标记。在三个骨干LLM上的广泛实验中,Tyler相比CoT提高了最多14.49个百分点的准确率,相比最强的竞争基线提高了最多4.30个百分点。它进一步在多种推理领域上泛化,并以最低的遗忘实现了最佳的最后阶段性能。
英文摘要:
Chain-of-thought (CoT) prompting improves reasoning in large language models (LLMs) by externalizing intermediate computation as discrete text tokens, but this textual interface also introduces redundancy and inference overhead. Latent reasoning offers a promising alternative by carrying part of the computation in continuous representations. However, existing methods typically predefine when latent computation is invoked and how it is allocated during decoding, leaving a key problem unresolved: when to invoke latent computation, what type of computation to perform, and how much budget to allocate. We propose \textbf{Ty}ped \textbf{L}at\textbf{e}nt \textbf{R}easoning (Tyler), a typed and budget-aware framework for latent reasoning during autoregressive decoding. Tyler learns a policy that, at each decoding step, chooses between emitting a text token and switching to a latent computation module specialized for a particular reasoning function. Once invoked, an operator maps the current reasoning state into latent tokens that support global planning, local state updates, or reusable procedural abstraction. Across extensive experiments on three backbone LLMs, Tyler improves accuracy by up to 14.49 points over CoT and by up to 4.30 points over the strongest competing baseline. It further generalizes across diverse reasoning domains and achieves the best final-stage performance with the lowest forgetting.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。