atlas

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

Chain of Execution Supervision Promotes General Reasoning in Large Language Models

NeurIPS 2025 · Large language models › Reasoning and chain of thought · approach: Search and self-correction in reasoning · 0 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.

Builds TracePile, a 2.6M-sample corpus of natural-language step-by-step code-execution traces (Chain of Execution) and shows it improves math, code, logic and algorithm reasoning when used for continued pretraining or two-stage finetuning of 7-8B models.

Problem

Raw code is a rich source of reasoning patterns, but its reasoning signals are implicit and entangled with syntax, so training directly on raw code is suboptimal for general LLM reasoning.

Approach

Convert code execution into explicit step-by-step CoT-style narrations (Chain of Execution), augmented with variable-tracing queries and LLM-based code rewrites, and use this as an intermediate training stage before or alongside general instruction tuning.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
continue-pretrain on TracePileLLaMA-3-8B · Math averageaccuracy: 54.8 -> 63.4Helped
continue-pretrain on TracePileLLaMA-3.1-8B · Math averageaccuracy: 57.4 -> 64.8Helped
fine-tune on TracePile, then TuluSFTQwen-2.5-Coder-7B · LiveCodeBenchaccuracy: 27.2 -> 29.9Helped
use TracePile CoE data instead of alternative supervisionQwen-2.5-Coder-7B · LiveCodeBench-Outputaccuracy: 29.8 -> 35.5Helped
add mathematical data (ablation)TracePile · Mathematical averageaccuracy: 60.6 -> 62.4Helped
add mathematical data (ablation)TracePile · Code averageaccuracy: 26.2 -> 30.6Helped
add classical algorithm data (ablation)TracePile · Code averageaccuracy: 23.1 -> 30.6Helped
add algorithmic competition data (ablation)TracePile · Code averageaccuracy: 24.9 -> 30.6Helped
add algorithmic competition data (ablation)TracePile · Algorithm averageaccuracy: 35.0 -> 40.3Helped
add query diversification (ablation)TracePile · Code averageaccuracy: 30.0 -> 30.6Helped
add query diversification (ablation)TracePile · Algorithm averageaccuracy: 37.9 -> 40.3Helped
add code diversification (ablation)TracePile · Code averageaccuracy: 28.2 -> 30.6Helped

Surprising findings

Limitations

Experimental setup

Datasets: Codeforces Python submissions CLRS-text generator GraphInstruct generator OpenMath Tulu3-SFT

Benchmarks: GSM8K MATH GSM-Hard SVAMP ASDIV MAWPS MinMATH MMLU-STEM TABMWP MATHQA SAT LiveCodeBench

Metrics: accuracy

Baselines: OpenMathInstruct-1 OpenMathInstruct-2 WebInstruct CodeI/O CodeI/O++

Builds on: CodeI/O OpenMath Tulu 3 SFT CLRS

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