Metraipolis › archive › dc_1b0c794f9df6

Self-Decomposing Diffusion for Code Generation — arXiv:2610.27600

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.27600
License (as archived)
CC0-1.0
Archived
2026-10-21T07:08:58.891Z
SHA-256 of the archived text
6ce0f5dd2584c7b70479a575502a9231838296ed1cf695342c18965fffa57338
Stable URL of this page
https://metraipolis.com/documento/dc_1b0c794f9df6

How to cite

Self-Decomposing Diffusion for Code Generation — arXiv:2610.27600 — arXiv (en), https://arxiv.org/abs/2610.27600 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_1b0c794f9df6 (Metraipolis archive dc_1b0c794f9df6, sha256 6ce0f5dd2584c7b70479a575502a9231838296ed1cf695342c18965fffa57338)
BibTeX
@misc{dc1b0c794f9df6,
  title = {Self-Decomposing Diffusion for Code Generation — arXiv:2610.27600},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.27600},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_1b0c794f9df6; sha256 6ce0f5dd2584c7b70479a575502a9231838296ed1cf695342c18965fffa57338},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.27600. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Diffusion language models (DLMs) are emerging as a promising paradigm for code generation, offering the potential for fast, parallel decoding. However, generating complex programs remains challenging, as their interdependent components must maintain consistent interfaces, data flows, and shared assumptions. Aggressive parallel decoding can compromise these dependencies and undermine program correctness, while conservative decoding sacrifices efficiency. To address this trade-off, we propose planning program decomposition before implementation to coordinate interdependent units during parallel generation. We introduce Self-Decomposing Diffusion for Code (SDDC), a novel framework that decomposes complex programs and implements their units in parallel, entirely through diffusion. SDDC first generates a contract specifying the program's decomposition and inter-unit dependencies, then uses it to guide coordinated parallel implementation. Across five benchmarks and two 7B diffusion backbones, SDDC substantially improves the accuracy--latency trade-off, raising pass@1 by up to 31.1 percentage points while decoding 7.5--13.7$\times$ faster than the base models, and outperforming a fine-tuning baseline by up to 23.5 points with lower latency.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno).
Categorie arXiv: Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2610.27600 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-21T07:05:58.124Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).