atlas

Research map / Large language models / Reasoning and chain of thought

SBSC: Step-by-Step Coding for Improving Mathematical Olympiad Performance

ICLR 2025 · Large language models › Reasoning and chain of thought · approach: Search and self-correction in reasoning · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SBSC, a multi-turn code-generation reasoning framework where an LLM iteratively generates sub-task programs that reuse prior execution outputs, improving olympiad-level math accuracy over PAL and TIR-ToRA.

Problem

LLMs struggle with competition and Olympiad-level math because single-program reasoning (PAL, TIR-ToRA) cannot systematically handle the many intermediate steps, constraints and edge cases these problems require.

Approach

Decompose problem solving into a multi-turn sequence where each turn generates a sub-task and its Python program conditioned on prior sub-tasks, programs and execution outputs, so each step can be explored, corrected and appended incrementally rather than solved in one code block.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use SBSC instead of TIR-ToRAClaude-3.5-Sonnet · AMCaccuracy: 38.59 -> 49.33Helped
use SBSC instead of PALClaude-3.5-Sonnet · AIMEaccuracy: 27.48 -> 35.45Helped
use SBSC instead of TIR-ToRAClaude-3.5-Sonnet · MathOdysseyaccuracy: 27.23 -> 39.86Helped
use SBSC instead of TIR-ToRAClaude-3.5-Sonnet · OlympiadBenchaccuracy: 47.69 -> 53.31Helped
use SBSC instead of TIR-ToRAGPT-4o · AMCaccuracy: 37.33 -> 44.55Helped
use SBSC instead of PALGPT-4o · AIMEaccuracy: 24.63 -> 30.7Helped
use SBSC instead of TIR-ToRAGPT-4o · MathOdysseyaccuracy: 19.59 -> 26.55Helped
use SBSC instead of TIR-ToRAGPT-4o · OlympiadBenchaccuracy: 43.32 -> 48.74Helped
add natural-language comments to code exemplars (ablation)SBSC with Claude-3.5-Sonnet · AMC 3 Yrsaccuracy: 62 -> 67Helped
add natural-language comments to code exemplars (ablation)SBSC with Claude-3.5-Sonnet · AIME 3 Yrsaccuracy: 19 -> 27Helped
add instruction to correct the current step after code errors, without restarting from Step 1 (ablation)SBSC with Claude-3.5-Sonnet · AMC 3 Yrsaccuracy: 60 -> 67Helped
add instruction to correct the current step after code errors, without restarting from Step 1 (ablation)SBSC with Claude-3.5-Sonnet · AIME 3 Yrsaccuracy: 16 -> 27Helped

Surprising findings

Limitations

Experimental setup

Datasets: AIME (last 11 years) AMC-12 (last 11 years) MathOdyssey Olympiad subset OlympiadBench math subset JEE-Bench Omni-MATH

Benchmarks: AMC-12 AIME MathOdyssey OlympiadBench JEE-Bench Omni-MATH

Metrics: accuracy majority@7 accuracy

Baselines: COT PAL TIR-ToRA L2M-PAL

Builds on: PAL ToRA Chain-of-Thought self-consistency

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy