atlas

Research map / Large language models / Agents, code and math

LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code

ICLR 2025 · Large language models › Agents, code and math · approach: Mathematical and structural reasoning benchmarks · 31 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.

Introduces LiveCodeBench, a contamination-free, continuously updated benchmark of competitive programming problems from LeetCode, AtCoder, and CodeForces, evaluating four code scenarios (generation, self-repair, execution, test output prediction) across 52 LLMs.

Problem

Existing code benchmarks (HumanEval, MBPP, APPS) suffer from training-data contamination, overfitting, saturation, and focus only on natural-language-to-code generation.

Approach

Collect problems over time from competition platforms with release dates, so models can be evaluated only on problems released after their training cutoff; add self-repair, code execution, and test output prediction scenarios for holistic evaluation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add post-training to the base modelsLlama3-70B, DSCoder-33B, and Phind-34B · LiveCodeBench, code generationPass@1: 8.2, 7.3 and 9.5 pointsHelped
Evaluate code execution with chain-of-thought prompting (ablation)GPT-4O-2024-05-13 · LiveCodeBench, code executionPass@1: 39.10 -> 91.00Helped
Evaluate code execution with chain-of-thought prompting (ablation)Claude-3-Opus · LiveCodeBench, code executionPass@1: 36.50 -> 80.10Helped
Evaluate code execution with chain-of-thought prompting (ablation)Gemini-Flash-1.5-May · LiveCodeBench, code executionPass@1: 21.40 -> 57.10Helped
Evaluate code execution with chain-of-thought prompting (ablation)CodeLlama-13B-Instruct · LiveCodeBench, code executionPass@1: 23.50 -> 14.10Hurt
Evaluate code execution with chain-of-thought prompting (ablation)DSCoder-1.3B-Instruct · LiveCodeBench, code executionPass@1: 18.10 -> 17.00No clear effect
Evaluate DeepSeek models on LeetCode problems released after August 2023DSCoder-33B · LeetCode, code generationPass@1: sim 60 in May problems to Pass@1 sim 0 in September LeetCode problemsHurt
Evaluate GPT-4O on problems released since its November cutoffGPT-4O · LeetCode, code generationperformanceHurt
Compare fine-tuned open models on LiveCodeBench rather than HumanEval+DSCoder-1.3B-Instruct · HumanEval+ and LiveCodeBench-Easy, code generationPass@1: 59.8% on HumanEval+ but only 26.3% on LCB-EasyMixed
Use post-trainingLlama3-70B, DSCoder-33B, and Phind-34B · HumanEval+Pass@1Helped
Evaluate with chain-of-thought prompting (ablation)Open models · LiveCodeBench, code executionPass@1Mixed
Evaluate with chain-of-thought prompting (ablation)Closed models · LiveCodeBench, code executionPass@1Helped

Surprising findings

Experimental setup

Datasets: LeetCode problems AtCoder problems CodeForces problems

Benchmarks: LiveCodeBench HumanEval+

Metrics: pass@1

Baselines: HumanEval+ GPT-4-Turbo GPT-4 Claude-3-Opus DeepSeek-Coder-33B-Instruct CodeLlama-70B-Instruct Gemini-Pro

Builds on: HumanEval+ CRUXEval CodeT AlphaCodium

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