PathCal: 状态感知的反思标记校准用于高效推理
PathCal: State-Aware Reflection-Marker Calibration for Efficient Reasoning
AI总结:
本文提出PathCal,一种无需训练的解码控制器,通过区分反思标记类型并在局部不确定状态进行干预,校准推理路径,在保持或提升准确率的同时减少生成长度。
摘要:
大型推理语言模型(LRMs)的出现通过推理时缩放生成长篇思维链(CoT)轨迹,为处理复杂推理任务铺平了道路。同时,这些轨迹通常包含显式的反思标记,如“wait”、“but”和“alternatively”,分别表示犹豫、修正和考虑替代探索。最近关于测试时控制的研究利用这些标记作为轻量级手柄来引导推理,通常将它们视为单一的粗粒度类别,而非区分其不同的功能角色。在本文中,我们进行类型级抑制和固定前缀干预,揭示反思标记不仅在功能角色上不同,而且在它们发挥最大影响的时机上也不同。具体来说,不同的标记类别以不同方式影响准确性和生成长度,并且标记选择在模型进入稳定推理轨迹之前最为关键。受这些发现启发,我们引入PathCal,一种新颖的无需训练的解码控制器,通过区分标记类型并仅在局部不确定状态进行干预来校准推理路径。在每个解码步骤,PathCal利用反思标记上的分布来估计维持当前推理轨迹与启动竞争分支之间的局部竞争,并在竞争分支证据过多时软性地重新平衡标记对数。在六个推理基准上的实验表明,PathCal实现了更好的效率-性能权衡,在减少生成长度的同时提高或保持准确率,且不依赖外部验证器或额外采样。
英文摘要:
Large Reasoning Language Models (LRMs) tackle complex tasks through test-time scaling, generating long-form Chain-of-Thought (CoT) trajectories during inference. These trajectories contain reflection markers such as wait, but, and alternatively, accompanying hesitation, revision, and alternative explorations. Recent test-time control methods use these markers to steer reasoning, but treating them as one coarse-grained category can obscure their distinct intervention effects. We study how marker identity and reasoning context shape these effects. Type-wise suppression produces different accuracy--length tradeoffs, while fixed-prefix interventions show that the relative benefit of continuation and revision varies across prefixes and tasks. Motivated by these findings, we introduce PathCal, a training-free controller that adjusts the strength of a fixed continuation bias using instantaneous competition among continuation, revision, and alternative-opening markers. It applies finite logit adjustments without additional model forward passes. An exact log-odds identity and frozen-prefix probes establish its local directional effect. Experiments show that PathCal improves the accuracy--length tradeoff in many mathematical reasoning settings and also reduces generation length in coding and multilingual mathematics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。