scimeatlas

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

Self-Edit: Fault-Aware Code Editor for Code Generation

Kechi Zhang, Zhuo Li, Jia Li, Ge Li, Zhi Jin

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

Peking University

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

12measured effects
9improved
2no clear effect
1hurt

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.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add fault-aware editornine code LLMs · APPS-devaverage pass@1: 6.17% -> 11.67%Improved
add fault-aware editorGPT-J-6B finetuned · APPS-testpass@1: 0.70 -> 1.40Improved
add fault-aware editorCodeGen-2B zero-shot · HumanEvalpass@10: 34.15 -> 34.15No clear effect
add fault-aware editortext-davinci-002 · APPS-testpass@1: 7.48 -> 7.94Improved
use editor instead of CodeRanker rerankingGPT-Neo-1.3B finetuned · APPS-testpass@1: 0.3 -> 0.68Improved
use editor instead of CodeRanker rerankingGPT-Neo-1.3B finetuned · APPS-devpass@1: 8.0 -> 10.5Improved
add supplementary execution comments to editor input (ablation)Self-Edit (PyCodeGPT-110M) · APPS-devpass@1: 9.4 -> 11.4Improved
add supplementary execution comments to editor input (ablation)Self-Edit (PyCodeGPT-110M) · APPS-testpass@1: 0.3 -> 0.6Improved
add a second editing round (ablation)Self-Edit (PyCodeGPT-110M) · APPS-devpass@1: 11.4 -> 11.7Improved
add a second editing round (ablation)Self-Edit (PyCodeGPT-110M) · APPS-testpass@1: 0.6 -> 0.4Hurt
add in-context self-edit with text-davinci-002 as editortext-davinci-002 · HumanEvalpass@1: 34.76 -> 39.63Improved
add editor on problems by difficultyGPT-J-6B finetuned · APPS-test Competitionpass@1: 0.10 -> 0.10No clear effect

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