Paper Reading AI Learner

Far, Not Just Long: What Limits Long-Context Speculative Decoding

2026-12-02 10:35:12
Xiaolin Lin, Kai-Chiang Wu, Freddy Gabbay, Shaoyi Huang, Bing Li, Grace Li Zhang

Abstract

Speculative decoding speeds up large language models: a small drafter proposes several tokens, and the target model verifies them in one step. However, the acceptance of widely used drafters drops sharply on long inputs that the target handles well. We find that this drop comes mainly from distance: a drafter keeps its acceptance while the text it needs lies well within its effective range, the farthest distance it met in training and can attend to, and loses much of it once this text lies farther back. A longer input also lowers acceptance, but less. We observe this proximity law in EAGLE-3, DFlash and DSpark drafters of several targets, whether training or an attention window sets the range. It leads to a placement principle: a method restores much of the lost acceptance when it places the needed text within the effective range. As one way to apply this principle, we propose FreeLong, a training-free and lossless method that moves the needed text into the drafter's effective range. The target picks the needed sentences with its own attention, and the drafter reads only these sentences and the most recent tokens, in a 2K token working set. Across ten released drafters at 32K and 128K tokens, FreeLong raises acceptance to 1.8-2.6 times that of the original drafters on RULER and 1.2-2.6 times on AgentLongBench. In SGLang, it decodes 1.6-6.6 times faster than the target alone and 1.2-2.3 times faster than the original drafters.

Abstract (translated)

URL

https://arxiv.org/abs/2612.03576

PDF

https://arxiv.org/pdf/2612.03576.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot