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

DevFeed: [Learning to Couple: Context-Adaptive Joint Denoising for Diffusion Language Models](<https://devfeed.tech/articles/learning-to-couple-context-adaptive-joint-denoising-for-diffusion-language-models-93536.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.25723>)

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

Published: 2026-10-21T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [Transformers](<https://devfeed.tech/topics/transformers.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [code](<https://devfeed.tech/tags/code.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [coupling](<https://devfeed.tech/tags/coupling.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [denoising](<https://devfeed.tech/tags/denoising.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [latency](<https://devfeed.tech/tags/latency.md>), [modeling](<https://devfeed.tech/tags/modeling.md>), [modulate](<https://devfeed.tech/tags/modulate.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [predictions](<https://devfeed.tech/tags/predictions.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>), [queries](<https://devfeed.tech/tags/queries.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [transformer](<https://devfeed.tech/tags/transformer.md>)

## AI overview

Codpula addresses errors from diffusion language models' conditionally independent token predictions by jointly adapting a Transformer and a probabilistic inference layer. The Transformer supplies token potentials and compact gates that make the joint distribution's coupling context-dependent, while preserving exact conditional inference. Both components are optimized with a conditional denoising objective and a dual-flow multiplicative update that preserves valid probabilistic parameters. At inference, conditional queries adapt token commitments to dependencies among proposed tokens without extra Transformer evaluations within a step; standard decoding heuristics remain supported. The abstract reports state-of-the-art results across reasoning benchmarks and improved accuracy-latency tradeoffs in mathematical reasoning and code generation.

## Source excerpt

arXiv:2610.25723v1 Announce Type: new 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.