mlsanityData to 24 Nov 2026

Self-Decomposing Diffusion for Code Generation

arXiv 2610.27600 ↗Submitted 20 Oct 2026cs.CLcited by 0

On the map: Diffusion models → Discrete and text diffusion

also in 1 more
Abstract (arXiv)

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× faster than the base models, and outperforming a fine-tuning baseline by up to 23.5 points with lower latency.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 42 of its 51 references that are in the map. Submitted 20 Oct 2026.

Builds on

42 of 51 references.

Closest ancestors · 17

Same direction, newest first

  1. 2026Scheduling Thoughts: Learning the Order of Thought in Diffusion Language Models22 Jun
  2. 2026Constrained Code Generation with Discrete Diffusion16 May
  3. 2026AnCoder: Anchored Code Generation via Discrete Diffusion Models5 Feb
  4. 2026DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas1 Feb
  5. 2026Plan, Verify and Fill: A Structured Parallel Decoding Approach for Diffusion Language Models18 Jan
  6. 2025ReFusion: A Diffusion Large Language Model with Parallel Autoregressive Decoding15 Dec
  7. 2025Saber: An Efficient Sampling with Adaptive Acceleration and Backtracking Enhanced Remasking for Diffusion Language Model20 Oct
  8. 2025Planned Diffusion20 Oct
  9. 2025Unlocking the Potential of Diffusion Language Models through Template Infilling13 Oct
  10. 2025Dream-Coder 7B: An Open Diffusion Language Model for Code1 Sep
  11. 2025Dream 7B: Diffusion Large Language Models21 Aug
  12. 2025Seed Diffusion: A Large-Scale Diffusion Language Model with High-Speed Inference4 Aug
5 more
  1. 2025DiffuCoder: Understanding and Improving Masked Diffusion Models for Code Generation25 Jun
  2. 2025Reinforcing the Diffusion Chain of Lateral Thought with Diffusion Language Models15 May
  3. 2025Large Language Diffusion Models14 Feb
  4. 2024Simple and Effective Masked Diffusion Language Models11 Jun
  5. 2024Simplified and Generalized Masked Diffusion for Discrete Data6 Jun

Other references · 25

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,938
  2. 2021Program Synthesis with Large Language Modelscited by 3,972
  3. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,843
  4. 2025Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decodingcited by 489
  5. 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 190
  6. 2023CodePlan: Repository-level Coding using LLMs and Planningcited by 152
  7. 2025KodCode: A Diverse, Challenging, and Verifiable Synthetic Dataset for Codingcited by 133
  8. 2023Self-planning Code Generation with Large Language Modelscited by 130
  9. 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generationcited by 111
  10. 2024Planning In Natural Language Improves LLM Search For Code Generationcited by 94
  11. 2022Parsel: Algorithmic Reasoning with Language Models by Composing Decompositionscited by 69
  12. 2023CodeChain: Towards Modular Code Generation Through Chain of Self-revisions with Representative Sub-modulescited by 60
13 more
  1. 2025ParallelBench: Understanding the Trade-offs of Parallel Decoding in Diffusion LLMscited by 51
  2. 2025Learning to Keep a Promise: Scaling Language Model Decoding Parallelism with Learned Asynchronous Decodingcited by 30
  3. 2026DAPD: Dependency-Aware Parallel Decoding via Attention for Diffusion LLMscited by 25
  4. 2024Divide-and-Conquer Meets Consensus: Unleashing the Power of Functions in Code Generationcited by 20
  5. 2025Unveiling the Potential of Diffusion Large Language Model in Controllable Generationcited by 19
  6. 2025Constrained Decoding of Diffusion LLMs with Context-Free Grammarscited by 19
  7. 2025DINGO: Constrained Inference for Diffusion LLMscited by 18
  8. 2026Stable-DiffCoder: Pushing the Frontier of Code Diffusion Large Language Modelcited by 14
  9. 2025TreeDiff: AST-Guided Code Generation with Diffusion LLMscited by 13
  10. 2025Beyond Synthetic Benchmarks: Evaluating LLM Performance on Real-World Class-Level Code Generationcited by 9
  11. 2026Lookahead-then-Verify: Reliable Constrained Decoding for Diffusion LLMs under Context-Free Grammarscited by 9
  12. 2026Scaling Test-Driven Code Generation from Functions to Classes: An Empirical Studycited by 5
  13. 2026ClassEval-Pro: A Cross-Domain Benchmark for Class-Level Code Generationcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Parallelism and Generation Order in Masked Diffusion Language Models: Limits Today, Potential Tomorrow
  2. 2026Locally Coherent Parallel Decoding in Diffusion Language Models
  3. 2026Learning When to Commit: Schedule Distillation for Fast Diffusion Language Models
  4. 2026DiffBench Meets DiffAgent: End-to-End LLM-Driven Diffusion Acceleration Code Generation
  5. 2025Exploring the Potential of Diffusion Large Language Models in Code Generation
  6. 2026From Position Risks to Block Survival: Faster Generation for Diffusion Language Models
  7. 2026Distilled Continuous Diffusion Language Models Can Write Code in Few Steps---or One
  8. 2025Self Speculative Decoding for Diffusion Large Language Models