arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.02654cs.LGcs.SE
收藏

采用两个监督器以高效利用大规模远程深度神经网络

Adopting Two Supervisors for Efficient Use of Large-Scale Remote Deep Neural Networks

Università della Svizzera italiana(瑞士意大利语大学)

Michael Weiss, Paolo Tonella

AI总结:

提出BiSupervised架构,通过本地小模型预测及双监督器机制,在保证准确率的同时减少远程大规模DNN调用成本并处理不可信预测。

摘要:

近几十年来,大规模深度神经网络(DNNs)的兴起使其在多种人工智能任务中取得了与人类竞争的性能。这些DNN通常包含数亿乃至数千亿个参数,由于规模过大,无法部署到或在资源受限的设备(如手机或IoT微控制器)上高效运行。因此,依赖大规模DNN的系统必须通过网络调用相应的模型,这导致托管和运行大规模远程模型产生巨大成本,且这些成本通常按次计费。在本文中,我们提出了一种新颖的架构BiSupervised,在依赖大型远程DNN之前,系统会先尝试使用小规模本地模型进行预测。一个DNN监督器监控该预测过程,并识别出简单输入,对于这些输入,本地预测是可信的。对于这些输入,无需调用远程模型,从而节省成本,同时对整体系统准确率的影响微乎其微。我们的架构还配备了第二个监督器来监控远程预测,并识别出连这些预测都不可信的输入,从而允许抛出异常或运行回退策略。我们在四个不同的案例研究中评估了成本节省情况以及检测错误预测输入的能力:IMDB电影评论情感分类、Github issue分发、Imagenet图像分类和SQuADv2自由文本问答。

英文摘要:

Recent decades have seen the rise of large-scale Deep Neural Networks (DNNs) to achieve human-competitive performance in a variety of artificial intelligence tasks. Often consisting of hundreds of millions, if not hundreds of billion parameters, these DNNs are too large to be deployed to, or efficiently run on resource-constrained devices such as mobile phones or IoT microcontrollers. Systems relying on large-scale DNNs thus have to call the corresponding model over the network, leading to substantial costs for hosting and running the large-scale remote model, costs which are often charged on a per-use basis. In this paper, we propose BiSupervised, a novel architecture, where, before relying on a large remote DNN, a system attempts to make a prediction on a small-scale local model. A DNN supervisor monitors said prediction process and identifies easy inputs for which the local prediction can be trusted. For these inputs, the remote model does not have to be invoked, thus saving costs, while only marginally impacting the overall system accuracy. Our architecture furthermore foresees a second supervisor to monitor the remote predictions and identify inputs for which not even these can be trusted, allowing to raise an exception or run a fallback strategy instead. We evaluate the cost savings, and the ability to detect incorrectly predicted inputs on four diverse case studies: IMDB movie review sentiment classification, Github issue triaging, Imagenet image classification, and SQuADv2 free-text question answering

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

↑