The Flexibility Trap: Rethinking the Value of Arbitrary Order in Diffusion Language Models
Zanlin Ni (Tsinghua University, Alibaba Group), Shenzhi Wang, Yang Yue, Tianyu Yu, Weilin Zhao, Yeguo Hua, Tianyi Chen, Jun Song, YuCheng, Bo Zheng, Gao Huang
Overview
This talk, presented by Zanlin Ni on behalf of the Leap Lab team at Tsinghua University and Alibaba Group at the ICML conference—where it was honored with the ICML Outstanding Paper Award—examines a fundamental paradox in Diffusion Language Models (DLLMs). While the industry standard for generative text remains strictly sequential, left-to-right next-token prediction as seen in models like GPT, DeepSeek, Claude, and Gemini, DLLMs break these constraints by supporting parallel decoding and arbitrary generation orders. The core premise of the research is that having a larger set of generation trajectories should theoretically expand a model's reasoning boundary. However, the authors demonstrate that this flexibility conceals a counterintuitive trap.

Key moments
- 0:00 Introduction to Diffusion Language Models and core features
- 2:00 The intuition and promise of arbitrary order flexibility
- 4:00 Empirical findings: Auto-regressive order outperforms on pass-k
- 6:00 Measuring the realizable solution set and the reality check
- 7:30 Why the trap happens: Handling uncertainty and entropy collapse
- 10:00 Impact on reinforcement learning post-training
- 12:00 Introducing JustGRPO: Training with auto-regressive order
- 15:00 Preserving parallel decoding speed during inference
- 18:30 Audience Q&A and closing remarks
The Flexibility Trap: Rethinking the Value of Arbitrary Order in Diffusion Language Models
Speakers: Zanlin Ni (Tsinghua University, Alibaba Group); Shenzhi Wang; Yang Yue; Tianyu Yu; Weilin Zhao; Yeguo Hua; Tianyi Chen; Jun Song; YuCheng; Bo Zheng; Gao Huang
Conference: ICML
YouTube: https://slideslive.com/39083616
Overview
This talk, presented by Zanlin Ni on behalf of the Leap Lab team at Tsinghua University and Alibaba Group at the ICML conference—where it was honored with the ICML Outstanding Paper Award—examines a fundamental paradox in Diffusion Language Models (DLLMs). While the industry standard for generative text remains strictly sequential, left-to-right next-token prediction as seen in models like GPT, DeepSeek, Claude, and Gemini, DLLMs break these constraints by supporting parallel decoding and arbitrary generation orders. The core premise of the research is that having a larger set of generation trajectories should theoretically expand a model's reasoning boundary. However, the authors demonstrate that this flexibility conceals a counterintuitive trap.
The talk matters because it directly challenges the prevailing assumption that arbitrary-order generation is universally beneficial for advanced reasoning tasks in non-autoregressive systems. By investigating how decoding trajectories interact with reinforcement learning (RL) post-training, the Leap Lab team reveals why arbitrary-order decoding actually shrinks the reachable solution space. Furthermore, the talk introduces a surprisingly simple yet highly effective practical remedy—JustGRPO—which restores auto-regressive training dynamics to diffusion architectures without sacrificing their parallel inference speedups.
Background
▶ Watch: Introduction to Diffusion Language Models and core features (0:00)
For years, the machine learning and systems community has relied almost exclusively on auto-regressive (AR) decoding paradigms. AR models generate text sequentially, left-to-right, enforcing a fixed trajectory. In contrast, diffusion language models emerged as a compelling alternative designed to break two primary constraints: they enable parallel decoding (generating multiple token positions simultaneously for direct wall-clock efficiency wins) and arbitrary order (filling in sequences in any non-monotonic order).
In systems and algorithmic design, a larger search space or a superset of execution paths is intuitively expected to yield superior performance. Because the set of arbitrary-order trajectories strictly contains the single left-to-right trajectory as a special case, researchers naturally assumed that DLLMs could explore more reasoning paths, bypass local traps, and ultimately achieve a broader reasoning boundary. However, realizing this potential requires robust post-training pipelines, particularly Reinforcement Learning with Verifiable Rewards (RLVR). Prior literature establishes that RL post-training acts as an amplifier, sharpening a model's reachable solution set by reinforcing correct sampling pathways rather than discovering entirely new capabilities from scratch. The intersection of non-autoregressive generation trajectories and RL post-training created a previously unmeasured friction point in the systems-ML stack.
Key Findings
▶ Watch: Empirical findings: Auto-regressive order outperforms on pass-k (4:00)
The central discovery of the paper is what the authors term the Flexibility Trap: arbitrary generation orders actually yield a lower reasoning boundary than strict auto-regressive orders when evaluated rigorously across multiple parameters.
To measure a model's reasoning boundary, the team utilized pass@k as a proxy metric, tracking success rates across $k$ samples. Using a Llama-Instruct based diffusion model, the team evaluated performance across three diffusion language models and four distinct reasoning benchmarks spanning both math and code domains.
- At $k=1$ (single-shot generation), arbitrary-order and auto-regressive orders perform roughly on par, with arbitrary order holding a negligible edge.
- As $k$ increases, the auto-regressive order consistently pulls ahead, widening the performance gap through the middle of the curve.
- At $k=128$, the auto-regressive order establishes a clearly superior ceiling, while the arbitrary-order model plateaus early.
When measuring the realizable solution set using pass@1024, the actual overlap starkly contradicted the superset intuition. Problems solved exclusively by the arbitrary-order model accounted for well under 1% of the total. Conversely, problems solved exclusively by the auto-regressive order reached up to 21% on benchmarks like HumanEval. Empirically, the arbitrary-order solution set is fundamentally smaller, not larger.
Technical Deep Dive
▶ Watch: Why the trap happens: Handling uncertainty and entropy collapse (7:30)
The mechanical root cause of the flexibility trap lies in how different generation orders handle token uncertainty and entropy during decoding.
In auto-regressive generation, the model moves sequentially. When it encounters a high-uncertainty token—a branching point where complex reasoning pathways diverge—it must make a definitive decision immediately, armed only with the preceding context. This forces the model to confront the uncertainty directly, keeping the branching possibilities and high-entropy states open for downstream exploration.
Arbitrary-order decoding, by contrast, typically exploits flexibility via a confidence-based, "easy-first" heuristic. The model naturally bypasses hard, uncertain tokens and settles the easier, high-confidence positions first. By the time the decoding process circles back to fill in the bypassed token, the surrounding future context has already been established. This surrounding context acts as a constraint that crosses out alternative branches, causing the token's entropy to collapse prematurely.
This dynamic starves the RL post-training pipeline of raw material. Because RLVR relies on reinforcing surviving reasoning branches originating from uncertain junctures, the premature pruning inherent in confidence-based arbitrary-order decoding leaves fewer trajectories for the RL algorithm to reward.
Experimental Setup & Results
▶ Watch: Introducing JustGRPO: Training with auto-regressive order (12:00)
The empirical validation encompassed rigorous evaluations across multiple reasoning and coding benchmarks, including GSM8K and MBPP.
To overcome the limitations of arbitrary-order training without discarding the architectural benefits of diffusion models, the authors introduced JustGRPO. Instead of managing intractable likelihood estimations or specialized loss functions associated with arbitrary-order RL, JustGRPO restricts its modification strictly to the RL post-training stage. During this phase, the diffusion language model is forced into an auto-regressive decoding order—specifically, decoding the left-most masked token. This transforms the DLLM temporarily into an auto-regressive policy, enabling the application of standard, unadulterated Group Relative Policy Optimization (GRPO) without altering model architecture, adding causal masks, or introducing custom loss functions.
The results validate this strategic decoupling:
- GSM8K Performance: The standard GRPO objective applied via JustGRPO achieves strong baseline performance, reaching an score of 89.1 without relying on arbitrary-order-specific training complexity.
- Inference Scaling: When evaluated during inference across varying tokens-per-step configurations (measuring parallelism and speed), the JustGRPO post-trained model consistently outperforms the base diffusion model.
- Throughput & Speed: The accuracy gap actually expands as parallelism increases, showing up to a 25% improvement on benchmarks like MBPP, proving that parallel decoding capabilities are fully preserved—and slightly enhanced—even though auto-regressive order was enforced exclusively during RL training.
Practical Implications
▶ Watch: Audience Q&A and closing remarks (18:30)
For infrastructure teams, model builders, and deployers, these findings offer immediate architectural clarity. Practitioners should avoid applying arbitrary-order heuristics during RL post-training, as they inadvertently constrain the model's exploratory potential and degrade reasoning ceilings on complex tasks.
Instead, engineering teams can adopt the JustGRPO pipeline immediately: train diffusion models under auto-regressive ordering constraints during the RL phase to maximize exploration and leverage standard optimization tooling, then deploy the model using full parallel decoding at inference time to reap latency and throughput rewards.
However, limitations remain. While JustGRPO successfully sidesteps the trap by abandoning arbitrary order during training, it bypasses the more ambitious secondary goal: designing an arbitrary-order decoding algorithm that actively preserves entropy and encourages exploration at uncertain tokens without collapsing prematurely.
Key Takeaways
- Arbitrary Order is a Trap: Despite theoretical superset assumptions, arbitrary-order decoding narrows a model's realizable reasoning boundary by prematurely collapsing entropy at uncertain tokens.
- Starving the RL Pipeline: Confidence-based easy-first decoding bypasses hard tokens, eliminating the branching trajectories that RL post-training depends on for effective reward reinforcement.
- JustGRPO Solution: Enforcing an auto-regressive decoding order strictly during the RL post-training stage enables the use of standard, simple GRPO without custom architectural modifications.
- Preserved Inference Speed: Confining the order adjustment to training time ensures that parallel decoding capabilities and inference speedups at deployment are fully retained.
- Empirical Dominance: The JustGRPO model outperforms baseline diffusion methods across math and code benchmarks, with performance gains scaling alongside increased inference parallelism.
About the Speaker(s)
- Zanlin Ni (Tsinghua University, Alibaba Group): Presenter from Leap Lab team at Tsinghua University and Alibaba Group, presenting on diffusion language models research.
Co-authors: Shenzhi Wang, Yang Yue, Tianyu Yu, Weilin Zhao, Yeguo Hua, Tianyi Chen, Jun Song, YuCheng, Bo Zheng, Gao Huang.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026