SLED: A Speculative LLM Decoding Framework for Efficient Edge Serving

Xiangchen Li, Dimitrios Spatharakis, Saeid Ghafouri, Jun-Bao Fan, Hans Vandierendonck, Deepu John, Bo Ji, Dimitrios S. Nikolopoulos2025

Introduction

Deploying state-of-the-art Large Language Models (LLMs) at the edge is a significant challenge due to the massive memory and compute requirements of these models. Currently, developers must choose between two suboptimal paradigms: on-device compression, which degrades reasoning quality through aggressive quantization, or centralized server offloading, which incurs high costs and latency while underutilizing local edge compute.

SLED (Speculative LLM Decoding) is a novel distributed inference framework designed to overcome these limitations. By adapting speculative decoding for edge environments, SLED enables lossless LLM inference with significantly higher throughput and cost-efficiency compared to traditional centralized serving.

The SLED Architecture

SLED reimagines speculative decoding—a technique typically used to accelerate inference on a single machine—as a distributed computing paradigm. The framework splits the workload between heterogeneous edge devices and a powerful edge server.

Dynamic Drafting at the Edge

Edge devices (such as Raspberry Pis or NVIDIA Jetsons) run lightweight "draft" models (e.g., 1B or 3B parameters) to generate candidate tokens locally. SLED introduces a dynamic drafting mechanism where the device adjusts the number of drafted tokens based on the model's confidence scores (logits). High-confidence predictions result in longer drafts, which optimizes network communication by reducing the frequency of server requests.

Batched Verification on the Server

A centralized edge server hosts a massive "target" model (e.g., Llama-70B). Instead of generating tokens autoregressively, the server receives batches of draft tokens from multiple edge devices and verifies them in a single parallel forward pass. This approach flips the autoregressive bottleneck: it offloads the sequential, memory-bandwidth-bound task of token generation to the edge, allowing the server's GPUs to focus on highly parallelized batch verification.

Asynchronous Fallback and Resilience

To handle the inherent instability of edge networks, SLED utilizes an asynchronous fallback mechanism. Devices continue drafting while waiting for server verification. If a network timeout occurs, the system gracefully falls back to the local draft model's output, ensuring a continuous user experience without hard interruptions.

Key Insights

  • Heterogeneity as a Feature: Because the server only verifies tokens, it is agnostic to the specific hardware or draft model used by the edge device, provided they share the same tokenizer. This allows a single server to simultaneously support a diverse fleet of devices.
  • Confidence-Driven Communication: Tying draft length to confidence prevents the transmission of low-quality tokens that the server would likely reject, further minimizing network overhead.

Evaluation and Results

The authors evaluated SLED using Raspberry Pi 4B/5 and NVIDIA Jetson Orin Nano devices connected to a server with 4x NVIDIA A100 GPUs, utilizing the Llama model family (1B/3B for drafting, 11B/70B for verification) on the GSM8K benchmark.

Throughput and Capacity

SLED achieved a 2.2x higher Whole System Token Generation Rate (WSTGR) compared to a centralized serving baseline. Furthermore, the system supported approximately 2.8x more concurrent edge devices at the same target response rate, demonstrating superior scalability.

Cost Efficiency

In a 16-device setup using 4-bit quantization, SLED achieved 137 tokens/second at a cost of $0.13 per 1K tokens. This represents a 3.5x throughput improvement over the centralized baseline at just 29% of the cost.

Network Resilience

Under typical real-world packet loss (5–10%), edge throughput degraded by less than 3%. Output quality remained identical to the 70B target model until packet loss exceeded 10%, at which point the system gracefully transitioned to the local draft model's reasoning quality.

Conclusion

SLED provides a robust framework for delivering high-quality LLM inference to resource-constrained edge devices. By intelligently distributing the speculative decoding process, SLED maximizes the utility of both edge and server resources, offering a scalable and cost-effective path for edge AI deployment. Future work will focus on dynamic batching strategies, KV cache optimization, and expanding the framework to multi-modal scenarios.

Summary updated

BibTeX
@misc{li2025sled,
  author = {Xiangchen Li and Dimitrios Spatharakis and Saeid Ghafouri and Jun-Bao Fan and Hans Vandierendonck and Deepu John and Bo Ji and Dimitrios S. Nikolopoulos},
  title = {{SLED: A Speculative LLM Decoding Framework for Efficient Edge Serving}},
  year = {2025},
  eprint = {2506.09397},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.09397},
}
Figure