DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference

By Udit Gupta, Samuel Hsia, Vikram Saraph, Xiaodong Wang, Brandon Reagen, Gu-Yeon Wei, Hsien-Hsin S. Lee, David M. Brooks, Carole-Jean Wu. 2020

211 citations recorded by the source corpus.

Neural personalized recommendation is the cornerstone of a wide collection of cloud services and products, constituting significant compute demand of cloud infrastructure. Thus, improving the execution efficiency of recommendation directly translates into infrastructure capacity saving. In this paper, we propose DeepRecSched, a recommendation inference scheduler that maximizes latency-bounded throughput by taking into account characteristics of inference query size and arrival patterns, model architectures, and underlying hardware systems. By carefully optimizing task versus data-level parallelism, DeepRecSched improves system throughput on server class CPUs by $2 \times$ across eight industry-representative models. Next, we deploy and evaluate this optimization in an at-scale production datacenter which reduces end-to-end tail latency across a wide variety of recommendation models by 30%. Finally, DeepRecSched demonstrates the role and impact of specialized AI hardware in optimizing system level performance (QPS) and power efficiency (QPS/watt) of recommendation inference.In order to enable the design space exploration of customized recommendation systems shown in this paper, we design and validate an end-to-end modeling infrastructure, DeepRecInfra. DeepRecInfra enables studies over a variety of recommendation use cases, taking into account at-scale effects, such as query arrival patterns and recommendation query sizes, observed from a production datacenter, as well as industry-representative models and tail latency targets.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Electrical and Electronic Engineering, Recommender Systems, ML Systems & Hardware

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Carole-Jean Wu
  2. Bilge Acun
  3. Caroline Trippel
  4. Udit Gupta
  5. Gu-Yeon Wei
  6. Xing Liu
  7. Christos Kozyrakis
  8. Niket Agarwal

In Computer Vision and Pattern Recognition

  1. Carole-Jean Wu
  2. David M. Brooks
  3. Udit Gupta
  4. Sheng-Chun Kao
  5. Gu-Yeon Wei
  6. Christos Kozyrakis
  7. Ping Tak Peter Tang
  8. Maxim Naumov

In Electrical and Electronic Engineering

  1. Carole-Jean Wu
  2. Udit Gupta
  3. David M. Brooks
  4. Gu-Yeon Wei
  5. Sheng-Chun Kao
  6. Nam Sung Kim
  7. Christos Kozyrakis
  8. Brandon Lucia

In Recommender Systems

  1. Carole-Jean Wu
  2. Bilge Acun
  3. Michael Lui
  4. Tushar Krishna
  5. Jongsoo Park
  6. Mark Hempstead
  7. Özgür Özkan
  8. Xiaodong Wang

In ML Systems & Hardware

  1. Carole-Jean Wu
  2. Bilge Acun
  3. Gu-Yeon Wei
  4. David M. Brooks
  5. Udit Gupta
  6. Christos Kozyrakis
  7. Brandon Lucia
  8. Tushar Krishna

Citations in the corpus