Yunseong Lee, Alberto Scolari, Byung-Gon Chun, Marco Domenico Santambrogio, Markus Weimer, Matteo Interlandi

Abstract

Machine Learning models are often composed of pipelines of transformations. While this design allows to efficiently execute single model components at trainingtime, prediction serving has different requirements such as low latency, high throughput and graceful performance degradation under heavy load. Current prediction serving systems consider models as black boxes, whereby prediction-time-specific optimizations are ignored in favor of ease of deployment. In this paper, we present PRETZEL, a prediction serving system introducing a novel white box architecture enabling both end-to-end and multi-model optimizations. Using production-like model pipelines, our experiments show that PRETZEL is able to introduce performance improvements over different dimensions; compared to state-of-the-art approaches PRETZEL is on average able to reduce 99th percentile latency by 5.5×while reducing memory footprint by 25×, and increasing throughput by 4.7×.

Download PDF

BibTeX

@inproceedings {Lee-2018,
  author = {Yunseong Lee and Alberto Scolari and Byung-Gon Chun and Marco Domenico Santambrogio and Markus Weimer and Matteo Interlandi},
  title = {PRETZEL: Opening the Black Box of Machine Learning Prediction Serving Systems},
  booktitle = {13th USENIX Symposium on Operating Systems Design and Implementation (OSDI 18)},
  year = {2018},
  isbn = {978-1-931971-47-8},
  address = {Carlsbad, CA},
  pages = {611--626},
  url = {https://www.usenix.org/conference/osdi18/presentation/lee},
  publisher = {USENIX Association},
}