FlexSpec: Frozen Drafts Meet Evolving Targets in Edge-Cloud Collaborative LLM Speculative Decoding
Authors:
- Yuchen LiYLYuchen Li
- Rui KongRKRui Kong
- Zhonghao LyuZLZhonghao Lyu
- Qiyang LiQLQiyang Li
- Xinran ChenXCXinran Chen
- Hengyi CaiHCHengyi Cai
- Lingyong YanLYLingyong Yan
- Shuaiqiang WangSWShuaiqiang Wang
- Jiashu ZhaoJiashu Zhao
- Guangxu ZhuGZGuangxu Zhu
- Linghe KongLKLinghe Kong
- Guihai ChenGCGuihai Chen
Preprint
Abstract
Deploying large language models (LLMs) in mobile and edge computing environments is constrained by limited on-device resources, scarce wireless bandwidth, and frequent model evolution. Although edge-cloud collaborative inference with speculative decoding (SD) can reduce end-to-end latency by executing a lightweight draft model at the edge and verifying it with a cloud-side target model, existing frameworks fundamentally rely on tight coupling between the two models. Consequently, repeated model synchronization introduces excessive communication overhead, increasing end-to-end latency, and ultimately limiting the scalability of SD in edge environments. To address these limitations, we propose FlexSpec, a communication-efficient collaborative inference framework tailored for evolving edge-cloud systems. The core design of FlexSpec is a shared-backbone architecture that allows a single and static edge-side draft model to remain compatible with a large family of evolving cloud-side target models. By decoupling edge deployment from cloud-side model updates, FlexSpec eliminates the need for edge-side retraining or repeated model downloads, substantially reducing communication and maintenance costs. Furthermore, to accommodate time-varying wireless conditions and heterogeneous device constraints, we develop a channel-aware adaptive speculation mechanism that dynamically adjusts the speculative draft length based on real-time channel state information and device energy budgets. Extensive experiments demonstrate that FlexSpec achieves superior performance compared to conventional SD approaches in terms of inference efficiency.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- Edge-Cloud Collaborative Computing on Distributed Intelligence and Model Optimization: A SurveyIEEE Communications Surveys & Tutorials, 2026
- The Larger the Merrier? Efficient Large AI Model Inference in Wireless Edge NetworksIEEE Journal on Selected Areas in Communications, 2025
- S$^{3}$PRank: Toward Satisfaction-Oriented Learning to Rank With Semi-Supervised Pre-TrainingIEEE Transactions on Knowledge and Data Engineering, 2025
- Rethinking Resource Management in Edge Learning: A Joint Pre-Training and Fine-Tuning Design ParadigmIEEE Transactions on Wireless Communications, 2024
- When Search Engine Services Meet Large Language Models: Visions and ChallengesIEEE Transactions on Services Computing, 2024
- Semantic Communications for Image Recovery and Classification via Deep Joint Source and Channel CodingIEEE Transactions on Wireless Communications, 2024
- Split Computing and Early Exiting for Deep Learning Applications: Survey and Research ChallengesACM Computing Surveys, 2022
- Edge Intelligence: Empowering Intelligence to the Edge of NetworkProceedings of the IEEE, 2021
- Toward an Intelligent Edge: Wireless Communication Meets Machine LearningIEEE Communications Magazine, 2020