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

逃离高昂成本:面向多步推理的早停自洽性

Escape Sky-high Cost: Early-stopping Self-Consistency for Multi-step Reasoning

Beijing Institute of Technology(北京理工大学);Xiaohongshu Inc(小红书公司)

Yiwei Li, Peiwen Yuan, Shaoxiong Feng, Boyuan Pan, Xinglin Wang, Bin Sun, Heda Wang, Kan Li

AI总结:

针对自洽性推理需多次采样、成本高昂的问题,本文提出早停自洽性ESC及动态性能-成本控制方案,在六类算术、常识和符号推理基准上大幅减少采样并保持相当性能。

摘要:

自洽性(Self-consistency,SC)已成为一种被广泛用于思维链推理的解码策略。尽管它在多种多步推理任务上带来了显著的性能提升,但它是一种高成本方法,需要按照预设大小进行多次采样。本文提出一种简单且可扩展的采样过程——早停自洽性(Early-Stopping Self-Consistency,ESC),以在不牺牲性能的情况下大幅降低SC的成本。在此基础上,进一步推导了一种ESC控制方案,用于针对不同任务和模型动态选择性能与成本之间的平衡。为证明ESC的有效性,我们在三类流行推理任务(算术、常识和符号推理)上,使用不同规模的语言模型开展了大量实验。实证结果表明,ESC在六个基准测试上显著减少了思维链推理的平均采样次数,包括MATH(-33.8%)、GSM8K(-80.1%)、StrategyQA(-76.8%)、CommonsenseQA(-78.5%)、Coin Flip(-84.2%)和Last Letters(-67.4%),同时取得了相当的性能。

英文摘要:

Self-consistency (SC) has been a widely used decoding strategy for chain-of-thought reasoning. Despite bringing significant performance improvements across a variety of multi-step reasoning tasks, it is a high-cost method that requires multiple sampling with the preset size. In this paper, we propose a simple and scalable sampling process, \textbf{E}arly-Stopping \textbf{S}elf-\textbf{C}onsistency (ESC), to greatly reduce the cost of SC without sacrificing performance. On this basis, one control scheme for ESC is further derivated to dynamically choose the performance-cost balance for different tasks and models. To demonstrate ESC's effectiveness, we conducted extensive experiments on three popular categories of reasoning tasks: arithmetic, commonsense and symbolic reasoning over language models with varying scales. The empirical results show that ESC reduces the average number of sampling of chain-of-thought reasoning by a significant margin on six benchmarks, including MATH (-33.8%), GSM8K (-80.1%), StrategyQA (-76.8%), CommonsenseQA (-78.5%), Coin Flip (-84.2%) and Last Letters (-67.4%), while attaining comparable performances.

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

↑