TL;DR
Diffusion LLMs (dLLMs) face challenges in achieving high token-generation rates compared to autoregressive LLMs (AR-LLMs). Spiffy, a speculative decoding algorithm, was developed to enhance dLLM inference by utilizing calibrated draft graphs for efficient token generation.
✦ Why It Matters
Engineers can implement Spiffy to enhance the performance of diffusion LLMs in real-time applications.
Key Takeaways
How It Works
Spiffy employs a directed draft graph to structure draft states, leveraging the bidirectional nature of dLLM generation. This allows for auto-speculation, which eliminates the need for a separate draft model, thus reducing overhead.
The draft graphs are calibrated offline to maximize acceptance rates, and during inference, they are dynamically pruned to enhance computational efficiency.
Related