Biathlon: Harnessing Model Resilience for Accelerating ML Inference Pipelines

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Chang, Chaokun, Lo, Eric, Ye, Chunxiao
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913356450889728
author Chang, Chaokun
Lo, Eric
Ye, Chunxiao
author_facet Chang, Chaokun
Lo, Eric
Ye, Chunxiao
contents Machine learning inference pipelines commonly encountered in data science and industries often require real-time responsiveness due to their user-facing nature. However, meeting this requirement becomes particularly challenging when certain input features require aggregating a large volume of data online. Recent literature on interpretable machine learning reveals that most machine learning models exhibit a notable degree of resilience to variations in input. This suggests that machine learning models can effectively accommodate approximate input features with minimal discernible impact on accuracy. In this paper, we introduce Biathlon, a novel ML serving system that leverages the inherent resilience of models and determines the optimal degree of approximation for each aggregation feature. This approach enables maximum speedup while ensuring a guaranteed bound on accuracy loss. We evaluate Biathlon on real pipelines from both industry applications and data science competitions, demonstrating its ability to meet real-time latency requirements by achieving 5.3x to 16.6x speedup with almost no accuracy loss.
format Preprint
id arxiv_https___arxiv_org_abs_2405_11191
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Biathlon: Harnessing Model Resilience for Accelerating ML Inference Pipelines
Chang, Chaokun
Lo, Eric
Ye, Chunxiao
Databases
Machine Learning
Machine learning inference pipelines commonly encountered in data science and industries often require real-time responsiveness due to their user-facing nature. However, meeting this requirement becomes particularly challenging when certain input features require aggregating a large volume of data online. Recent literature on interpretable machine learning reveals that most machine learning models exhibit a notable degree of resilience to variations in input. This suggests that machine learning models can effectively accommodate approximate input features with minimal discernible impact on accuracy. In this paper, we introduce Biathlon, a novel ML serving system that leverages the inherent resilience of models and determines the optimal degree of approximation for each aggregation feature. This approach enables maximum speedup while ensuring a guaranteed bound on accuracy loss. We evaluate Biathlon on real pipelines from both industry applications and data science competitions, demonstrating its ability to meet real-time latency requirements by achieving 5.3x to 16.6x speedup with almost no accuracy loss.
title Biathlon: Harnessing Model Resilience for Accelerating ML Inference Pipelines
topic Databases
Machine Learning
url https://arxiv.org/abs/2405.11191