SBSC:逐步编码以提升数学奥林匹克竞赛表现
SBSC: Step-By-Step Coding for Improving Mathematical Olympiad Performance
AI总结:
提出SBSC多轮数学推理框架,通过逐步生成程序解决奥林匹克级问题,在多个基准上显著超越现有方法。
摘要:
我们提出了逐步编码(Step-by-Step Coding, SBSC):一个多轮数学推理框架,使大型语言模型(LLMs)能够生成一系列程序来解决奥林匹克级别的数学问题。在每一步/轮中,通过利用代码执行输出和先前步骤的程序,模型生成下一个子任务及相应的程序来解决它。这样,SBSC逐步导航以到达最终答案。与现有方法相比,SBSC允许更细粒度、更灵活和更精确的问题解决方法。大量实验突显了SBSC在处理竞赛和奥林匹克级数学问题上的有效性。对于Claude-3.5-Sonnet,我们观察到SBSC(贪心解码)在AMC12上比现有最先进(SOTA)的基于程序生成的推理策略绝对提高了10.7%,在AIME上提高了8%,在MathOdyssey上提高了12.6%。鉴于SBSC本质上是多轮的,我们还将SBSC的贪心解码与现有SOTA数学推理策略的自洽性解码结果进行了基准测试,观察到在AMC上绝对性能提升6.2%,在AIME上提升6.7%,在MathOdyssey上提升7.4%。
英文摘要:
We propose Step-by-Step Coding (SBSC): a multi-turn math reasoning framework that enables Large Language Models (LLMs) to generate sequence of programs for solving Olympiad level math problems. At each step/turn, by leveraging the code execution outputs and programs of previous steps, the model generates the next sub-task and the corresponding program to solve it. This way, SBSC, sequentially navigates to reach the final answer. SBSC allows more granular, flexible and precise approach to problem-solving compared to existing methods. Extensive experiments highlight the effectiveness of SBSC in tackling competition and Olympiad-level math problems. For Claude-3.5-Sonnet, we observe SBSC (greedy decoding) surpasses existing state-of-the-art (SOTA) program generation based reasoning strategies by absolute 10.7% on AMC12, 8% on AIME and 12.6% on MathOdyssey. Given SBSC is multi-turn in nature, we also benchmark SBSC's greedy decoding against self-consistency decoding results of existing SOTA math reasoning strategies and observe performance gain by absolute 6.2% on AMC, 6.7% on AIME and 7.4% on MathOdyssey.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。