Research map / Large language models / Reasoning and chain of thought
S*: Test Time Scaling for Code Generation
Dacheng Li, Shiyi Cao, Chengkun Cao, Xiuyu Li, Shangyin Tan, Kurt Keutzer, Jiarong Xing, Joseph E. Gonzalez, Ion Stoica
University of California, Berkeley
Read the paperPlace an idea next to itCheck your own paper ↗
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
- CodeContests leaderboard pass@1 23 · rank 12 of 15 papers
This paper tried a common change: Higher sampling temperature
raise sampling temperature from 0.7 to 0.95 · LiveCodeBench v4 · Pass@N No clear effect
What 259 accepted papers report for this change
- 79 improved
- 33 no clear effect
- 35 mixed
- 112 hurt
- Emergence of Biased Consensus in Multi-Agent LLM Debates ICML 2026 · increase sampling temperature · Investment and MT-Bench judge · biasImproved
- ARC-Decode: Accelerated Decoding with Risk-Bounded Acceptance ICML 2026 · raise sampling temperature from 0.1 to 0.9 · MT-Bench · speedup: 3.13× -> 2.66×Hurt
- Is Your LLM Overcharging You? Tokenization, Transparency, and Incentives ICML 2026 · increase sampling temperature · LMSYS · fraction of outputs with longer plausible tokenizationImproved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add S* (parallel sampling, iterative debugging, adaptive selection) | Qwen2.5-Coder-7B-Instruct · LiveCodeBench v2 | Pass@1: 29.4 -> 54.4 | Improved |
| add S* instead of majority vote | DeepSeek-R1-Distill-Qwen-32B · LiveCodeBench v2 | Pass@1: 75.8 -> 85.7 | Improved |
| add S* instead of self-debugging | DeepSeek-R1-Distill-Qwen-32B · LiveCodeBench v2 | Pass@1: 70.1 -> 85.7 | Improved |
| add S* to a 7B model compared with 32B zero-shot | Qwen2.5-Coder-Instruct · LiveCodeBench v2 | Pass@1: 32B zero-shot 47.4 vs 7B + S* 54.4 | Improved |
| add S* on a different benchmark | Qwen2.5-Coder-7B-Instruct · CodeContests | Pass@1: 1.8 -> 10.9 | Improved |
| use adaptive input synthesis instead of generated tests for selection (ablation) | S* · LiveCodeBench v4 (avg of 4 models) | Pass@1: 53.1 -> 57.5 | Improved |
| use adaptive input synthesis instead of LLM judge for selection (ablation) | S* · LiveCodeBench v4 (avg of 4 models) | Pass@1: 55.6 -> 57.5 | Improved |
| add generated tests on top of public-test selection (ablation) | S* selection · LiveCodeBench v4 (avg of 4 models) | Pass@1: 53.8 -> 53.1 | No clear effect |
| add 2 rounds of iterative debugging on public tests (ablation) | QwQ-32B-Preview · LiveCodeBench v4 | Pass@1: 72.6 -> 74.2 | Improved |
| keep only last-round context in iterative debugging (ablation) | S* debugging · LiveCodeBench v4 | Pass@1 | Mixed |
| add model-generated tests to iterative debugging (ablation) | GPT-4o mini · LiveCodeBench v4 | Pass@1 | No clear effect |
| raise sampling temperature from 0.7 to 0.95 (ablation) | parallel sampling · LiveCodeBench v4 | Pass@N | No clear effect |
Open problems in test-time compute scaling
When does spending more compute at inference pay off, and how should it be spent?
- The gain depends on a verifier that is itself unreliable. · 36 papers state it
- Tested on math and code with checkable answers. · 28 papers state it
- Search and voting act on final answers, not steps. · 10 papers state it
Closest papers by meaning
- CodeChemist: Test-Time Scaling for Low-Resource Code Generation via Functional Knowledge Transfer (ICML 2026 · similarity 0.90)
- V1: Unifying Generation and Self-Verification for Parallel Reasoners (ICML 2026 · similarity 0.89)
- T1: Tool-integrated Verification for Test-time Compute Scaling in Small Language Models (ICLR 2026 · similarity 0.89)
- Rethinking Fine-Tuning when Scaling Test-Time Compute: Limiting Confidence Improves Mathematical Reasoning (NeurIPS 2025 · similarity 0.89)
- Rethinking Optimal Verification Granularity for Compute-Efficient Test-Time Scaling (NeurIPS 2025 · similarity 0.89)
- SCALE: Selective Resource Allocation for Overcoming Performance Bottlenecks in Mathematical Test-time Scaling (AAAI 2026 · similarity 0.89)
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.