Causal Autoregressive Diffusion Language Model

Junhao Ruan, Bei Li, Yongjing Yin, Pengcheng Huang, Xin Chen, Jingang Wang, Xunliang Cai, Tong Xiao, JingBo ZhuarXiv 2026

TL;DR

Causal Autoregressive Diffusion (CARD) bridges the gap between the training efficiency of standard autoregressive models and the fast parallel inference of diffusion models. By introducing a strictly causal attention mask to the discrete diffusion process alongside innovative masking and reweighting strategies, CARD matches autoregressive training speeds while enabling up to 4$\times$ faster parallel decoding during inference.

What Problem Does This Paper Address?

Large Language Models (LLMs) typically rely on Causal Autoregressive Models (ARMs). While ARMs are highly efficient to train, they suffer from a major bottleneck during inference: they generate text token-by-token sequentially, which is computationally slow and fails to leverage modern parallel hardware.

Text diffusion models offer a promising alternative by predicting multiple tokens in parallel. However, standard text diffusion models (like MDLM) rely on bidirectional attention, which breaks Key-Value (KV) caching and drops token utilization efficiency to 50% during training. Hybrid approaches like Block Diffusion (BD3LM) attempt to restore causality by grouping tokens into blocks, but they introduce massive computational overhead—up to 3$\times$ slower training—due to complex block-wise masking and sequence duplication.

CARD addresses this dilemma by introducing a framework that achieves ARM-level training efficiency while unlocking the high-throughput parallel generation benefits of diffusion models.

Figure 1. Comparison of training paradigms. Current diffusion methods like MDLM and BD3LM are inefficient compared to ARM; MDLM reaches only 50% of ARM’s expected efficiency, while BD3LM relies on complex masking and sequence duplica- tion. CARD overcomes these issues by using causal diffusion, maintaining the same high efficiency as ARM while achieving better performance.

Methods

CARD introduces Causal Diffusion, combining a standard triangular causal attention mask with a discrete absorbing-state (masking) diffusion process.

  1. Shifted Causal Attention: Instead of conditioning on a clean history, CARD predicts the original token $x_n$ based on a stochastically corrupted prefix $x^t_{<n}$. This allows dense, per-token supervision across the entire sequence in a single forward pass.
  2. Soft Tail Masking: Causal diffusion suffers from a unique vulnerability called Information Collapse. If early tokens in a sequence are masked, a causal model has no context (past or future) to guess the next token, leading to optimization instability. Soft Tail Masking restricts noise to a dynamic window at the tail of the sequence, ensuring a clean prefix acts as a stable anchor while maintaining local context.
  3. Context-aware Reweighting: To handle highly ambiguous, heavily masked contexts that cause noisy gradients, CARD adaptively down-weights the loss at the token level. It computes a local ambiguity score based on three dimensions of the noise: quantity, density (consecutive masks), and distance from the target token.
  4. Confidence-Based Block Inference: During inference, CARD's causal structure natively supports KV-caching. The model appends a variable number of [MASK] tokens to the prefix and refines them in parallel through iterative denoising, accepting tokens dynamically when the model's confidence exceeds a given threshold.
Figure 2. Inference comparison of the four paradigms. CARD achieves high-quality results similar to ARM. With KV cache support, friendly operators, and parallel generation, it offers faster throughput than earlier methods. In particular, our inference parallelism is flexible, unlike BD3LM which is tied to the fixed block size used during training.

Datasets

The authors pre-trained 1B-parameter models on a 300B-token subset of FineWeb. For evaluation, they used:

  • Downstream Tasks (LM Evaluation Harness): ARC-Challenge, ARC-Easy, MMLU, SciQ, PIQA, HellaSwag, CommonsenseQA, and Winogrande.
  • Zero-Shot Perplexity Domains: AG News, arXiv, LAMBADA, LM1B, OpenWebText, PTB, PubMed, and WikiText.
  • Data Potential Analysis: A 1B-token subset of FineWeb-Edu was used for multi-epoch scaling analysis.

Key Insights and Ideas

  • Causality Stabilizes Diffusion: By forcing the diffusion process into a causal framework, CARD avoids the token utilization penalties of bidirectional models without needing the heavy block-vectorization overhead of block diffusion.
  • "Teacherless Training" Boosts Generalization: Standard ARMs suffer from "myopic" next-token prediction, which can lead to rote memorization. Because CARD forces the model to reconstruct tokens from corrupted contexts, it acts as a powerful regularizer, incentivizing the model to capture global structural patterns. As a result, CARD actually outperformed the ARM baseline in zero-shot perplexity on 6 out of 8 text domains.
  • Higher Data Potential: In data-constrained, multi-epoch training scenarios, ARMs saturate quickly. CARD continues to extract signal and improve across repeated epochs, making it highly data-efficient when high-quality data is scarce.
Figure 3. Soft Tail Masking concentrates noise at the sequence tail to resolve unlearnable regions in causal models via local clean anchors. (Bottom) Context-aware Reweighting adaptively down- weights the loss for high-ambiguity contexts similar to the diffusion ELBO principle, improving training stability.

Key Results

  • Training Efficiency: CARD eliminates block-wise overhead entirely, matching the training throughput of standard ARMs and running 3$\times$ faster than Block Diffusion (BD3LM).
  • Downstream Performance: CARD achieved an average zero-shot accuracy of 53.23%, outperforming existing diffusion baselines (MDLM and BD3LM) by over 5.7 absolute percentage points and significantly narrowing the gap to ARMs (56.39%).
  • Inference Speedup: CARD delivers a 1.7$\times$ to 4.0$\times$ wall-clock speedup during inference via parallel decoding with minimal quality degradation.

Limitations and Future Work

The primary limitation occurs under aggressive parallel decoding settings (e.g., forcing a 4$\times$ speedup). When the step budget is heavily restricted, the model is compelled to complete text blocks non-autoregressively at the final step. Lacking sufficient autoregressive guidance, the generation can collapse into logical repetition and text looping.

The authors note that stronger base models will likely mitigate this sensitivity, and they recommend adhering to moderate acceleration ratios (around 1.7$\times$) to strike the optimal balance between speed and text quality.

Summary updated

BibTeX
@misc{ruan2026causal,
  author = {Junhao Ruan and Bei Li and Yongjing Yin and Pengcheng Huang and Xin Chen and Jingang Wang and Xunliang Cai and Tong Xiao and JingBo Zhu},
  title = {{Causal Autoregressive Diffusion Language Model}},
  year = {2026},
  eprint = {2601.22031},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.22031},
}
Figure