arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.09722cs.DCcs.AI
收藏

ConfigSpec:基于配置分析的分布式边缘-云推测LLM服务配置选择

ConfigSpec: Profiling-Based Configuration Selection for Distributed Edge--Cloud Speculative LLM Serving

Queen's University Belfast(贝尔法斯特女王大学)

Xiangchen Li, Saeid Ghafouri, Jiakun Fan, Babar Ali, Hans Vandierendonck, Dimitrios S. Nikolopoulos

AI总结:

本文提出ConfigSpec框架,通过分析边缘设备和草案模型对齐,评估不同配置下的吞吐量、验证成本效率和能耗,揭示了在边缘-云LLM推理中配置优化的结构性冲突。

摘要:

推测解码通过将轻量级token起草与重重量化验证分离,实现了云边协同的大型语言模型(LLM)推理。尽管先前系统展示了性能和成本优势,但实际部署需在涵盖草案模型变体、量化级别、推测长度和异构边缘设备的广阔配置空间中进行选择。本文提出了ConfigSpec,一种用于分布式推测LLM服务的配置选择框架。ConfigSpec分析边缘设备和草案目标对齐,并建模起草吞吐量、接受率和功率,以评估联合配置空间中的吞吐量、验证成本效率和能耗。在三个边缘平台和两个LLM家族的分析中,揭示了结构冲突的最优解。首先,通过最小、最快的草案模型在设备依赖的推测长度(K*=2-10)下实现吞吐量最大。其次,成本和能耗效率均收敛到K=2,由于主导的bonus-token效应——成本倾向于最大草案器以获得高接受率,能耗则倾向于最小草案器以获得低功耗。这些冲突证明,单一固定配置无法同时优化所有目标,强调了在解耦的边缘-云LLM推理中需要基于配置分析的配置选择。

英文摘要:

Speculative decoding enables collaborative Large Language Model (LLM) inference across cloud and edge by separating lightweight token drafting from heavyweight verification. While prior systems show performance and cost benefits, practical deployment requires navigating a large configuration space spanning draft model variants, quantisation levels, speculative lengths, and heterogeneous edge devices. This paper presents ConfigSpec, a configurationselection framework for distributed speculative LLM serving. ConfigSpec profiles edge devices and draft-target alignment, and models drafting throughput, acceptance rate, and power to evaluate goodput, verification cost efficiency, and energy efficiency across the joint configuration space. Our analysis across three edge platforms and two LLM families reveals structurally conflicting optima. Firstly, goodput is maximised by the smallest, fastest draft model at device-dependent speculative lengths (K*=2-10). Secondly, both cost and energy efficiency converge to K=2 due to a dominant bonus-token effect-with cost favouring the largest drafter for its high acceptance rate and energy favouring the smallest for its low power draw. These conflicts confirm that no single fixed configuration can simultaneously optimise all objectives, underscoring the need for profiling-based configuration selection in disaggregated edge-cloud LLM inference.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑