X-CoSD: Communication-Efficient Cross-Vocabulary Collaborative Speculative Decoding

Jaeduk Lee, Wan Choi
7/15/2026
cs.CLcs.DCcs.LG

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lee2026xcosd,
  title  = {X-CoSD: Communication-Efficient Cross-Vocabulary Collaborative Speculative Decoding},
  author = {Jaeduk Lee and Wan Choi},
  year   = {2026},
  eprint = {2609.09166},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.09166v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.09166.svg)](https://codeofpaper.com/paper/2609.09166)

Discussion