atlas

Research map / Large language models / Reasoning and chain of thought

Yggdrasil: Bridging Dynamic Speculation and Static Runtime for Latency-Optimal Tree-Based LLM Decoding

NeurIPS 2025 · Large language models › Reasoning and chain of thought · approach: Speculative decoding · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Yggdrasil co-designs latency-aware tree drafting (equal-growth tree) with a compiled, stage-scheduled speculative decoding runtime to speed up unmodified LLM decoding up to 3.98x over SpecInfer, Sequoia and vLLM-Spec.

Problem

Speculative decoding systems optimize average accepted length, which ignores verification latency and clashes with static-graph deep learning compilers, so dynamic tree drafts yield suboptimal wall-clock per-token latency.

Approach

An equal-growth tree (EGT) with predicted depth, width selection and verification-width pruning under a latency-aware speedup objective keeps static operator shapes for TorchInductor, and ahead-of-time stage execution with profile-guided scheduling overlaps CPU logic with GPU work.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use Yggdrasil instead of state-of-the-art speculative decoding systemsLLM decoding · A100 (average decoding)speedup: 3.98×Helped
use Yggdrasil instead of state-of-the-art speculative decoding systemsLLM decoding · A40 (average decoding)speedup: 2.76×Helped
add TorchInductor graph compilation (ablation)Yggdrasil · Llama-2-7B, Llama-68M drafterspeedup: 2.775 ×Helped
add verification width pruning using the speedup objective (ablation)Yggdrasil O2 · Llama-2-7B, Llama-68M drafterspeedup: 1.07×Helped
add graph-based scheduling (ablation)Yggdrasil · Llama-2-7B, Llama-68M drafterper-token equivalent latency improvement: 1.21×Helped
add contextual draft depth predictor (ablation)Yggdrasil · Llama-2-7B, Llama-68M drafterspeedup: 1.10×Helped
optimize speedup instead of AAL (ablation)Yggdrasil tree selection · C4performance: extra 8%Helped
select tree width and verification number dynamically for each requestYggdrasil EGT · WikitestspeedupHelped
use a context-adaptive tree instead of Sequoia's static treetree-based speculative decoding · WikitestAALHelped
set sampling temperature to 0Sequoia and Yggdrasil · Llama-7B and Llama-68MperformanceHelped

Surprising findings

Limitations

Experimental setup

Datasets: C4 Wikipedia CNNDaily

Benchmarks: C4 Wikipedia CNNDaily

Metrics: per-token latency (TPOT) average accepted length speedup

Baselines: SpecInfer Sequoia vLLM-Spec FlexFlow vLLM TRT-LLM

Builds on: SpecInfer Sequoia TorchInductor DISCO

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy