AI Paper Atlas

Research map / Image generation / Fast diffusion sampling

CodeFusion: A Pre-trained Diffusion Model for Code Generation

Mukul Singh, José Cambronero, Sumit Gulwani, Vu Le, Carina Negreanu, Gust Verbruggen

EMNLP 2023Image generation › Fast diffusion samplingapproach: Masked diffusion language model decoding81 citations (OpenAlex)

Microsoft

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

9measured effects
8improved
1no clear effect

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 unsupervised code generation pre-training task (ablation)CODEFUSION · Python/Bash/CF top-1accuracy: Python 70.9 -> 80.7; Bash 52.3 -> 66.7; CF 64.2 -> 72.8Improved
add CPD pre-training objective (ablation)CODEFUSION · Python/Bash/CF top-1accuracy: Python 76.7 -> 80.7; Bash 61.1 -> 66.7; CF 68.2 -> 72.8Improved
use decoder D and head H instead of grounding (closest token at last step) (ablation)CODEFUSION · Python/Bash/CF top-1accuracy: Python 73.5 -> 80.7; Bash 60.5 -> 66.7; CF 63.2 -> 72.8Improved
use decoder D and head H instead of clamping (ablation)CODEFUSION · Python/Bash/CF top-1accuracy: Python 77.1 -> 80.7; Bash 63.2 -> 66.7; CF 64.4 -> 72.8Improved
CODEFUSION vs auto-regressive models at top-1CODEFUSION (75M) · Python/Bash/CF top-1accuracy: Python 80.7 (GPT-3 82.5); Bash 66.7 (CodeT5 67.6); CF 72.8 (CodeT5 72.7)No clear effect
diffusion model instead of auto-regressive model at top-3/top-5CODEFUSION · Python top-5CodeBERTScore: 90.3 vs best baseline 85.8 (GPT-3)Improved
code-specific diffusion design with decoder instead of text diffusion (GENIE)CODEFUSION · Syntactic validity of top-1 (Python)% valid: 24.2 -> 67.6Improved
diffusion vs auto-regressive generation, diversityCODEFUSION · top-5 generations, 3 languagesn-gram fraction: 1-gram 0.53 vs best baseline 0.32 (StarCoder)Improved
increase diffusion timestepsCODEFUSION · Python top-1CodeBERTScoreImproved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

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