Lune

SOSP2024顶会

Apparate: Rethinking Early Exits to Tame Latency-Throughput Tensions in ML Serving

Yinwei Dai, Rui Pan, Anand P. Iyer, Kai Li, Ravi Netravali

摘要

Machine learning (ML) inference platforms are tasked with balancing two competing goals: ensuring high throughput given many requests, and delivering low-latency responses to support interactive applications. Unfortunately, existing platform knobs (e.g., batch sizes) fail to ease this fundamental tension, and instead only enable users to harshly trade off one property for the other. This paper explores an alternate strategy to taming throughput-latency tradeoffs by changing the granularity at which inference is performed. We present Apparate, a system that automatically applies and manages early exits (EEs) in ML models, whereby certain inputs can exit with results at intermediate layers. To cope with the time-varying overhead and accuracy challenges that EEs bring, Apparate repurposes exits to provide continual feedback that powers several novel runtime monitoring and adaptation strategies. Apparate lowers median response latencies by 40.5--91.5% and 10.0--24.2% for diverse CV and NLP classification workloads, and median time-per-token latencies by 22.6--77.9% for generative scenarios, without affecting throughputs or violating tight accuracy constraints.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Remembrall: Leaning into Memory for Accurate Video Analytics on System-on-Chip GPUs 引用了 LLM-Pruner: On the Structural Pruning of Large Language Models
  • Remembrall: Leaning into Memory for Accurate Video Analytics on System-on-Chip GPUs 引用了 SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
  • Libra: Flexible Request Partitioning and Scheduling for Serving Unbalanced and Dynamic LLM Workloads 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Libra: Flexible Request Partitioning and Scheduling for Serving Unbalanced and Dynamic LLM Workloads 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
  • METIS: Fast Quality-Aware RAG Systems with Configuration Adaptation 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. EE-LLM: Large-Scale Training and Inference of Early-Exit Large Language Models with 3D ParallelismYanxi Chen, Xuchen Pan, Yaliang Li, Bolin Ding 等ICML 2024 · 73 次引用
  2. Libra: Flexible Request Partitioning and Scheduling for Serving Unbalanced and Dynamic LLM WorkloadsChaoyi Ruan, Yinhe Chen, Dongqi Tian, Yandong Shi 等NSDI 2026 · 5 次引用
  3. METIS: Fast Quality-Aware RAG Systems with Configuration AdaptationSiddhant Ray, Rui Pan, Zhuohan Gu, Kuntai Du 等SOSP 2025 · 3 次引用
  4. Remembrall: Leaning into Memory for Accurate Video Analytics on System-on-Chip GPUsMurali Ramanujam, Yinwei Dai, Kyle Jamieson, Ravi NetravaliNSDI 2026
  5. T-TAMER: Provably Taming Trade-offs in ML ServingYuanyuan Yang, Ruimin Zhang, Jamie Morgenstern, Haifeng XuICLR 2026

它引用的 Paper28

  1. Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 次引用
  2. SparseGPT: Massive Language Models Can be Accurately Pruned in One-ShotElias Frantar, Dan AlistarhICML 2023 · 1,240 次引用
  3. Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
  4. LLM-Pruner: On the Structural Pruning of Large Language ModelsXinyin Ma, Gongfan Fang, Xinchao WangNeurIPS 2023 · 994 次引用
  5. Orca: A Distributed Serving System for Transformer-Based Generative ModelsGyeong-In Yu, Joo Seong Jeong, Geon-Woo Kim, Soojeong Kim 等OSDI 2022 · 690 次引用

相关 Paper

  1. Improving DNN Inference Throughput Using Practical, Per-Input Compute AdaptationAnand Padmanabha Iyer, Mingyu Guan, Yinwei Dai, Rui Pan 等SOSP 2024 · 1 次引用
  2. Fast yet Safe: Early-Exiting with Risk ControlMetod Jazbec, Alexander Timans, Tin Hadzi Veljkovic, Kaspar Sakmann 等NeurIPS 2024 · 35 次引用
  3. Empowering Adaptive Early-Exit Inference with Latency AwarenessXinrui Tan, Hongjia Li, Liming Wang, Xueqing Huang 等AAAI 2021 · 14 次引用
  4. Proteus: A High-Throughput Inference-Serving System with Accuracy ScalingSohaib Ahmad, Hui Guan, Brian D. Friedman, Thomas Williams 等ASPLOS 2024 · 31 次引用
  5. Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and ReliabilityDivya Jyoti Bajpai, Manjesh Kumar HanawalNeurIPS 2025 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖