Research map / Large language models / Agents, code and math
How Diversely Can Language Models Solve Problems? Exploring the Algorithmic Diversity of Model-Generated Code
Seonghyeon Lee, Heejae Chon, Joonwon Jang, Dongha Lee, Hwanjo Yu
Kyungpook National University · Yonsei University · Pohang University of Science and Technology
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.
This paper tried a common change: Higher sampling temperature
raise sampling temperature from 0.2 to 1.0 · APPS introductory · Pass@10 and EA/NAUADC Improved
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 |
|---|---|---|---|
| compare model-generated to human-written correct solutions | code LMs · APPS (AtCoder introductory) | DA@25: humans about three distinct algorithms vs two for the model | Hurt |
| scale up to Deepseek-33B-Instruct-AWQ | Deepseek Coder · AtCoder introductory | algorithmic diversity: Pass@10 improves but EA/NAUADC do not | No clear effect |
| scale up to larger models | Deepseek Coder · CodeForces | algorithmic diversity | Improved |
| use GPT-4o instead of Deepseek models | code LMs · AtCoder introductory | EA: 1.548 (Deepseek-33B) -> 1.216 (GPT-4o) despite higher Pass@10 | Hurt |
| apply instruction tuning to Deepseek base (ablation) | Deepseek-6.7B · AtCoder introductory | EA: 1.653 -> 1.536 | Hurt |
| apply instruction tuning to Deepseek base (ablation) | Deepseek-6.7B · AtCoder interview | EA: 1.354 -> 1.578 | Improved |
| merge solutions from Qwen, Deepseek and GPT | solution set · CodeForces introductory | EA: +0.203 (1.922) | Improved |
| merge solutions from Qwen, Deepseek and GPT | solution set · AtCoder introductory | EA / NAUADC: EA +0.015; NAUADC -0.009 | No clear effect |
| raise sampling temperature from 0.2 to 1.0 (ablation) | Deepseek-coder-33B-Instruct-AWQ · APPS introductory | Pass@10 and EA/NAUADC | Improved |
| raise sampling temperature beyond 1.0 (ablation) | Deepseek-coder-33B-Instruct-AWQ · APPS introductory | Pass@10 vs diversity | Mixed |
Open problems this paper states
- “Diversity analysis relies heavily on large language models' reasoning ability, requiring substantial computational resources.” → Iterative or multi-step methods cost more tokens, latency and compute. (an open problem in code generation benchmarks)
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- NextCoder: Robust Adaptation of Code LMs to Diverse Code Edits (ICML 2025 · similarity 0.88)
- How efficient is LLM-generated code? A rigorous & high-standard benchmark (ICLR 2025 · similarity 0.88)
- Can LLM Replace Stack Overflow? A Study on Robustness and Reliability of Large Language Model Code Generation (AAAI 2024 · similarity 0.88)
- Hot or Cold? Adaptive Temperature Sampling for Code Generation with Large Language Models (AAAI 2024 · similarity 0.88)
- CodeChemist: Test-Time Scaling for Low-Resource Code Generation via Functional Knowledge Transfer (ICML 2026 · similarity 0.88)
- SWE-bench: Can Language Models Resolve Real-world Github Issues? (ICLR 2024 · similarity 0.88)
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.