Performance-Driven Policy Optimization for Speculative Decoding with Adaptive Windowing

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jiang, Jie, Sun, Xing, Chen, Ruotian, Su, Jianan, Shen, Kaixin
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909045802139648
author Jiang, Jie
Sun, Xing
Chen, Ruotian
Su, Jianan
Shen, Kaixin
author_facet Jiang, Jie
Sun, Xing
Chen, Ruotian
Su, Jianan
Shen, Kaixin
contents Speculative decoding accelerates LLM inference by having a lightweight draft model propose speculative windows of candidate tokens for parallel verification by a larger target model. In practice, speculative efficiency is often bottlenecked by hard-to-draft positions, where an early mismatch truncates the accepted prefix and invalidates the rest of the speculative window. Most learning-based drafters are still optimized with token-level supervised objectives, even though speculative utility is inherently window-level and prefix-sensitive. We propose PPOW (Performance-Driven Policy Optimization with Adaptive Windowing), a reinforcement learning framework that shifts drafter optimization from token-level imitation to window-level optimization. PPOW combines a Cost-Aware Speedup Reward, a Distribution-Based Proximity Reward, and Adaptive Divergence-Aware Windowing, which prioritizes informative windows with high confidence-weighted draft-target divergence. PPOW achieves average acceptance lengths of 6.29-6.52 and speedups of 3.39-4.36$\times$ across multiple model families and benchmarks under a unified decoding protocol. These results show that performance-driven window-level optimization is a practical approach to improving speculative decoding efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2605_14978
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Performance-Driven Policy Optimization for Speculative Decoding with Adaptive Windowing
Jiang, Jie
Sun, Xing
Chen, Ruotian
Su, Jianan
Shen, Kaixin
Computation and Language
Speculative decoding accelerates LLM inference by having a lightweight draft model propose speculative windows of candidate tokens for parallel verification by a larger target model. In practice, speculative efficiency is often bottlenecked by hard-to-draft positions, where an early mismatch truncates the accepted prefix and invalidates the rest of the speculative window. Most learning-based drafters are still optimized with token-level supervised objectives, even though speculative utility is inherently window-level and prefix-sensitive. We propose PPOW (Performance-Driven Policy Optimization with Adaptive Windowing), a reinforcement learning framework that shifts drafter optimization from token-level imitation to window-level optimization. PPOW combines a Cost-Aware Speedup Reward, a Distribution-Based Proximity Reward, and Adaptive Divergence-Aware Windowing, which prioritizes informative windows with high confidence-weighted draft-target divergence. PPOW achieves average acceptance lengths of 6.29-6.52 and speedups of 3.39-4.36$\times$ across multiple model families and benchmarks under a unified decoding protocol. These results show that performance-driven window-level optimization is a practical approach to improving speculative decoding efficiency.
title Performance-Driven Policy Optimization for Speculative Decoding with Adaptive Windowing
topic Computation and Language
url https://arxiv.org/abs/2605.14978