cs.LGOct 19, 2026

Learning to Couple: Context-Adaptive Joint Denoising for Diffusion Language Models

Authors: Zilei Shao, Ian Li, Heng Zhao, Kewei Lian, Guy Van den Broeck, Zhe Zeng, Anji Liu

Organizations: University of California, Los Angeles · University of California, San Diego · University of Virginia · National University of Singapore

Abstract

Diffusion language models accelerate generation by predicting multiple tokens in parallel, but factorized denoisers treat simultaneous predictions as conditionally independent. Decoding heuristics reduce the resulting errors by controlling which tokens are committed, but leave the underlying distribution factorized. Joint modeling addresses the source of the problem, yet existing methods attach separately learned layers to frozen denoisers, leaving the backbone unadapted to the joint objective and the coupling parameters fixed across contexts. We propose Codpula, a context-parameterized denoiser combining a Transformer with a tractable probabilistic inference layer. Given a partially masked input, the Transformer produces token potentials that shape per-position predictions and compact gates that modulate the layer's coupling parameters, yielding a context-dependent joint distribution while retaining exact conditional inference. We jointly optimize both components under a conditional denoising objective using a dual-flow multiplicative update that preserves valid probabilistic parameters. At inference, Codpula supports standard heuristics and uses conditional queries to adapt commitments to dependencies among proposed tokens without extra Transformer evaluations within a step. Codpula sets new state-of-the-art results across a broad suite of reasoning benchmarks while advancing the accuracy-latency Pareto frontier in mathematical reasoning and code generation.

Figures & tables

Appendix figures & tables19 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. CoDAR: Continuous Diffusion Language Models are More Powerful Than You Think

    Mar 3, 2026Junzhe Shen, Jieru Zhao, Ziwei He +1Continuous Diffusion Language ModelsDiffusion Language Model Decoding

  2. Hierarchical Continuous Diffusion Language Models

    Oct 1, 2026Hui Ren, Zihan Li, Chang Liu +2Structured Reasoning in Language ModelsDiffusion Language Model Decoding

  3. DA-DLM: Explicitly Modeling Token Dependencies in Diffusion Language Models

    Sep 14, 2026Pengyu Ji, Zichen Zhang, Xiang Hu +1Non-Autoregressive Text GenerationDiffusion Language Model Decoding