TL;DR
DRelay introduces a novel approach to enhance speculative decoding in large language models by using global context for selective token repair, significantly improving decoding performance. It achieves a 14.7%-16.8% speedup over existing methods like DFlash and Domino.
✦ Why It Matters
Implement DRelay to improve your LLM's decoding speed and accuracy in real-time applications.
Key Takeaways
How It Works
DRelay employs a global reader to gather predictive information across all token positions in a draft block. This information is then used by a causal selector, which evaluates whether the current token choice aligns with the global context and previously selected tokens.
If inconsistencies are found, the selector can replace the token, effectively repairing early errors and extending the accepted prefix.
Related