Parity Models: A General Framework for Coding-Based Resilience in ML Inference
Not on the map. Why?
Abstract (arXiv)
Machine learning models are becoming the primary workhorses for many applications. Production services deploy models through prediction serving systems that take in queries and return predictions by performing inference on machine learning models. In order to scale to high query rates, prediction serving systems are run on many machines in cluster settings, and thus are prone to slowdowns and failures that inflate tail latency and cause violations of strict latency targets. Current approaches to reducing tail latency are inadequate for the latency targets of prediction serving, incur high resource overhead, or are inapplicable to the computations performed during inference. We present ParM, a novel, general framework for making use of ideas from erasure coding and machine learning to achieve low-latency, resource-efficient resilience to slowdowns and failures in prediction serving systems. ParM encodes multiple queries together into a single parity query and performs inference on the parity query using a parity model. A decoder uses the output of a parity model to reconstruct approximations of unavailable predictions. ParM uses neural networks to learn parity models that enable simple, fast encoders and decoders to reconstruct unavailable predictions for a variety of inference tasks such as image classification, speech recognition, and object localization. We build ParM atop an open-source prediction serving system and through extensive evaluation show that ParM improves overall accuracy in the face of unavailability with low latency while using 2-4× less additional resources than replication-based approaches. ParM reduces the gap between 99.9th percentile and median latency by up to 3.5× compared to approaches that use an equal amount of resources, while maintaining the same median.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 2 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 0; 2024: 3.
4 papers.
- 2024Coded Computing for Resilient Distributed Computing: A Learning-Theoretic Frameworkcited by 5
- 2022Lightweight Projective Derivative Codes for Compressed Asynchronous Gradient Descentcited by 1
- 2024Erasure Coded Neural Network Inference via Fisher Averagingcited by 1
- 2024NeRCC: Nested-Regression Coded Computing for Resilient Distributed Prediction Serving Systemscited by 0
- 2024Erasure Coded Neural Network Inference via Fisher Averaging2 Sep 2024
- 2024Coded Computing for Resilient Distributed Computing: A Learning-Theoretic Framework1 Jun 2024
- 2024NeRCC: Nested-Regression Coded Computing for Resilient Distributed Prediction Serving Systems6 Feb 2024
- 2022Lightweight Projective Derivative Codes for Compressed Asynchronous Gradient Descent31 Jan 2022