Device-Server Collaborative Speculative Decoding for Real-Time LLM Streaming
Authors:
- 8 December 2025
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 3493-3498
Abstract
This paper addresses the challenge of real-time text streaming with large language models (LLMs) over unstable networks and server contention. To mitigate delays from packet loss and computational bottlenecks, we propose an adaptive framework that integrates speculative decoding with network-aware optimization. A lightweight draft model runs on the user’s edge device to generate tokens autoregressively, while a larger target model on the server periodically verifies them. We explicitly model end-to-end latency with respect to verification acceptance rates and packet loss, and optimize the verification ratio under latency constraints. Experiments show improved resilience to high packet loss and server contention, achieving over 4× lower rebuffering and 60% higher verification ratios compared to baselines.Keywords
This publication has 19 references indexed in Scilit:
- EdgeLLM: Fast On-Device LLM Inference With Speculative DecodingIEEE Transactions on Mobile Computing, 2024
- PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPU2024
- Eloquent: A More Robust Transmission Scheme for LLM Token Streaming2024
- Splitwise: Efficient Generative LLM Inference Using Phase Splitting2024
- SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification2024
- RT-LM: Uncertainty-Aware Resource Management for Real-Time Inference of Language Models2023
- Image and Video Coding Techniques for Ultra-low LatencyACM Computing Surveys, 2022
- How many words do we read per minute? A review and meta-analysis of reading rateJournal of Memory and Language, 2019
- Modeling TCP latency2002
- The macroscopic behavior of the TCP congestion avoidance algorithmACM SIGCOMM Computer Communication Review, 1997