AI Paper Atlas

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

Natural Language to Code Translation with Execution

Freda Shi, Daniel Fried, Marjan Ghazvininejad, Luke Zettlemoyer, Sida I. Wang

EMNLP 2022Large language models › Agents, code and mathapproach: Execution-based code verification200 citations (OpenAlex)

University of Washington · Carnegie Mellon University · Toyota Technological Institute at Chicago

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

11measured effects
7improved
1no clear effect
2hurt
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.

On benchmark leaderboards

This paper tried a common change: Higher sampling temperature

raise sampling temperature toward 1.0 · MBPP, Spider · execution accuracy Hurt

What 185 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply MBR-exec selection instead of no selection (sampling, 3-shot)Codex · MBPPexecution accuracy: 47.7 -> 58.2Improved
apply MBR-exec selection instead of no selection (sampling, 3-shot)Codex · Spiderexecution accuracy: 48.5 -> 63.6Improved
apply MBR-exec selection instead of no selection (sampling, 3-shot)Codex · NL2BashBLEU-4: 53.0 -> 58.5Improved
sample at temperature 0.3 instead of greedy decoding before MBR-exec (ablation)MBR-exec · MBPP, Spider, NL2Bashexecution accuracy / BLEU-4: MBPP 56.0 -> 58.2; Spider 62.1 -> 63.6; NL2Bash 58.4 -> 58.5Mixed
raise sampling temperature toward 1.0 (ablation)all selection methods · MBPP, Spiderexecution accuracyHurt
use multiple groups of 3-shot prompts instead of concatenating all 15 examples (ablation)sample collection · MBPP, NL2Bashexecution accuracy / BLEU-4Improved
restrict baseline selection methods (ML, MBR-bleu etc.) to executable candidates (ablation)non-semantic selection methods · MBPP, Spiderexecution accuracyImproved
apply ML over executable commands instead of MBR-exec (ablation)Spider selection · Spiderexecution accuracyImproved
use more test cases (2 or 3 instead of 1) in MBR-exec (ablation)MBR-exec · MBPPexecution accuracyImproved
use soft loss instead of hard loss in MBR-exec (ablation)MBR-exec · MBPPexecution accuracyNo clear effect
larger sample size for MaLL selectionMaLL · MBPP, Spider, NL2Bashselection performanceHurt

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