Work

Structure-Preserving Discrete Diffusion Models for Verified Code Generation

Year: 2025
Type: conference-paper
Abstract: Automatic code generation with large language models has problems in meeting test constraints, keeping structure, and fixing errors during generation. Autoregressive methods often give valid syntax but do not ensure correctness or global reasoning. We present DiffusionCoder, a discrete diffusion framework based on Qwen-72B. It models program synthesis as conditional denoising. It uses syntax-aware noise scheduling, test encoding, hierarchical generation, execution-guided sampling, and parameter-efficient tuning. These parts put verification into the generation loop. With test-driven signals, structure modeling, and execution feedback, DiffusionCoder improves reliability and coherence beyond existing methods.
Language: English
Open Access status: hybrid
OpenAlex ID: W7124735247
FWCI: 0.601
Cites: 13
Cited by: 2
Related to: 9