arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.08999cs.CL
收藏

学习何时采样:面向高效链式思维推理的置信度感知选择性采样

Learning When to Sample: Confidence-Aware Selective Sampling for Efficient Chain-of-Thought Reasoning

Vanderbilt University(范德比尔特大学);Vanderbilt University Medical Center(范德比尔特大学医学中心);Intuit AI Research(Intuit AI研究院)

Juming Xiong, Kevin Guo, Congning Ni, Weixin Liu, Chao Yan, Katherine Brown, Avinash Baidya, Xiang Gao, Bradley Malin, Zhijun Yin

AI总结:

提出置信度感知选择性采样框架,通过分析单条推理轨迹自适应决定是否触发多路径采样,在保持性能的同时显著降低推理成本。

摘要:

大型语言模型(LLMs)通过链式思维(CoT)推理能够实现强大的推理性能,但往往生成不必要的长推理路径,导致高昂的推理成本。基于自一致性的方法进一步提高准确性,但需要采样和聚合多个推理轨迹,带来大量计算开销。本文提出一种置信度感知的选择性采样框架,在推理时分析单条推理轨迹,自适应地决定是仅依赖该轨迹还是触发多路径采样。该框架利用从推理状态中提取的轨迹级数值特征和句子级语言特征来指导选择性多路径推理。我们在MedQA上训练该框架,并在MedQA上进行域内评估,以及在MathQA、MedMCQA和MMLU上进行仅校准的迁移评估,无需进一步微调。实验结果表明,所提框架与完整和高效的多路径推理基线相比,性能相当,准确率变化分别为$-0.41 \pm 0.58$和$-0.31 \pm 0.58$个百分点,同时令牌使用量分别减少$71.7 \pm 5.0\\%$和$36.6 \pm 9.1\\%$。这些发现表明,推理轨迹包含用于不确定性估计的丰富信号,从而能够实现一种简单、可迁移的机制来平衡LLM推理中的准确性和效率。

英文摘要:

Large language models (LLMs) can achieve strong reasoning performance through chain-of-thought (CoT) reasoning, yet they often generate unnecessarily long reasoning paths that incur high inference cost. Self-consistency-based approaches push accuracy higher still, but they require sampling and aggregating multiple reasoning trajectories, leading to substantial computational overhead. In this paper, we introduce a confidence-aware selective sampling framework that, at inference time, analyzes a single reasoning trajectory to adaptively determine whether to rely on that trajectory alone or trigger multi-path sampling. The framework uses trajectory-level numeric features and sentence-level linguistic features extracted from reasoning states to guide selective multi-path reasoning. We train it on MedQA and evaluate it in-domain on MedQA and under calibration-only transfer on MathQA, MedMCQA, and MMLU, without further fine-tuning. Experimental results show that the proposed framework maintains comparable performance to full and efficient multi-path reasoning baselines, with accuracy changes of $-0.41 \pm 0.58$ and $-0.31 \pm 0.58$ percentage points, respectively, while reducing token usage by $71.7 \pm 5.0%$ and $36.6 \pm 9.1%$. These findings demonstrate that reasoning trajectories contain rich signals for uncertainty estimation, enabling a simple, transferable mechanism to balance accuracy and efficiency in LLM reasoning.

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

↑