arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.01317cs.CLcs.AI
收藏

用于测试时计算扩展的自适应纠正采样

Adaptive Rectification Sampling for Test-Time Compute Scaling

School of Computer Science and Technology(计算机科学与技术学院)

Zhendong Tan, Xingjun Zhang, Chaoyi Hu, Yancheng Pan, Shaoxun Wang

AI总结:

针对测试时自我纠正易浪费 token 的问题,提出 AR-Sampling,利用 PRM 与触发句实现步骤级自适应重思,在 GSM8K 和 MATH500 上提升准确率并控制额外 token。

摘要:

最新发布的 OpenAI-o1 和 DeepSeek-R1 表明,测试时扩展能够显著提升模型性能,尤其是在逻辑推理等复杂任务中。常见的测试时扩展方法包括生成更多思维链(CoT),或通过自我纠正生成更长的 CoT。然而,尽管自我纠正可以提升性能,但如果推理步骤本身已经正确,它可能造成大量 token 浪费,并降低 CoT 的可读性。为证明大语言模型(LLM)能够在更细粒度层面纠正错误,我们提出了自适应纠正采样(AR-Sampling),该方法可引导 LLM 在适当步骤进行自我纠正。AR-Sampling 利用过程监督奖励模型(PRM)作为验证器,并构造触发句来引导模型进行自适应的步骤级重新思考。通过在 GSM8K 和 MATH500 上的实验,结果表明我们的方法使模型能够在更细粒度层面重新思考,提高了解答准确率,同时仅生成数量合理的额外 token。

英文摘要:

The newly released OpenAI-o1 and DeepSeek-R1 have demonstrated that test-time scaling can significantly improve model performance, especially in complex tasks such as logical reasoning. Common test-time scaling methods involve generating more chains of thought (CoTs) or longer CoTs with self-correction. However, while self-correction can improve performance, it may lead to significant token waste and reduce readability of the CoT if the reasoning steps are already correct. To demonstrate that large language models (LLMs) can rectify errors at a more fine-grained level, we propose Adaptive Rectification Sampling (AR-Sampling), which can guide the LLMs to self-correction at the appropriate step. AR-Sampling leverages a process-supervised reward model (PRM) as a verifier and constructed trigger sentences to guide the model in adaptive step-level rethinking. Through the experiments on GSM8K and MATH500, it indicates that our approach enables the models to rethink in more fine-grained level, improving the accuracy of solutions, while generating a reasonable number of additional tokens.

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

↑