Causal Autoregressive Diffusion Language Model
Junhao Ruan, Bei Li, Yongjing Yin, Pengcheng Huang, Xin Chen, Jingang Wang, Xunliang Cai, Tong Xiao, JingBo Zhu
TL;DR
CARD addresses the inefficiency of autoregressive decoding and the latency of diffusion-based generation by reformulating diffusion within a strictly causal, GPT-like Transformer. It introduces soft tail masking and context-aware reweighting to stabilize training under causal diffusion, and leverages KV caching with a confidence-based dynamic inference strategy to achieve parallel decoding. Empirically, CARD matches or surpasses diffusion baselines on downstream tasks and perplexity, while delivering substantial training and inference speedups, thereby offering a data-efficient, scalable backbone for next-generation LLMs. This framework demonstrates a practical path to combining the stability and data efficiency of ARMs with the throughput advantages of diffusion, with significant implications for efficient, large-scale language modeling.
Abstract
In this work, we propose Causal Autoregressive Diffusion (CARD), a novel framework that unifies the training efficiency of ARMs with the high-throughput inference of diffusion models. CARD reformulates the diffusion process within a strictly causal attention mask, enabling dense, per-token supervision in a single forward pass. To address the optimization instability of causal diffusion, we introduce a soft-tailed masking schema to preserve local context and a context-aware reweighting mechanism derived from signal-to-noise principles. This design enables dynamic parallel decoding, where the model leverages KV-caching to adaptively generate variable-length token sequences based on confidence. Empirically, CARD outperforms existing discrete diffusion baselines while reducing training latency by 3 $\times$ compared to block diffusion methods. Our results demonstrate that CARD achieves ARM-level data efficiency while unlocking the latency benefits of parallel generation, establishing a robust paradigm for next-generation efficient LLMs.
