SpecEdge: Scalable Edge-Assisted Serving Framework for Interactive LLMs

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Park, Jinwoo, Cho, Seunggeun, Han, Dongsu
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908661076459520
author Park, Jinwoo
Cho, Seunggeun
Han, Dongsu
author_facet Park, Jinwoo
Cho, Seunggeun
Han, Dongsu
contents Large language models (LLMs) power many modern applications, but serving them at scale remains costly and resource-intensive. Current server-centric systems overlook consumer-grade GPUs at the edge. We introduce SpecEdge, an edge-assisted inference framework that splits LLM workloads between edge and server GPUs using a speculative decoding scheme, exchanging only token outputs over the network. SpecEdge employs proactive edge drafting to overlap edge token creation with server verification and pipeline-aware scheduling that interleaves multiple user requests to increase server-side throughput. Experiments show SpecEdge enhances overall cost efficiency by 1.91x through achieving 2.22x server throughput, and reduces inter token latency by 11.24% compared to a server-only baseline, introducing a scalable, cost-effective paradigm for LLM serving. The code is available at https://github.com/kaist-ina/specedge
format Preprint
id arxiv_https___arxiv_org_abs_2505_17052
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SpecEdge: Scalable Edge-Assisted Serving Framework for Interactive LLMs
Park, Jinwoo
Cho, Seunggeun
Han, Dongsu
Computation and Language
Artificial Intelligence
Large language models (LLMs) power many modern applications, but serving them at scale remains costly and resource-intensive. Current server-centric systems overlook consumer-grade GPUs at the edge. We introduce SpecEdge, an edge-assisted inference framework that splits LLM workloads between edge and server GPUs using a speculative decoding scheme, exchanging only token outputs over the network. SpecEdge employs proactive edge drafting to overlap edge token creation with server verification and pipeline-aware scheduling that interleaves multiple user requests to increase server-side throughput. Experiments show SpecEdge enhances overall cost efficiency by 1.91x through achieving 2.22x server throughput, and reduces inter token latency by 11.24% compared to a server-only baseline, introducing a scalable, cost-effective paradigm for LLM serving. The code is available at https://github.com/kaist-ina/specedge
title SpecEdge: Scalable Edge-Assisted Serving Framework for Interactive LLMs
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2505.17052