Research map / Large language models / Agents, code and math
Benchmarking Language Model Creativity: A Case Study on Code Generation
Yining Lu, Dixuan Wang, Tianjian Li, Dongwei Jiang, Sanjeev Khudanpur, Meng Jiang, Daniel Khashabi
University of Notre Dame · Johns Hopkins University
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add MCTS decoding (ablation) | CodeGemma-7B · NeoCoder t=0 | convergent creativity (%): 1.52 -> 12.12 | Improved |
| add MCTS decoding (ablation) | CodeGemma-7B · NeoCoder t=0 to t=5 | divergent creativity (%): 5.18 -> 12.97 (t=0) | Improved |
| add MCTS decoding (ablation) | CodeGemma-7B · NeoCoder | NeoGauge (%): 0.00 -> 0.82 (t=0) | No clear effect |
| add self-correction (ablation) | GPT-3.5 · NeoCoder t=0 | convergent creativity (%): 2.53 -> 14.65 | Improved |
| add self-correction (ablation) | GPT-3.5 · NeoCoder | divergent creativity (%): 5.41 -> 5.04 (t=0) | No clear effect |
| add planning (ablation) | GPT-3.5 · NeoCoder | divergent creativity (%): 5.41 -> 4.25 (t=0); 4.56 -> 5.84 (t=1) | Mixed |
| add planning (ablation) | GPT-3.5 · NeoCoder t=0 | convergent creativity (%): 2.53 -> 9.60 | Improved |
| add sampling (k=5, best sample) (ablation) | GPT-3.5 · NeoCoder t=0 | convergent creativity (%): 2.52 -> 2.02 | Hurt |
| add any of the four reasoning strategies (ablation) | GPT-3.5 / CodeGemma-7B · NeoCoder | NeoGauge (%) | No clear effect |
| impose more constraints (increase state t from 0 to 5) | GPT-4 · NeoCoder | divergent creativity (%): 4.5 -> 15.3 | Improved |
| impose more constraints (increase state t from 0 to 5) | GPT-4 · NeoCoder | convergent creativity (%): 16.2 -> 0.0 | Hurt |
| impose more constraints (increase state t from 0 to 5) | GPT-4 · NeoCoder | pass@1 (%): 16.1 -> 2.1 | Hurt |
Open problems this paper states
- “Dataset built from recent Codeforces problems may leak into the pre-training data of future LLMs.” → Benchmark data may have leaked into pre-training corpora. (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
- IDEAFix: Evaluation Framework for Creative Defixation Prompting in LLMs (NeurIPS 2026 · similarity 0.90)
- CLAWS:Creativity detection for LLM-generated solutions using Attention Window of Sections (NeurIPS 2025 · similarity 0.88)
- Within-Model vs Between-Prompt Variability in Large Language Models for Creative Tasks (NeurIPS 2026 · similarity 0.88)
- AI as Humanity’s Salieri: Quantifying Linguistic Creativity of Language Models via Systematic Attribution of Machine Text against Web Text (ICLR 2025 · similarity 0.87)
- Let's Think Outside the Box: Exploring Leap-of-Thought in Large Language Models with Creative Humor Generation (CVPR 2024 · similarity 0.87)
- Copilot Arena: A Platform for Code LLM Evaluation in the Wild (ICML 2025 · similarity 0.87)
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.