cd /news/artificial-intelligence/directly-maximizing-on-policy-expect… · home › topics › artificial-intelligence › article
[ARTICLE · art-175936] src=machinebrief.com ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Directly Maximizing On-policy Expected Accepted Length for Speculative Decoding

A new arXiv paper (2611.31256v1) proposes FreDraft, an on-policy training method for speculative decoding that directly maximizes the expected accepted length of draft tokens rather than token-level distribution alignment. FreDraft analytically marginalizes token-level acceptance rate using the target model's vocabulary distribution to reduce gradient variance, and redistributes part of that distribution-level gradient into an explicit penalty for tokens the draft model overestimates, preserving the expected gradient. Experiments across multiple benchmarks and target models show FreDraft improves accepted length and decoding speedup over strong baselines with faster on-policy training convergence.

recommendation

Train speculative-decoding drafts on-policy against expected accepted length rather than token-level alignment, marginalizing the target vocabulary distribution to lower gradient variance and speed convergence.

more in playbook: Inference and self-hosting
by read1 min views3 publishedNov 25, 2026

arXiv:2611.31256v1 Announce Type: new Abstract: Speculative decoding accelerates large language model inference by using a lightweight draft model to propose tokens for verification by a target model. Draft training commonly optimizes token-level distribution alignment, but this does not directly optimize the length of the accepted prefix: once a draft token is rejected, all subsequent draft tokens are discarded. We propose FreDraft, an on-policy training method that directly maximizes the expected accepted length of drafts sampled from the current draft model. This objective accounts for first-rejection truncation and induces prefix-aware credit assignment, weighting each token by its contribution to the acceptance of the current and subsequent tokens. To optimize the objective efficiently, we analytically marginalize token-level acceptance rate, using the target model's vocabulary distribution to reduce gradient variance. We further redistribute part of this distribution-level gradient into an explicit penalty for sampled tokens whose probabilities are overestimated by the draft model, while preserving the expected gradient. Experiments across multiple benchmarks and target models show that FreDraft improves accepted length and decoding speedup over strong baselines, achieving faster on-policy training convergence.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @fredraft 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/directly-maximizing-…] indexed:0 read:1min 2026-11-25 · —