TL;DR
TESS 2 is a large-scale, generalist diffusion language model that bridges the performance gap between diffusion-based and autoregressive (AR) models. By adapting existing pretrained AR models (like Mistral-7B) through a novel training recipe and introducing inference-time "reward guidance," TESS 2 matches or exceeds AR baselines on general tasks while offering superior generation speed for long sequences.
Addressing the Limitations of Autoregressive Models
While autoregressive (AR) models dominate the current LLM landscape, they suffer from inherent limitations: they generate text token-by-token from left to right, making planning, global self-correction, and infilling difficult. Diffusion language models offer a promising alternative by iteratively refining an entire sequence at once, but until now, they have largely remained small-scale or specialized for narrow tasks.
TESS 2 addresses the missing "full recipe" for scaling these models to become general-purpose instruction followers. It provides a framework to convert powerful, open-weight AR models into diffusion models capable of handling complex, long-form instructions.
Methodology: The AR-to-Diffusion Recipe
The authors build upon the Simplex Diffusion framework, representing tokens as points on a probability simplex. Their adaptation recipe involves several key innovations:
- AR-to-Diffusion Adaptation: Instead of training from scratch, they convert a pretrained Mistral-7B model by switching from causal masking to full bidirectional attention and using a mixture of UL2 masking objectives (span infilling and prefix completion).
- Label Shifting: To align with original AR pretraining, the model is trained to predict the token at the next index position during denoising, which accelerates convergence.
- Instruction Tuning: The model undergoes supervised fine-tuning (SFT) using prefix-LM objectives on the Tulu 2 and Tulu 3 mixtures.
- Reward Guidance: This modular inference-time procedure uses the gradient of a separate reward model to "steer" intermediate logits toward higher-quality outputs at each denoising step, enabling alignment without retraining the base model.
Key Insights and Performance Trade-offs
Base Model Compatibility
Not all AR models adapt equally. Mistral-7B adapted significantly better than Llama 2 or 3. This is likely because Mistral's original training may have included a prefix-LM objective, making it more resilient to the shift to bidirectional attention.
The Compute-Performance Trade-off
Unlike AR models, where compute is fixed by sequence length, diffusion models allow for fine-grained controllability. Increasing the number of diffusion steps at inference time generally improves results, though performance tends to plateau or even slightly decline after 500-1000 steps depending on the task.
Speed Inversion for Long Sequences
While diffusion is often perceived as slow due to its iterative nature, it becomes faster than AR models for long sequences. Because TESS 2 uses a fixed number of steps (e.g., 100) to generate an entire block of text, it outperformed AR models—which scale linearly with length—by over 6x in batch sampling tests for 2048-token generations.
Key Results
- General Performance: TESS 2 v0.3 achieved an AlpacaEval win rate of 62.2%, nearing the performance of its AR counterpart (Mistral v0.3 at 63.3%) and vastly outperforming previous diffusion models like DiffuLlama (0.2%).
- QA Tasks: On SQuAD, TESS 2 (85.4 F1) almost perfectly matched the Mistral AR baseline (86.0 F1).
- Reward Guidance Boost: Applying reward guidance at inference time provided a 3-point gain on AlpacaEval without any additional training.
- Efficiency: For a batch size of 8 and 2048 tokens, TESS 2 took 77 seconds compared to 480 seconds for the AR model.
Limitations and Future Work
Despite strong general performance, TESS 2 still lags behind AR models in complex multi-step reasoning (GSM8k and BBH), suggesting a need for specialized reasoning adaptation data. Additionally, the model's sensitivity to adaptation data quality and its performance in multi-turn chat scenarios remain areas for future optimization. Exploring "consistency models" or single-step sampling techniques could further enhance efficiency for shorter generations.
Summary updated