potentialpaper

SALF & TALF: Optimized Loss Function and Drafting for Tree-based Speculative Decoding

Gunjun Lee, Jongmin Kim, Jaiyoung Park, Jung Ho Ahn

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Speculative decoding (SpD) has emerged as a promising approach to accelerate the slow autoregressive inference of large language models (LLMs). SpD leverages a lightweight draft model to propose candidate tokens, which are then verified in parallel by the target LLM. Recent advances in tree-based SpD significantly improve efficiency by drafting token trees, enabling the verification of multiple sequences at once. Given its strong empirical performance reported across numerous studies, tree-based SpD is rapidly becoming dominant. However, existing draft model training methods overlook the tree structure when defining the training objectives, causing their training and inference distributions to become misaligned. We address this limitation with a tree-aware loss function (TALF) that explicitly incorporates the tree structure into draft model training. Using trees generated by the target LLM, TALF aligns the draft model’s predictions with the target across all branches, mitigating the misalignment. Further, we improve the tree construction process in drafting with stopping at low further gains (SALF). As drafting iterations search for potential high-probability tokens to add to the tree, we estimate aggregate probability gains. This estimate guides the stopping criterion for drafting, enabling us to balance computational cost against draft quality for maximum performance. Together, SALF & TALF deliver 15.6--39.4% and 6.5--24.4% end-to-end speedups over state-of-the-art SpD methods, EAGLE-2 and HASS, without altering the draft model architecture.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…