analiza aiqbench
This paper proposes a hybrid speculative decoding method for LLM inference split between a phone's NPU and a cloud server. It reuses the server model's built-in multi-token prediction head on the device, which reduces server GPU time per token by roughly 29-39% in the authors' tests on one phone over LTE/5G. The gains depend on an epsilon relaxation that departs from exact sampling-distribution preservation, and the quality comparison is within noise, so readers should weigh the efficiency claims against that trade-off.
HyCo: Hybrid Drafting for Cost-Efficient Mobile-Cloud Speculative Decoding
De la arXiv
Text integralDevice-cloud speculative decoding reduces server computation, but growing a deep draft tree with a small language model (SLM) requires repeated passes on a mobile neural processing unit (NPU). We present HyCo, which assigns depth to the server model's native multi-token prediction (MTP) head, executed on the device, and alternative branches to one SLM pass. The server returns the hidden state, input embedding, and key-value entries needed by the head instead of executing its sequential steps.
Quantization, a restricted vocabulary, and a 1K-token window fit both drafters to the NPU. An {\epsilon}-threshold rule additionally relaxes exact preservation of the verifier's sampling distribution. In single-client runs with a Galaxy S26 Ultra over LTE/5G, HyCo reduces server GPU time per output token relative to server-side MTP self-speculation by 38.6% on Spec-Bench and 29.2% on 32K-token summarization. With the same acceptance rule, three Spec-Bench runs per system show 9.0 percentage points more saving and 1.9x delivery speed than an SLM-only drafter.
HyCo differs from Cloud+MTP by +0.2 judge-score points (paired 95% CI: -0.9 to +1.3); exploratory translation favors SpecEdge-{\epsilon}. Without relaxation, HyCo exact saves 27.7% and 11.9% on the two datasets.
Text integral sub licența deschisă a publicației · 187 cuvinte