arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.11191cs.DBcs.LG
收藏

Biathlon:利用模型韧性加速机器学习推理流水线

Biathlon: Harnessing Model Resilience for Accelerating ML Inference Pipelines

The Chinese University of Hong Kong(香港中文大学)

Chaokun Chang, Eric Lo, Chunxiao Ye

AI总结:

本文提出 ML 服务系统 Biathlon,利用模型对输入变化的韧性为各聚合特征选择最优近似程度,在保证准确率损失上界的同时实现 5.3–16.6 倍推理加速。

摘要:

数据科学和工业界常见的机器学习推理流水线由于面向用户,通常需要实时响应能力。然而,当某些输入特征需要在线聚合大量数据时,满足这一要求变得尤其具有挑战性。近期关于可解释机器学习的文献表明,大多数机器学习模型对输入变化表现出显著程度的韧性。这表明机器学习模型能够有效容纳近似输入特征,同时对准确率的可察觉影响极小。本文提出一种新型机器学习服务系统 Biathlon,该系统利用模型固有的韧性,并为每个聚合特征确定最佳近似程度。该方法能够在确保准确率损失具有保证上界的同时实现最大加速。我们在来自工业应用和数据科学竞赛的真实流水线上评估了 Biathlon,结果表明其能够满足实时延迟要求,实现 5.3 倍至 16.6 倍的加速,且几乎没有准确率损失。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑