atlas

Research map / Image generation / Fast diffusion sampling

Energy-Based Diffusion Language Models for Text Generation

ICLR 2025 · Image generation › Fast diffusion sampling · approach: Masked diffusion language model decoding · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes EDLM, a residual energy-based model applied over a pretrained masked diffusion LM at each denoising step, with the energy obtained from a pretrained AR model or via NCE fine-tuning, and sampled by parallel importance sampling.

Problem

Discrete diffusion language models underperform autoregressive models, especially with few sampling steps, because their factorized per-token denoising ignores sequence-level dependencies, causing accumulated decoding error.

Approach

Adds a sequence-level residual energy function on top of a pretrained masked diffusion denoiser, p_EDLM(x0|xt) ∝ p_diffusion(x0|xt)·exp(-E(x0,xt)); the energy is set from a pretrained AR model's likelihood (EDLM-AR/coAR) or trained via noise contrastive estimation (EDLM-NCE), and sampled with self-normalized parallel importance sampling.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add a sequence-level energy model and parallel importance samplingMDLM · OpenWebText generation, 1024 stepsGPT2 Gen PPL: 42.6 -> 25.5Helped
add a sequence-level energy modelMDLM · Text8 testBPC: ≤ 1.40 -> ≤ 1.24Helped
use carry-over autoregressive energy parameterization (ablation)EDLM-AR · OpenWebText testPPL: 20.49 -> 17.58Helped
use carry-over autoregressive energy parameterization (ablation)EDLM-AR · WikitextPPL: 29.24 -> 28.31Helped
use carry-over autoregressive energy parameterization (ablation)EDLM-AR · PTBPPL: 89.67 -> 89.73No clear effect
fine-tune the energy function with NCE instead of using the pretrained AR model (ablation)EDLM · OpenWebText test and zero-shot datasetsPPL: 20.49 vs 21.52; 46.92 vs 49.70Mixed
apply importance sampling only in the early window, with window length 0.2 (ablation)EDLM · OpenWebText generationsampling time: ∼17 seconds -> ∼13 seconds; ∼1.3×Helped
increase the importance-sampling window length (ablation)EDLM · OpenWebText generation, 1024 stepsGPT2 Gen PPL: 42.6 -> ∼30Helped
vary importance-sampling sample size below 16 (ablation)EDLM · OpenWebText generationgenerative perplexityNo clear effect
use a shorter importance-sampling window rather than a longer one (ablation)EDLM · OpenWebText generationsampling efficiency: ∼1.3×Helped

Surprising findings

Limitations

Experimental setup

Datasets: OpenWebText Text8 PTB Wikitext LM1B Lambada AG News Pubmed Arxiv

Benchmarks: Text8 OpenWebText PTB Wikitext LM1B Lambada AG News Pubmed Arxiv

Metrics: bits per character perplexity generative perplexity entropy wall-clock time

Baselines: Transformer AR SEDD MDLM MD4 D3PM SUNDAE Ssd-LM

Builds on: MDLM noise contrastive estimation self-normalized importance sampling SEDD

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy