Bole: Efficient Tree Speculation for Hybrid-Attention Language Models

Li Wang, Yi Su, Xiabao Wu, Chiran You, Yongchao Liu +7 more
8/3/2026
cs.DCcs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Hybrid-attention large language models combine full attention with recurrent linear attention to reduce long-context inference costs, yet their autoregressive decoding remains memory-bound. Tree speculative decoding offers an attractive acceleration path, but existing tree-speculation systems are designed around the key--value caches of full-attention models.

Show full abstract

On hybrid models, they traverse recurrent layers branch by branch and materialize a full state for every proposal node, causing verification latency and transient memory to scale poorly with tree and batch sizes. We present Bole, a kernel--runtime co-design that enables efficient tree speculation for hybrid-attention LLMs. Bole transforms the linear-attention recurrence into a tree-structured closed form and realizes it with a resource-efficient GPU kernel, verifying all proposal nodes in parallel and accelerating linear-attention tree verification by 3.4--7.7$\times$. It losslessly encodes speculative state updates as token-level factors and reconstructs only the state selected after sampling, reducing transient state memory by 82--99$\times$ and freeing GPU capacity for KV caches. Its integration into SGLang, a widely deployed production LLM serving engine, couples efficient state management with a batch-wide verification budget calibrated to the complete hybrid forward. Across four models, two GPU platforms, and diverse datasets, Bole delivers up to $4.72\times$ the offline decode throughput of autoregressive decoding and up to $2.03\times$ that of the strongest tree-speculative baseline. Under online agent workloads, it reduces TTFT and TPOT by up to $67.6%$ and $49.9%$, respectively, over the strongest tree-speculative baseline.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026bole,
  title  = {Bole: Efficient Tree Speculation for Hybrid-Attention Language Models},
  author = {Li Wang and Yi Su and Xiabao Wu and Chiran You and Yongchao Liu and Zhan Qiu and Juelu Zhang and Jiajun Zheng and Fangxin Liu and Jie Zhang and Chen Tian and Chengying Huan},
  year   = {2026},
  eprint = {2608.01651},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.01651v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.01651.svg)](https://codeofpaper.com/paper/2608.01651)

Discussion