FLARE: Diffusion for Hybrid Language Model
Yuchen Zhu, Jing Shi, Chongjian GE, Hao Tan, Yiran Xu, Wanrong Zhu, Jason Kuen, Ryan Rossi, Koustava Goswami, Rajiv Jain, Yongxin Chen, Molei Tao, Jiuxiang Gu
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Reasoning, Memory & RAG › Diffusion LLM Inference · Type: new method · Keywords: diffusion language models, hybrid attention, low-latency inference, hardware-aware kernels, SGLang inference system, AR-to-dLLM conversion
Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Diffusion Generation Acceleration
Summary
FLARE is a systematic recipe that converts hybrid autoregressive LLMs into fast diffusion language models, achieving comparable or better performance with far fewer parameters and higher throughput.
Explained to a 5-year-old
A big computer program learns to talk by guessing words one after another, which is slow. Scientists wanted a faster way to make it talk instantly. They used a new method that works like drawing pictures in steps, letting many words be chosen at once. They also made special computer tricks to make this faster and work on normal computers. Now the program can answer quickly, like a fast chat buddy.
Explained to a 5-year-old, longer
A computer program that writes sentences usually picks one word at a time, which takes a lot of time. This makes it hard to get answers quickly when you need them. Researchers wanted to find a way to make the program produce words much faster. They discovered that a step-by-step picture-like method could generate many words at the same time. To make this work well, they created fast computer code that matches the hardware’s strengths. They also built a system that can switch between two ways of generating text without starting over. The new approach uses a small amount of carefully chosen data to keep the quality high. As a result, the program can answer questions and solve problems quickly, even on a single ordinary computer. This makes interactive applications feel instant and smooth for users.
For a technical reader
The paper introduces a recipe to turn hybrid autoregressive language models into diffusion-based models that can generate tokens in parallel, dramatically improving inference speed. It provides optimized Triton kernels for the diffusion attention mechanism and an SGLang inference system that supports both autoregressive and diffusion decoding from a single checkpoint. Experiments show that a 9-B model matches a 100-B baseline on reasoning benchmarks while using far fewer parameters, and a 2-B model achieves over twice the throughput of a comparable diffusion model on math problems. The key insight is that high-quality transfer data is more critical than loss formulation or attention mask design for preserving performance.
Problem
Autoregressive language models generate text sequentially, which limits low-latency deployment. Existing diffusion language models have not delivered real-time speed or incorporated modern hybrid attention, leaving a gap between theoretical parallelism and actual performance.
Method
The approach develops hardware-aware Triton kernels for diffusion-style linear attention and an SGLang-based inference system that supports both autoregressive and diffusion decoding, while emphasizing high-quality transfer data to mitigate performance loss when converting hybrid AR LLMs to dLLMs.
Results
The approach produces a 9-B model that matches the 100-B LLaDA-2.1 Flash on GPQA-Diamond (71.2 vs. 66.7) with only 10 B parameters, and a 2-B model that achieves 2.2× higher throughput than LLaDA-2.1 mini on GSM8K under eight-way concurrency on a single A100.
Contributions
It identifies transfer data quality as the key factor for AR-to-dLLM conversion, provides hardware-aware kernels for diffusion linear attention, and enables both autoregressive and diffusion decoding from a single checkpoint.
Practical relevance
Enables real-time language generation on modest hardware, making high-throughput inference feasible for practical applications.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction