Introduction: The Sequential Bottleneck and the dLLM Mismatch
Large Language Models (LLMs) have traditionally relied on autoregressive (AR) decoding, generating text one token at a time from left to right. While highly accurate, this sequential process creates a significant bottleneck for inference speed. To accelerate generation, researchers have recently turned to diffusion-based LLMs (dLLMs), which attempt to predict multiple tokens simultaneously.
However, dLLMs suffer from a fundamental "pretrain-to-posttrain mismatch." Standard LLMs are pretrained using causal attention—where the model only looks at previous tokens. In contrast, dLLMs are typically post-trained using bidirectional attention and masked data distributions. This radical shift in how the model processes data often leads to substantially degraded performance or limited speed gains.
To resolve this, researchers have introduced Jacobi Forcing (JF), a novel distillation method that bypasses the dLLM formulation entirely. By directly post-training a causal multi-token predictor from an AR LLM, JF achieves up to a 4.0× wall-clock speedup on coding and math tasks with minimal impact on accuracy.
Methodology: How Jacobi Forcing Works
Jacobi Forcing builds on the concept of Jacobi Decoding, which frames token generation as solving a system of non-linear equations through fixed-point iteration. Instead of forcing the model to predict a long sequence of future tokens immediately, JF teaches the model to "leap" across its own generation trajectories.
The architecture relies on three key technical innovations:
1. Progressive Distillation
Rather than overwhelming the model with a fully noisy sequence, the authors employ a Progressive Noise Schedule. This cyclic schedule gradually increases the number of "noisy" (unconverged) tokens the model must process, making the complex task of parallel prediction highly manageable.
2. Noise-Aware Causal Attention
To make training efficient, the researchers designed a specialized sequence packing technique and attention mask. This allows the model to compute both the standard autoregressive loss and a new "consistency loss" in a single forward pass, drastically reducing training overhead while maintaining the model's causal nature.
3. Inference Optimizations
During inference, the system utilizes two advanced decoding strategies:
- Rejection Recycling: The model saves high-quality n-grams produced during failed iterations and re-verifies them later, effectively recycling compute that would otherwise be wasted.
- Multi-block Decoding: The system maintains and refines multiple blocks of tokens simultaneously. If the first block is still converging, the model proactively begins processing the next block.
Key Insights
- Causal is King: By strictly adhering to causal attention during post-training, JF avoids the severe performance degradation seen in bidirectional diffusion models. It respects the foundational "priors" the model learned during its massive pretraining phase.
- The "Free" Compute Plateau: Hardware profiling on NVIDIA H200 and B200 GPUs revealed an "empirical roofline." Up to roughly 256 batched tokens, modern GPUs possess spare FLOPs and memory bandwidth. JF exploits this by processing larger block sizes in parallel, utilizing compute that is essentially "free" in terms of latency.
- Trajectory Learning: JF does not merely memorize the final output; it learns the path to convergence. The model becomes highly adept at taking a noisy, partially correct sequence and forcing it toward the correct fixed point in fewer steps.
Empirical Results
The researchers evaluated Jacobi Forcing using the Qwen2.5 family (7B Instruct versions for Coder and Math). Models were trained on OpenCodeInstruct and the math split of OpenThought2, then evaluated on standard benchmarks including HumanEval, MBPP, GSM8K, and MATH.
- Speedup: JF-LLM achieves a 3.8× to 4.0× wall-clock speedup compared to standard autoregressive decoding.
- Throughput: Implemented in vLLM on an NVIDIA B200 GPU, the model reached an impressive 865 tokens/second.
- Efficiency: The method achieves a 4.6× Tokens-Per-Forward (TPF) rate, meaning it successfully generates nearly five tokens on average for every single pass through the model.
- Accuracy: Unlike many parallel methods that severely compromise quality, JF-LLM maintains high performance. On HumanEval, it achieved 83.5% accuracy (compared to the 87.8% AR baseline). In contrast, competing diffusion-based approaches often plummeted below 60% accuracy on the same tasks.
Limitations and Future Directions
While Jacobi Forcing represents a major leap in parallel decoding, it does have limitations. It requires a dedicated post-training and distillation phase on domain-specific datasets (like code or math) to be effective. Additionally, there remains a small "accuracy tax" (roughly 4%) in exchange for the 4× speedup. Finally, the method's performance is sensitive to hyperparameters like the "spawn ratio" and block sizes, which must be carefully tuned for different hardware configurations (e.g., A100 vs. B200). Future work will likely focus on closing this minor accuracy gap and generalizing the post-training process across broader, open-domain datasets.
Summary updated