scimeatlas

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

The Counterfeit Conundrum: Can Code Language Models Grasp the Nuances of Their Incorrect Generations?

Alex Gu, Wen-Ding Li, Naman Jain, Theo X. Olausson, Celine Lee, Koushik Sen, Armando Solar-Lezama

ACL 2024Large language models › Agents, code and mathapproach: Execution-based code verificationopen problems in this approach30 citations (OpenAlex)

Massachusetts Institute of Technology · Cornell University · University of California, Berkeley

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

8measured effects
1improved
3no clear effect
3hurt
1mixed

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
Evaluate counterfeit instead of correct programsCodeLlama 34B, DeepSeek-Coder 33B, GPT-3.5 · Correctness checking (HumanEval, ODEX)accuracy: about 60% overall vs 50% chance; counterfeit accuracy well below correctHurt
Use GPT-4 as checkercorrectness checking · HumanEval, ODEXaccuracy: about 60% -> around 80%Improved
Execute counterfeit (test-failing) instead of correct programscode LMs · Execution prediction (LeetCode, HumanEval)execution accuracyHurt
Repair counterfeit programs instead of resamplingCodeLlama 34B-Instruct, DeepSeek 33B · HumanEval, LeetCode repairsuccess rate: DeepSeek-33B on HumanEval beats resampling on 35/81 problemsHurt
Easier problems (higher pass@1) for correctness checkingcode LMs · HumanEval correctness checkingaccuracyNo clear effect
Easier problems for execution and repaircode LMs · HumanEvalaccuracy: only modest or weak correlation with difficultyMixed
Evaluate a model on its own counterfeits vs other models' counterfeitscode LMs · Correctness checking, execution (HumanEval)accuracyNo clear effect
Generate counterfeits from stronger vs weaker modelscode LMs · Correctness, execution on counterfeitsaccuracyNo clear effect

Open problems this paper states

Open problems in execution-based code verification

Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?

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