← All entries
Paper2025#1118

WeDLM: Reconciling Diffusion Language Models with Standard Causal Attention for Fast Inference

Summary

arXiv 2512.22737. Proposes WeDLM: Topological Reordering places observed tokens in the physical prefix while preserving RoPE logical positions so masked recovery works under a strict causal mask; Dual-Stream Masking reduces train–inference gap; Streaming Parallel Decoding commits confident left-to-right prefixes with a dynamic sliding window. Instantiated on Qwen2.5-7B and Qwen3-8B (100B continued pretrain + SFT). Reports ~3× speedups on reasoning vs vLLM-served AR and up to ~10× in low-entropy regimes while matching/improving quality. Code/models: github.com/Tencent/WeDLM; HF tencent/WeDLM collection; project wedlm.github.io.

Venue
arXiv / WeChat AI (Tencent); Peking University; Tsinghua University
Publisher
arXiv / WeChat AI (Tencent); Peking University; Tsinghua University
Source
arxiv
Access
free (arXiv; GitHub Tencent/WeDLM; Hugging Face tencent/WeDLM; project page)
Language
en
Purpose
Make diffusion-style parallel decoding compatible with standard causal KV caching so DLLMs can beat optimized AR engines (vLLM) in wall-clock speed without custom kernels.
Scale
Continued pretraining 100B tokens; SFT 10B tokens (paper also mentions 10K instruction pairs in one section); models WeDLM-7B/8B from Qwen2.5-7B and Qwen3-8B.
Domain
diffusion language models; causal attention; KV cache; inference acceleration
Used for
DLLM inference; AR-to-diffusion adaptation; vLLM-compatible parallel decoding
Time period
2025-12-28 (arXiv); project page / Discord mid 2026-01-02
Author type
industry + academia (WeChat AI/Tencent; Peking University; Tsinghua University)
Added
Sep 2, 2026
Verified
Sep 2, 2026
Research status
done
Found via
#random-papers

From the source

Published
Dec 28, 2025
arXiv categories
cs.CL
Author comment
23 pages, 8 figures, project page: https://wedlm.github.io/
Citations
44 (5 influential)
References
34

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

Autoregressive (AR) generation is the standard decoding paradigm for Large Language Models (LLMs), but its token-by-token nature limits parallelism at inference time. Diffusion Language Models (DLLMs) offer parallel decoding by recovering multiple masked tokens per step; however, in practice they often fail to translate this parallelism into deployment speed gains over optimized AR engines (e.g., vLLM). A key reason is that many DLLMs rely on bidirectional attention, which breaks standard prefix KV caching and forces repeated contextualization, undermining efficiency. We propose WeDLM, a diffusion decoding framework built entirely on standard causal attention to make parallel generation prefix-cache friendly. The core idea is to let each masked position condition on all currently observed tokens while keeping a strict causal mask, achieved by Topological Reordering that moves observed tokens to the physical prefix while preserving their logical positions. Building on this property, we introduce a streaming decoding procedure that continuously commits confident tokens into a growing left-to-right prefix and maintains a fixed parallel workload, avoiding the stop-and-wait behavior common in block diffusion methods. Experiments show that WeDLM preserves the quality of strong AR backbones while delivering substantial speedups, approaching 3x on challenging reasoning benchmarks and up to 10x in low-entropy generation regimes; critically, our comparisons are against AR baselines served by vLLM under matched deployment settings, demonstrating that diffusion-style decoding can outperform an optimized AR engine in practice.

Tags

wedlmdiffusion-lmcausal-attentionkv-cachetencentqwen3arxiv-2512.22737inference

Topics

diffusion language models; causal attention; KV cache; inference acceleration

Research notes

  • Discord linked wedlm.github.io; primary resolved to arXiv abs/PDF 2512.22737 + project page authors/bibtex. License blank (not clearly stated on abs page). GitHub Tencent/WeDLM confirmed via search.

Cites, within this collection 1

Cited by, within this collection 1

Similar entries