SBSC: Step-By-Step Coding for Improving Mathematical Olympiad Performance
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
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.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. First posted on arXiv 23 Feb 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Fathom-DeepResearch: Unlocking Long Horizon Information Retrieval and Synthesis for SLMscited by 5
- 2025A Survey of Deep Learning for Geometry Problem Solvingcited by 4
- 2026Pseudocode-Guided Structured Reasoning for Automating Reliable Inference in Vision-Language Modelscited by 0
- 2026Reasoning, Code, or Both? How Large Language Models Handle Variations in Math Questionscited by 0
- 2026Reasoning, Code, or Both? How Large Language Models Handle Variations in Math Questions26 May 2026
- 2026Pseudocode-Guided Structured Reasoning for Automating Reliable Inference in Vision-Language Models19 May 2026
- 2025Fathom-DeepResearch: Unlocking Long Horizon Information Retrieval and Synthesis for SLMs28 Sep 2025
- 2025A Survey of Deep Learning for Geometry Problem Solving16 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2024Can Language Models Solve Olympiad Programming?
- 2026Achieving Gold-Medal-Level Olympiad Reasoning via Simple and Unified Scaling
- 2025PromptCoT: Synthesizing Olympiad-level Problems for Mathematical Reasoning in Large Language Models
- 2025RIMO: An Easy-to-Evaluate, Hard-to-Solve Olympiad Benchmark for Advanced Mathematical Reasoning
- 2025Brains vs. Bytes: Evaluating LLM Proficiency in Olympiad Mathematics
- 2025AIMO-2 Winning Solution: Building State-of-the-Art Mathematical Reasoning Models with OpenMathReasoning dataset
- 2025Step-KTO: Optimizing Mathematical Reasoning through Stepwise Binary Feedback
- 2026Riemann-Bench: A Benchmark for Moonshot Mathematics