REVIEW 2 cited by
CodeFusion: A Pre-trained Diffusion Model for Code Generation
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
read the original abstract
Imagine a developer who can only change their last line of code, how often would they have to start writing a function from scratch before it is correct? Auto-regressive models for code generation from natural language have a similar limitation: they do not easily allow reconsidering earlier tokens generated. We introduce CodeFusion, a pre-trained diffusion code generation model that addresses this limitation by iteratively denoising a complete program conditioned on the encoded natural language. We evaluate CodeFusion on the task of natural language to code generation for Bash, Python, and Microsoft Excel conditional formatting (CF) rules. Experiments show that CodeFusion (75M parameters) performs on par with state-of-the-art auto-regressive systems (350M-175B parameters) in top-1 accuracy and outperforms them in top-3 and top-5 accuracy due to its better balance in diversity versus quality.
Forward citations
Cited by 2 Pith papers
-
Text-Diffusion Red-Teaming of Large Language Models: Unveiling Harmful Behaviors with Proximity Constraints
DART, a single-step embedding-space perturber trained with reinforcement learning, finds toxic prompts closer to reference prompts than fine-tuned or few-shot baselines on three LLMs.
-
A Novel Diffusion Model for Pairwise Geoscience Data Generation with Unbalanced Training Dataset
UB-Diff generates paired velocity maps and seismic waveforms from unbalanced data using a shared latent space plus a two-step training scheme, and reports better FID and downstream inversion scores than prior methods.
Discussion (0). Continue with ORCID to comment.