scimeatlas

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

Quantifying Contamination in Evaluating Code Generation Capabilities of Language Models

Martin Riddell, Ansong Ni, Arman Cohan

ACL 2024Large language models › Agents, code and mathapproach: Code generation benchmarksopen problems in this approach126 citations (OpenAlex)

Yale University

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

11measured effects
4improved
3no clear effect
4hurt

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 changedWhereMeasuredEffect
remove MBPP questions whose solutions are similar (Top-1 score>80) to training data (ablation)StarCoderBase-15.5B · MBPPaccuracy: 41.6 -> 29.7 (-28.6%)Hurt
remove HumanEval questions with Top-1 score = 100 from evaluation (ablation)Pythia-12B · HumanEvalaccuracy: 9.8 -> 4.2 (-57.1%)Hurt
evaluate on top 10% vs bottom 10% most similar solutions in training dataStarCoderBase-15.5B · MBPPaccuracy: 22.0 -> 72.0Improved
evaluate on top 10% vs bottom 10% most similar solutions in training dataCodeGen-NL-16B · HumanEvalaccuracy: 0.0 -> 62.5Improved
de-contaminate benchmarks (removal of similar-solution questions)gap between StarCoderBase-15.5B and Pythia-12B · MBPPaccuracy gap: 23.8% -> 13.9%Hurt
de-contaminate benchmarks (removal of similar-solution questions)model rankings · MBPP and HumanEvalmodel rankingNo clear effect
increase model size within a family (ablation)StarCoderBase, Pythia, CodeGen-NL · MBPP/HumanEval subsets by similarityaccuracyImproved
evaluate on questions seen in The Stack (vs unseen)StarCoderBase-15.5B · MBPPaccuracy: 33.8 -> 71.2Improved
evaluate on questions seen in The Stack (vs unseen), not-trained-on modelCodeGen-NL-16B · MBPPaccuracy: 21.7 -> 11.5Hurt
vary gold program length (ablation)StarCoderBase-15.5B · MBPPsimilarity score / accuracyNo clear effect
questions seen 10+ times in training dataStarCoderBase · MBPP/HumanEval case studycorrectnessNo clear effect

Open problems in code generation benchmarks

Do code benchmarks and methods hold beyond Python, small test sets and leaked data?

All 5 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