Hercules: Heterogeneity-Aware Inference Serving for At-Scale Personalized Recommendation
Liu Ke, Udit Gupta, Mark Hempstead, Carole-Jean Wu, Hsien-Hsin S. Lee, Xuan Zhang
摘要
Personalized recommendation is an important class of deep-learning applications that powers a large collection of internet services and consumes a considerable amount of datacenter resources. As the scale of production-grade recommendation systems continues to grow, optimizing their serving performance and efficiency in a heterogeneous datacenter is important and can translate into infrastructure capacity saving. In this paper, we propose Hercules, an optimized framework for personalized recommendation inference serving that targets diverse industry-representative models and cloud-scale heterogeneous systems. Hercules performs a two-stage optimization procedure — offline profiling and online serving. The first stage searches the large under-explored task scheduling space with a gradient-based search algorithm achieving up to 9.0× latency-bounded throughput improvement on individual servers; it also identifies the optimal heterogeneous server architecture for each recommendation workload. The second stage performs heterogeneity-aware cluster provisioning to optimize resource mapping and allocation in response to fluctuating diurnal loads. The proposed cluster scheduler in Hercules achieves 47.7% cluster capacity saving and reduces the provisioned power by 23.7% over a state-of-the-art greedy scheduler.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- GPU-Disaggregated Serving for Deep Learning Recommendation Models at Scale 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models 引用了 DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference
- PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models 引用了 MP-Rec: Hardware-Software Co-design to Enable Multi-path Recommendation
- PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models 引用了 Tensor Casting: Co-Designing Algorithm-Architecture for Personalized Recommendation Training
- PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models 引用了 FAFNIR: Accelerating Sparse Gathering by Using Efficient Near-Memory Intelligent Reduction
- MP-Rec: Hardware-Software Co-design to Enable Multi-path Recommendation 引用了 DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference
- MP-Rec: Hardware-Software Co-design to Enable Multi-path Recommendation 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- MP-Rec: Hardware-Software Co-design to Enable Multi-path Recommendation 引用了 Tensor Casting: Co-Designing Algorithm-Architecture for Personalized Recommendation Training
- PIFS-Rec: Process-In-Fabric-Switch for Large-Scale Recommendation System Inferences 引用了 DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference
- PIFS-Rec: Process-In-Fabric-Switch for Large-Scale Recommendation System Inferences 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- KRISP: Enabling Kernel-wise RIght-sizing for Spatial Partitioned GPU Inference Servers 引用了 DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference
- Tensor Casting: Co-Designing Algorithm-Architecture for Personalized Recommendation Training 引用了 DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference
- Tensor Casting: Co-Designing Algorithm-Architecture for Personalized Recommendation Training 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- FAFNIR: Accelerating Sparse Gathering by Using Efficient Near-Memory Intelligent Reduction 引用了 DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference
- FAFNIR: Accelerating Sparse Gathering by Using Efficient Near-Memory Intelligent Reduction 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
引用它的顶会 Paper9
- KRISP: Enabling Kernel-wise RIght-sizing for Spatial Partitioned GPU Inference ServersMarcus Chow, Ali Jahanshahi, Daniel WongHPCA 2023 · 25 次引用
- GPU-Disaggregated Serving for Deep Learning Recommendation Models at ScaleLingyun Yang, Yongchen Wang, Yinghao Yu, Qizhen Weng 等NSDI 2025 · 22 次引用
- MP-Rec: Hardware-Software Co-design to Enable Multi-path RecommendationSamuel Hsia, Udit Gupta, Bilge Acun, Newsha Ardalani 等ASPLOS 2023 · 10 次引用
- PreSto: An In-Storage Data Preprocessing System for Training Recommendation ModelsYunjae Lee, Hyeseong Kim, Minsoo RhuISCA 2024 · 8 次引用
- PIFS-Rec: Process-In-Fabric-Switch for Large-Scale Recommendation System InferencesPingyi Huo, Anusha Devulapally, Hasan Al Maruf, Minseo Park 等MICRO 2024 · 6 次引用
它引用的 Paper5
- RecNMP: Accelerating Personalized Recommendation with Near-Memory ProcessingLiu Ke, Udit Gupta, Benjamin Youngjae Cho, David Brooks 等ISCA 2020 · 235 次引用
- DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation InferenceUdit Gupta, Samuel Hsia, Vikram Saraph, Xiaodong Wang 等ISCA 2020 · 149 次引用
- FAFNIR: Accelerating Sparse Gathering by Using Efficient Near-Memory Intelligent ReductionBahar Asgari, Ramyad Hadidi, Jiashen Cao, Da Eun Shim 等HPCA 2021 · 87 次引用
- Lazy Batching: An SLA-aware Batching System for Cloud Machine Learning InferenceYujeong Choi, Yunseong Kim, Minsoo RhuHPCA 2021 · 65 次引用
- Tensor Casting: Co-Designing Algorithm-Architecture for Personalized Recommendation TrainingYoungeun Kwon, Yunjae Lee, Minsoo RhuHPCA 2021 · 40 次引用
相关 Paper
- RecPipe: Co-designing Models and Hardware to Jointly Optimize Recommendation Quality and PerformanceUdit Gupta, Samuel Hsia, Jeff Zhang, Mark Wilkening 等MICRO 2021 · 31 次引用
- Power-aware Deep Learning Model Serving with μ-ServeHaoran Qiu, Weichao Mao, Archit Patke, Shengkun Cui 等USENIX ATC 2024 · 82 次引用
- ElasticRec: A Microservice-based Model Serving Architecture Enabling Elastic Resource Scaling for Recommendation ModelsYujeong Choi, Jiin Kim, Minsoo RhuISCA 2024 · 2 次引用
- Serving Heterogeneous Machine Learning Models on Multi-GPU Servers with Spatio-Temporal SharingSeungbeom Choi, Sunho Lee, Yeonjae Kim, Jongse Park 等USENIX ATC 2022 · 200 次引用
- HexGen-3: A Fully Disaggregated LLM Serving Framework with Fine-Grained Heterogeneous Resource AutoscalingYouhe Jiang, Wenshuang Li, You Peng, Jintao Zhang 等ICML 2026
