X-CoSD: 통신 효율적인 교차 어휘 협력적 추측 디코딩
X-CoSD: Communication-Efficient Cross-Vocabulary Collaborative Speculative Decoding
한국어 초록
본 논문은 협력적 추측 디코딩(CoSD)을 연구한다. CoSD는 온디바이스 소형 언어 모델(SLM)이 후보 토큰을 초안 생성하고 서버의 대규모 언어 모델(LLM)이 이를 검증하는 분산 LLM 추론 프레임워크이다. 기존 CoSD 방법은 SLM과 LLM 간 공유 어휘를 가정하며, 잔차 재샘플링이 사용자 디바이스와 엣지 서버 간 토큰 분포 교환을 요구하기 때문에 상당한 통신 부담이 발생한다. 이러한 한계를 해결하기 위해, 이질적인 SLM-LLM 어휘를 위한 무손실이며 통신 효율적인 CoSD 프레임워크인 교차 어휘 CoSD(X-CoSD)를 제안한다. X-CoSD는 하이브리드 재샘플링(HR)에 기반하며, HR은 잔차 재샘플링을 디바이스의 공통 어휘 영역과 서버의 LLM 전용 영역으로 분할하여 분포 전송이 공통 어휘 영역에 대해서만 필요하도록 한다. 또한 서버 재샘플링 및 디바이스 검증(SR-DV)에 기반한 향상된 변형 X-CoSD-E를 제안한다. SR-DV에서는 서버가 서버 LLM에서 샘플링한 대체 후보와 그에 대응하는 확률만을 전송하여 디바이스에서 로컬 검증을 수행한다. X-CoSD와 X-CoSD-E가 모두 서버 LLM 분포를 보존함을 증명하며, 실험 결과 이들이 서버 LLM과 유사한 생성 품질을 유지하면서 토큰 생성 속도를 크게 향상시킴을 보여준다.
원문 초록
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.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2609.09166v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.