FlexSpec: Frozen Drafts Meet Evolving Targets in Edge-Cloud Collaborative LLM Speculative Decoding

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Li, Yuchen, Kong, Rui, Lyu, Zhonghao, Li, Qiyang, Chen, Xinran, Cai, Hengyi, Yan, Lingyong, Wang, Shuaiqiang, Zhao, Jiashu, Zhu, Guangxu, Kong, Linghe, Chen, Guihai, Xiong, Haoyi, Yin, Dawei
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911350703259648
author Li, Yuchen
Kong, Rui
Lyu, Zhonghao
Li, Qiyang
Chen, Xinran
Cai, Hengyi
Yan, Lingyong
Wang, Shuaiqiang
Zhao, Jiashu
Zhu, Guangxu
Kong, Linghe
Chen, Guihai
Xiong, Haoyi
Yin, Dawei
author_facet Li, Yuchen
Kong, Rui
Lyu, Zhonghao
Li, Qiyang
Chen, Xinran
Cai, Hengyi
Yan, Lingyong
Wang, Shuaiqiang
Zhao, Jiashu
Zhu, Guangxu
Kong, Linghe
Chen, Guihai
Xiong, Haoyi
Yin, Dawei
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2601_00644
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle FlexSpec: Frozen Drafts Meet Evolving Targets in Edge-Cloud Collaborative LLM Speculative Decoding
Li, Yuchen
Kong, Rui
Lyu, Zhonghao
Li, Qiyang
Chen, Xinran
Cai, Hengyi
Yan, Lingyong
Wang, Shuaiqiang
Zhao, Jiashu
Zhu, Guangxu
Kong, Linghe
Chen, Guihai
Xiong, Haoyi
Yin, Dawei
Distributed, Parallel, and Cluster Computing
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.
title FlexSpec: Frozen Drafts Meet Evolving Targets in Edge-Cloud Collaborative LLM Speculative Decoding
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2601.00644