scimeatlas

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

Thinking Before Running! Efficient Code Generation with Thorough Exploration and Optimal Refinement

ACL 2025Large language models › Reasoning and chain of thoughtapproach: Test-time compute scalingopen problems in this approach10 citations (OpenAlex)

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
9improved
1no clear effect
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply ThinkCoder with n=5 refinementLLama2-7B-Chat · avg of MBPP/HumanEval benchmarksPass@1: 18.7 -> 25.5Improved
apply ThinkCoder with n=5 refinementGPT-4o · avg of MBPP/HumanEval benchmarksPass@1: 85.4 -> 89.0Improved
use ThinkCoder instead of MapCoder (similar config, GPT-4-Turbo)GPT-4-Turbo · HumanEval tokenstokens (k): 21.3 -> 0.26 at equal 93.9 Pass@1Improved
add ReST fine-tuning on ThinkCoder success trajectoriesLLama2-7B · MBPPPass@1: 27.8 (SFT) / 14.7 (base) -> 32.3 at n=0Improved
add ReST fine-tuningLLama2-7B · MBPP, n=5Pass@1: 38.1 (SFT) -> 46.1Improved
increase self-exploration budget k from 1 to 20 (ablation)ThinkCoder · MBPP 60 samples, GPT-4Pass@1: 91.7 -> 96.7 (n=1)Improved
increase exploration budget excessively (k=20) (ablation)ThinkCoder · MBPPefficiencyHurt
increase refinement iterations n at k=10 or 20 (ablation)ThinkCoder · MBPP 60 samples, GPT-4Pass@1: 96.7 -> 96.7No clear effect
increase tests per exploration m from 1 to 10 (ablation)ThinkCoder · MBPP 60 tasks, KimiPass@1: 80.0 -> 86.7 (verifier time 28.7s -> 364.5s)Improved
raise temperature (ablation)GPT-4-Turbo and GPT-4o · MBPPPass@1Hurt
raise temperature (ablation)LLama2-7B-Chat, CodeQwen1.5-7B-Chat, Kimi · MBPPPass@1Improved
apply ThinkCoder to harder benchmarksGPT-4o · LiveCodeBenchPass@1: 22.5 -> 41.3Improved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in test-time compute scaling

When does spending more compute at inference pay off, and how should it be spent?

All 4 open problems and what was already tried →

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