arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.09868cs.LGcs.DCcs.ITmath.IT
收藏

ApproxIFER:一种模型无关的弹性鲁棒预测服务系统

ApproxIFER: A Model-Agnostic Approach to Resilient and Robust Prediction Serving Systems

University of Michigan-Ann Arbor(密歇根大学安娜堡分校);University of Southern California (USC)(南加州大学(USC))

Mahdi Soleymani, Ramy E. Ali, Hessam Mahdavifar, A. Salman Avestimehr

摘要:

由于云辅助人工智能服务的激增,设计弹性预测服务系统的问题,可以有效地应对落伍者/故障,并最大限度地减少响应延迟引起了人们的极大兴趣。解决这个问题的常用方法是复制,它将相同的预测任务分配给多个工人。然而,这种方法效率非常低,并且会产生大量的资源开销。因此,最近提出了一种基于学习的方法,称为奇偶校验模型(ParM),它学习可以为一组预测生成奇偶校验的模型,以便重建缓慢/失败的工人的预测。虽然这种基于学习的方法比复制更节省资源,但它是针对云托管的特定模型量身定制的,特别适合少量查询(通常少于四个),并且容忍很少(主要是一个)数量的落伍者。此外,ParM不处理拜占庭式的敌对工人。我们提出了一种不同的方法,称为近似编码推理(ApproxIFER),它不需要训练任何奇偶校验模型,因此它对云托管的模型是不可知的,可以很容易地应用于不同的数据域和模型架构。与早期的作品相比,ApproxIFER可以处理一般数量的掉队者和规模显着更好的查询的数量。此外,ApproxIFER对拜占庭工人来说是强大的。我们在大量数据集和模型架构上进行的广泛实验也表明,与奇偶校验模型方法相比,准确率提高了58%。

英文摘要:

Due to the surge of cloud-assisted AI services, the problem of designing resilient prediction serving systems that can effectively cope with stragglers/failures and minimize response delays has attracted much interest. The common approach for tackling this problem is replication which assigns the same prediction task to multiple workers. This approach, however, is very inefficient and incurs significant resource overheads. Hence, a learning-based approach known as parity model (ParM) has been recently proposed which learns models that can generate parities for a group of predictions in order to reconstruct the predictions of the slow/failed workers. While this learning-based approach is more resource-efficient than replication, it is tailored to the specific model hosted by the cloud and is particularly suitable for a small number of queries (typically less than four) and tolerating very few (mostly one) number of stragglers. Moreover, ParM does not handle Byzantine adversarial workers. We propose a different approach, named Approximate Coded Inference (ApproxIFER), that does not require training of any parity models, hence it is agnostic to the model hosted by the cloud and can be readily applied to different data domains and model architectures. Compared with earlier works, ApproxIFER can handle a general number of stragglers and scales significantly better with the number of queries. Furthermore, ApproxIFER is robust against Byzantine workers. Our extensive experiments on a large number of datasets and model architectures also show significant accuracy improvement by up to 58% over the parity model approaches.

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

↑