StreamServe通过动态调度与推测执行,显著降低大模型服务延迟。
StreamServe: Adaptive Speculative Flows for Low-Latency Disaggregated LLM Serving

- 按运行时信号自适应调整推测深度,结合多路计算路由
- 延迟降低11至18倍,摘要任务吞吐达2235词/秒
- 适合高并发、突发负载下的低延迟大模型部署
高效的大语言模型服务需在多样且突发的工作负载中平衡吞吐与延迟。我们提出StreamServe,一种解耦预填充与解码的流式服务架构,结合基于指标的计算通道路由与在线自适应推测解码,根据运行时信号动态调节推测深度。StreamServe包含四个组件:用于请求编排的StreamScheduler、基于多信号的FlowGuard路由、在多GPU上执行解耦预填充与解码的PipeServe引擎,以及实现运行时自适应推测的SpecuStream。我们在ALPACA、GSM8K、HUMANEVAL和SUM四个基准上各测试80个查询(共320个),使用4块A800 40GB GPU配置为两组流对进行评估。在这些工作负载下,StreamServe相较张量并行的vLLM基线延迟降低11至18倍,摘要任务最高吞吐达2235词/秒。输出每词耗时在不同配置下保持稳定,表明性能提升源于架构效率而非生成质量下降。尽管仅在单节点4卡环境下评估,结果表明在解耦框架内联合优化路由与推测可形成独特高效的推理运行范式。
原文摘要 · Abstract (English)
Efficient LLM serving must balance throughput and latency across diverse, bursty workloads. We introduce StreamServe, a disaggregated prefill decode serving architecture that combines metric aware routing across compute lanes with adaptive speculative decoding that tunes speculation depth online from runtime signals. StreamServe comprises four components: StreamScheduler for request orchestration, FlowGuard for multi signal routing, PipeServe Engine for disaggregated prefill decode execution on multi GPU, and SpecuStream for runtime adaptive speculation. We evaluate StreamServe on four benchmarks ALPACA, GSM8K, HUMANEVAL, and SUM with 80 queries each and 320 total using 4 A800 40GB GPUs configured as two stream pairs. Across these workloads, StreamServe reduces latency by 11 to 18 times relative to tensor parallel vLLM baselines and reaches throughput up to 2235 tokens per second on summarization tasks. Time per output token remains stable across configurations, indicating that the gains arise from architectural efficiency rather than token quality degradation. Although evaluated on a single node 4 GPU setup, these results suggest that jointly adapting routing and speculation within a disaggregated framework creates a distinct operating regime for LLM inference.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。