Encoder-Decoder Diffusion Language Models for Efficient Training and Inference

Marianne Arriola, Yair Schiff, Hao Phung, Aaron Gokaslan, Volodymyr Kuleshov
10/26/2025
cs.LGcs.AI

No official code found. Best implementation: kuleshov-group/e2d2 (46 stars, Apache-2.0, last commit 2025-10-29).

Abstract

Discrete diffusion models enable parallel token sampling for faster inference than autoregressive approaches. However, prior diffusion models use a decoder-only architecture, which requires sampling algorithms that invoke the full network at every denoising step and incur high computational cost. Our key insight is that discrete diffusion models perform two types of computation: 1) representing clean tokens and 2) denoising corrupted tokens, which enables us to use separate modules for each task. We propose an encoder-decoder architecture to accelerate discrete diffusion inference, which relies on an encoder to represent clean tokens and a lightweight decoder to iteratively refine a noised sequence. We also show that this architecture enables faster training of block diffusion models, which partition sequences into blocks for better quality and are commonly used in diffusion language model inference. We introduce a framework for Efficient Encoder-Decoder Diffusion (E2D2), consisting of an architecture with specialized training and sampling algorithms, and we show that E2D2 achieves superior trade-offs between generation quality and inference throughput on summarization, translation, and mathematical reasoning tasks. We provide the code, model weights, and blog post on the project page: https://m-arriola.com/e2d2

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[NeurIPS 2025] Encoder-Decoder Diffusion Language Models for Efficient Training and Inference

463Shell, PythonOct 21, 202511 months agoApache-2.0

Similar Papers

Cite this paper

@article{arriola2025encoderdecoder,
  title  = {Encoder-Decoder Diffusion Language Models for Efficient Training and Inference},
  author = {Marianne Arriola and Yair Schiff and Hao Phung and Aaron Gokaslan and Volodymyr Kuleshov},
  year   = {2025},
  eprint = {2510.22852},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.22852v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.22852.svg)](https://codeofpaper.com/paper/2510.22852)

Discussion