PRETZEL: Opening the Black Box of Machine Learning Prediction Serving Systems
arXiv:1810.06115
Abstract
Machine Learning models are often composed of pipelines of transformations. While this design allows to efficiently execute single model components at training time, 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.5x while reducing memory footprint by 25x, and increasing throughput by 4.7x.
arXiv comment16 pages, 14 figures, 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI), 2018
References in corpus (6)
- An overview of gradient descent optimization algorithms
- MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systems
- HOGWILD!: A Lock-Free Approach to Parallelizing Stochastic Gradient Descent
- DyNet: The Dynamic Neural Network Toolkit
- Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractions
- The Missing Piece in Complex Analytics: Low Latency, Scalable Model Management and Serving with Velox