Core Mechanism: Parallel Tree Attention

Tree Speculative Decoding leverages a tree-shaped search path for speculated outputs, enabling the target LLM to verify multiple proposed token sequences in a *single* forward pass using a specialized tree attention mask. This allows for exploring a richer set of speculative futures simultaneously.

Sources

Open the full topic