arXiv:2609.09166v1 Announce Type: new Abstract: This paper investigates collaborative speculative decoding (CoSD), a distributed large language model (LLM) inference framework in which an on-device small language model (SLM) drafts candidate tokens and a server LLM verifies them. Existing CoSD methods assume a shared vocabulary between the SLM and the LLM and incur substantial communication load because residual resampling requires token distribution exchange between the user device and the edge server. To address these limitations, we propose cross-vocabulary CoSD (X-CoSD), a lossless and communication-efficient CoSD framework for heterogeneous SLM-LLM vocabularies. X-CoSD is built on hybrid resampling (HR), which splits residual resampling across the common-vocabulary region on the device and the LLM-only region on the server, so that distribution transmission is required only for the common-vocabulary region. We further propose X-CoSD-E, an enhanced variant based on server resampling with device verification (SR-DV), in which the server sends only replacement candidates sampled from the server LLM and their corresponding probabilities for local verification at the device. We prove that both X-CoSD and X-CoSD-E preserve the server LLM distribution, and experiments show that they significantly improve token generation speed while maintaining generation quality comparable to that of the server LLM.
X-CoSD: Communication-Efficient Cross-Vocabulary Collaborative Speculative Decoding
Researchers proposed X-CoSD, a cross-vocabulary collaborative speculative decoding framework for distributed LLM inference that works with heterogeneous small language model and server LLM vocabularies, according to an arXiv paper (2609.09166v1). X-CoSD uses hybrid resampling to split residual resampling between the device's common-vocabulary region and the server's LLM-only region, while the enhanced X-CoSD-E variant has the server send only replacement candidates and their probabilities for local device verification. The authors prove both methods preserve the server LLM distribution and report significantly improved token generation speed with generation quality comparable to the server LLM.
Run your AI side-project on zahid.host
EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.