scimeatlas

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

Semantic Scaffolds for Pseudocode-to-Code Generation

Ruiqi Zhong, Mitchell Stern, Dan Klein

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

University of California, Berkeley

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

10measured effects
7improved
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.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add syntactic constraints (ablation)best-first search without constraints · SPoC test, unseen workers (B=100)fraction solved: 29.2% -> 59.3%Improved
add symbol table constraints on top of syntactic (ablation)Syntactic search · SPoC test, unseen workers (B=100)fraction solved: 59.3% -> 62.6%Improved
back off to syntactic constraints when SymTable finds no valid scaffold (ablation)SymTable search · SPoC test, unseen workers (B=100)fraction solved: 62.6% -> 62.8%Improved
add scaffold-based constrained searchprevious state of the art · SPoC test, unseen workers (B=100)fraction solved: 53.7% -> 62.8%Improved
hierarchical instead of regular beam search (Syntactic) (ablation)beam width 200 regular · SPoC test, unseen workers (B=100)fraction solved: 58.2% -> 59.3%Improved
reduce hierarchical scaffold beam width from 50 to 10 under Syntactic (ablation)hierarchical search · SPoC test, unseen workers (B=100)fraction solved: 59.3% -> 59.1%No clear effect
reduce hierarchical scaffold beam width from 25 to 10 under SymTable (ablation)hierarchical search · SPoC test, unseen workers (B=100)fraction solved: 61.9% -> 61.0%Hurt
hierarchical (W=25) vs regular (W=200) beam search under SymTable (ablation)SymTable search · SPoC test, unseen workers (B=100)fraction solved: 61.9% vs 61.9%No clear effect
hierarchical instead of regular beam search for program variation (ablation)beam search · SPoCfraction of divergences in first half: e.g. 56.8% -> 63.6% (length 20-30)Improved
use scaffold search instead of brute-force reject-sampling (ablation)unconstrained best-first search · SPoCverifier-call-adjusted leadImproved

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