English

RecPipe: Co-designing Models and Hardware to Jointly Optimize Recommendation Quality and Performance

Hardware Architecture 2021-05-25 v2 Artificial Intelligence Distributed, Parallel, and Cluster Computing

Abstract

Deep learning recommendation systems must provide high quality, personalized content under strict tail-latency targets and high system loads. This paper presents RecPipe, a system to jointly optimize recommendation quality and inference performance. Central to RecPipe is decomposing recommendation models into multi-stage pipelines to maintain quality while reducing compute complexity and exposing distinct parallelism opportunities. RecPipe implements an inference scheduler to map multi-stage recommendation engines onto commodity, heterogeneous platforms (e.g., CPUs, GPUs).While the hardware-aware scheduling improves ranking efficiency, the commodity platforms suffer from many limitations requiring specialized hardware. Thus, we design RecPipeAccel (RPAccel), a custom accelerator that jointly optimizes quality, tail-latency, and system throughput. RPAc-cel is designed specifically to exploit the distinct design space opened via RecPipe. In particular, RPAccel processes queries in sub-batches to pipeline recommendation stages, implements dual static and dynamic embedding caches, a set of top-k filtering units, and a reconfigurable systolic array. Com-pared to prior-art and at iso-quality, we demonstrate that RPAccel improves latency and throughput by 3x and 6x.

Keywords

Cite

@article{arxiv.2105.08820,
  title  = {RecPipe: Co-designing Models and Hardware to Jointly Optimize Recommendation Quality and Performance},
  author = {Udit Gupta and Samuel Hsia and Jeff Zhang and Mark Wilkening and Javin Pombra and Hsien-Hsin S. Lee and Gu-Yeon Wei and Carole-Jean Wu and David Brooks},
  journal= {arXiv preprint arXiv:2105.08820},
  year   = {2021}
}
R2 v1 2026-06-24T02:14:32.500Z