atlas

Research map / Image generation / Fast diffusion sampling

Diffusion On Syntax Trees For Program Synthesis

ICLR 2025 · Image generation › Fast diffusion sampling · approach: Masked diffusion language model decoding · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes tree diffusion: a neural denoising model that learns to invert small random mutations on context-free grammar syntax trees, combined with beam search and a value network, applied to inverse graphics program synthesis.

Problem

Autoregressive LLM code generation lacks feedback from program execution and training LLMs to edit code requires scarce edit data; the goal is program synthesis for inverse graphics that can observe outputs and iteratively edit programs while staying syntactically valid.

Approach

Apply image-diffusion-style noising to syntax trees by sampling small grammar-valid mutations, train a conditional vision-language transformer to invert them (with reverse edit paths computed by a tree-diff algorithm), and use the policy plus a learned value network for beam search over edits.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use tree-diffusion policy rollouts instead of autoregressive CSGNet or REPL FlowTree diffusion · CSG2Dnode expansions to find a solutionHelped
Use tree-diffusion policy rollouts instead of autoregressive CSGNetTree diffusion · TinySVGnode expansions to find a solutionHelped
Add beam search to the tree-diffusion policyTree diffusion · CSG2D and TinySVGcalls to the rendererHelped
Remove the current compiled image from the policy input (ablation)Tree diffusion · RainbowperformanceHurt
Add an explicit reverse mutation path instead of training on only the last noising step (ablation)Tree diffusion · Rainbowsteps to find a solutionHelped
Add a small proportion of pure random initializations (ρ = 0.2) to forward-diffusion training (ablation)Tree diffusion · RainbowperformanceHelped
Replace forward-diffusion examples with pairs of independently sampled random expressions (ablation)Tree diffusion · RainbowperformanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: randomly sampled CSG2D expressions randomly sampled TinySVG expressions LZ4-filtered hard CSG2D test set

Benchmarks: CSG2D TinySVG CSG2D-Sketch

Metrics: number of nodes expanded (renderer calls) to solve IoU >= 0.99 for CSG2D pixel match within 1/256 for TinySVG

Baselines: CSGNet REPL Flow Autoregressive vision-language transformer with rejection sampling

Builds on: CSGNet Iceberg Lark NF-ResNet REPL-based program synthesis (Ellis et al.)

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