atlas

Research map / Probabilistic and scientific modeling / Molecules and proteins

STree: Speculative Tree Decoding for Hybrid State Space Models

NeurIPS 2025 · Probabilistic and scientific modeling › Molecules and proteins · approach: Biological sequence transformers · 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.

Proposes STree, a tree-based speculative decoding algorithm for SSMs and hybrid SSM-Transformer models that packs a token tree into one sequence using an accumulated state-transition matrix, and shows speedups over vanilla speculative decoding on MT-Bench, HumanEval and GSM8K.

Problem

Tree-based speculative decoding is efficient for Transformers but SSMs cannot process a packed token tree, so current SSM speculative decoding unrolls trees into repeated sequences with extra states and memory cost.

Approach

Accumulate diagonal log state-transition matrices along the tree's ancestor paths (A_tree = L · log A) so that a packed tree sequence with a tree mask yields exact per-path SSM outputs in one scan, with a hardware-aware tree scan kernel and activation replay for state backtracking.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace vanilla speculative decoding with STree static-tree verificationMambaInLlama-8B · MT-Bench, HumanEval, and GSM-8K; temperatures 0 and 1tokens/sec.: 67.68 (1.69$\times$) -> 69.84 (1.74$\times$); 77.18 (1.93$\times$) -> 78.35 (1.95$\times$); 78.38 (1.93$\times$) -> 80.0Helped
Use packed tree input instead of unrolled tree inputMamba2-2.7B speculative decoding · MT-Bench generation; tested tree sizestokens/second: 1.05$\times$ to 1.49$\times$Helped
Increase static tree width substantially (ablation)STree with MambaInLlama-8B · Temperature 1, tree B versus tree Ctokens/sec.: 51.19 -> 46.90Hurt
Increase tree depth (ablation)STree with MambaInLlama-8B · Temperature 1, tree A versus tree Etokens/sec.: 54.08 -> 56.79Helped
Use a different connectivity with the same number of tokens (ablation)STree with MambaInLlama-8B · Temperature 1, tree A versus tree Dtokens/sec.: 54.08 -> 54.39Helped
Reduce Transformer-block percentage from 50% to 25% (ablation)STree with Mamba2-Llama3 · Temperature 1speed-up per accepted token: 0.66 to 0.64Hurt
Reduce Transformer-block percentage from 50% to 0% (ablation)STree with Mamba2-Llama3 · Temperature 1speed-up per accepted token: 0.66 to 0.63Hurt
Train the drafting model for more steps (ablation)STree with MambaInLlama-8B · End-to-end generationtokens/seconds: 42.96 (1.19x) -> 58.65 (1.36x) -> 64.30 (1.62x)Helped
Raise sampling temperature (ablation)STree and Vanilla SD with MambaInLlama · MT-Bench, HumanEval, and GSM-8Kgeneration speedHurt
Use naive sampling instead of multi-step speculative sampling (ablation)STree · MambaInLlama-8B; varying sampling temperaturegeneration speedMixed
Use a beam-search tree instead of a static tree (ablation)STree with MambaInLlama-8B · End-to-end generationtokens/sec.: 69.84 (1.75x) -> 71.60 (1.79x)Helped
Use STree rather than Vanilla SD on H100 at temperature 0MambaInLlama-8B · MT-Bench, HumanEval, and GSM-8Ktokens/sec.: 113.60 -> 113.13; 129.76 -> 127.15; 131.62 -> 131.13Mixed

Surprising findings

Limitations

Experimental setup

Datasets: MT-Bench HumanEval GSM8K

Benchmarks: MT-Bench HumanEval GSM8K

Metrics: tokens per second average acceptance length forward pass latency (ms) GPU memory (GB)

Baselines: Vanilla speculative decoding Autoregressive decoding Fused Selective Scan with unrolled tree Chunk Scan

Builds on: SpecInfer Mamba2 speculative sampling Fused Selective Scan Sequoia

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