Manuscript Offprint

arXiv:2608.29618

Multi-Access Speculative Inference: Uplink or Downlink?

Chang Cai, Kaibin Huang

Chang Cai, Member, IEEE, Kaibin Huang, Fellow, IEEE

Abstract—Multi-access speculative inference (Multi-SPIN) extends SPIN to multi-device edge networks to accelerate cooperative token generation. It allows on-device small language models (SLMs) to autoregressively draft multiple tokens for individual generation tasks, while an edge-server large language model (LLM) verifies them in parallel. The major communication overhead arises when a drafted token is rejected by the server, in which case sampling the correction token requires access to both the SLM-output draft distribution and the LLM-output target distribution over the full token vocabulary. Existing designs typically perform correction at the server by uploading the draft distribution, but transmitting a vocabulary-wide distribution creates a critical uplink (UL) bottleneck. Alternatively, the correction can be performed at the device by downloading the target distribution, leveraging the high transmission rates available on the downlink (DL). Motivated by this insight, we introduce communication-mode selection as a new design dimension for Multi-SPIN. Specifically, each device can adaptively switch between the UL and DL modes to balance the UL bottleneck against the shared DL resource constraint, thereby relieving the overall communication burden. We formulate a sum-token-goodput maximization problem that jointly accounts for mode selection, draft-length control, and power allocation. For mode selection, we reveal a simple structure of its optimal solution, which enables an efficient search over the number of devices assigned to the UL mode, with the optimal transmit powers determined accordingly. For draft-length control, we develop a greedy-search-based algorithm that adapts the device-specific draft lengths to heterogeneous computation and communication capabilities. Experimental results on both Qwen2.5 and DeepSeek-R1 model pairs across diverse tasks demonstrate that the proposed framework significantly improves token goodput by flexibly exploiting UL and DL resources.

Index Terms—Speculative inference (SPIN), mode selection, large language models (LLMs), cooperative token generation.

I. INTRODUCTION

Deploying large language models (LLMs) at the wireless network edge enables inference to be performed closer to end users, offering a promising approach to supporting low-latency and privacy-preserving artificial intelligence (AI) services [1], [2]. On one hand, running large models directly on edge devices remains fundamentally challenging due to their stringent computation, memory, and energy constraints. On the other hand, relying exclusively on an edge server to provide LLM services can create a centralized inference bottleneck while leaving distributed computing resources at devices underutilized. This bottleneck is further exacerbated by the autoregressive nature of LLM decoding, where tokens are generated sequentially and thus a separate forward pass for each token is needed. To address these limitations, speculative inference (SPIN) [3], [4] has recently emerged as a promising paradigm for collaborative edge LLM inference. The key idea of SPIN is to deploy a lightweight small language model (SLM) at the device to generate multiple draft tokens locally, and then use the server-side LLM to verify the drafted block in parallel [5], [6]. Because evaluating a sequence of drafted tokens concurrently requires only a single forward pass, SPIN significantly reduces the computational overhead at the server without sacrificing LLM-level inference quality. Furthermore, by offloading draft generation to devices, SPIN effectively harnesses the computing resources distributed across the network edge.

Existing efforts on collaborative edge inference have primarily focused on split inference [7], [8], where a large model is partitioned between the device and the edge server. In this paradigm, the device executes the early layers of the model and transmits intermediate features to the server, which then completes the remaining computation [9]–[11]. By dynamically adjusting the split point, split inference can balance the computation workloads between the devices and the server as well as control the wireless transmission overhead [12]. However, this layer-wise partitioning strategy faces inherent limitations when applied to autoregressive LLM decoding. Since the generation of each token depends on all preceding tokens, the device and the server must repeatedly execute their respective model partitions and exchange intermediate features at every single decoding step [13]. This continuous back-and-forth results in excessive computation and communication delays, limiting the suitability of split inference for latency-sensitive edge LLM services. In contrast, SPIN introduces a fundamental paradigm shift from sequential token generation to parallel token verification. By deploying a low-complexity SLM at the device to speculate on multiple future tokens, several inherently sequential decoding steps can be consolidated into a single parallel verification block performed by the server-side LLM. This paradigm shift substantially improves token-generation efficiency by minimizing the number of costly, memory-bound forward passes required at the server.

Despite its computational advantages, deploying SPIN at the wireless edge introduces a new communication bottleneck. This bottleneck emerges not during the initial draft verification, but when a drafted token is rejected and a correction token must be generated. During verification, acceptance checking only compares the draft probability assigned by the SLM to each drafted token against the corresponding target probability assigned by the LLM, without requiring the full draft or target distributions [3], [4]. Consequently, the device only needs to upload the drafted tokens and their

C. Cai and K. Huang are with the Department of Electrical and Computer Engineering, The University of Hong Kong, Hong Kong SAR (e-mail: changcai@hku.hk; huangkb@hku.hk). Corresponding author: K. Huang.

associated scalar draft probabilities to the server. This incurs negligible communication overhead. If all drafted tokens are accepted, the server simply returns lightweight feedback to continue generation. However, when a drafted token is rejected, a correction token must be sampled from a residual distribution. This residual distribution inherently depends on the full, vocabulary-wide output distributions of both the SLM and the LLM [3], [4]. Because modern LLMs feature massive vocabularies (e.g., 152,064 entries for Qwen2.5 [14] and 200,019 entries for GPT-4o [15]), exchanging these high-dimensional distributions across the wireless link to enable token correction incurs substantial communication overhead, termed token-correction overhead.

Existing studies [16]–[20] mainly support the correction step in an uplink (UL) manner: the device uploads the draft distribution to the server, where the corresponding target distribution is already available. We refer to this implementation as the UL mode of SPIN. To alleviate the resulting UL burden, prior works have explored uncertainty estimation to skip unnecessary UL transmissions [17], as well as quantization [18] and sparsification [19] techniques to compress the uploaded draft distributions. Despite these advances, draft-distribution uploading can still dominate the end-to-end (E2E) latency due to the limited UL rates of edge devices, thereby offsetting the acceleration gain of SPIN. In fact, sampling the correction token does not necessarily have to be performed at the server. Since the draft distribution is already available at the device, the correction step can alternatively be carried out at the device by downloading the target distribution from the server [21], [22]. We refer to this downlink (DL)-based implementation as the DL mode of SPIN. By shifting full-vocabulary distribution transmission from the UL to the DL, the DL mode can exploit the typically stronger DL capability of wireless edge systems and thereby bypass the UL bottleneck. In the point-to-point settings considered in existing studies, switching from the UL to the DL mode is straightforward. In a multi-user system, however, this DL advantage is no longer unconditional, as discussed below.

In this work, we study multi-access SPIN (Multi-SPIN) to enable cooperative token generation in a multi-device edge network. In this architecture, each device employs a local SLM to draft tokens for its specific generation task, while the edge server batches the drafted token sequences from multiple devices for parallel verification using a shared LLM. Despite high DL rates, assigning all devices to the DL mode can severely overload the shared DL resources and eventually degrade the overall token-generation efficiency. This reveals a fundamental tension between the limited UL rates and the shared DL resource constraints. To resolve this tension, devices must adaptively switch between the UL and DL modes to optimally exploit heterogeneous wireless resources. This motivates us to introduce (communication) mode selection as a new design dimension for Multi-SPIN. Indeed, mode selection extends the core resource-utilization philosophy of Multi-SPIN from the computation domain to the communication domain. Much like offloading draft generation to the devices harnesses distributed computing power, mode selection alleviates the shared DL bottleneck by adaptively shifting part of the transmission load to the UL. This perspective highlights mode selection as a natural and complementary mechanism for maximizing the E2E efficiency of Multi-SPIN.

The choice of communication mode is inherently coupled with the control of draft lengths, which directly affects the token-generation efficiency. Specifically, the draft length determines the maximum number of tokens that can be accepted in a single verification round, the local drafting and server-side verification delays, and the probability of a draft rejection. This creates a fundamental tradeoff: while a longer draft enhances the potential speculative gain by exposing more tokens to parallel verification, it simultaneously increases the likelihood of rejection, thereby triggering the need for costly distribution transmissions. Consequently, the draft lengths must be determined jointly with the mode-selection mechanism, which is itself tightly intertwined with transmit-power allocation. These complex interdependencies necessitate a joint design of draft-length control, mode selection, and power allocation to maximize the sum token goodput, defined as the expected number of output/committed tokens per second across all devices. The introduction of this communication-mode-selection framework, together with the formulation and solution of the resulting joint design problem, constitutes the core contribution of this work, as summarized below.

• UL/DL Mode Selection for Multi-SPIN: We propose a mode-selection-based Multi-SPIN protocol that enables each device with a rejected draft to perform correction via either the UL or DL mode. The resulting design problem is inherently stochastic because draft lengths must be selected at the beginning of each round, before the random verification outcomes are revealed. After the rejected devices are identified, their communication modes and transmit powers are determined accordingly. We formulate the joint design of draft-length control, mode selection, and power allocation as a two-stage stochastic optimization problem for maximizing the expected sum token goodput. By exploiting the sequential decision structure, without loss of optimality, we decompose the problem into i) a subproblem of reactive mode selection and power allocation for each realized verification outcome, and ii) a subproblem of proactive draft-length control that incorporates the optimized reactive decisions across all possible outcomes.

• Optimal Reactive Mode Selection and Power Allocation: We characterize the globally optimal reactive communication strategy for any realized verification outcome. By sorting the devices according to their minimum UL transmission delays, we prove that an optimal mode assignment has a prefix structure: devices with smaller UL delays operate in the UL mode, while the remaining devices operate in the DL mode. This property reduces the original combinatorial optimization to a one-dimensional bisection search over the UL/DL split point. For each candidate mode split point, the optimal transmit powers are determined by maximum-power UL transmission and delay-equalizing DL power allocation. This yields the optimal low-complexity policy for joint mode selection and power allocation.

• Proactive Draft-Length Control: We develop a greedy-search-based algorithm that optimizes device-specific

Figure

Fig. 1. Autoregressive drafting and parallel verification in SPIN.

draft lengths under heterogeneous computation and communication conditions. Specifically, the design accounts for device-side computation heterogeneity, rejection uncertainty, and the communication latency under the optimal reactive mode-selection and power-allocation decisions. To efficiently evaluate the expected token goodput, we employ a sample average approximation (SAA) approach that avoids exhaustive enumeration of the exponentially many verification outcomes.

• Experimental Results: We conduct extensive experiments using both Qwen2.5 [14] and DeepSeek-R1 [23] model pairs across diverse code-generation, mathematical-reasoning, conversational, and instruction-following tasks. The results show that the proposed framework consistently outperforms fixed-mode and conventional draft-length baselines by adaptively balancing UL/DL communication and tailoring draft lengths to heterogeneous system conditions.

The remainder of this paper is organized as follows. Section II reviews the SPIN mechanism and discusses key insights for edge deployments. Section III presents the mode-selection-based Multi-SPIN protocol and formulates the two-stage token-goodput maximization problem. Section IV develops the optimal reactive mode-selection and power-allocation solution. Section V proposes the proactive draft-length control algorithm. Section VI provides experimental results. Finally, we conclude this paper in Section VII.

References (32)