基于Fisher平均的纠删编码神经网络推理
Erasure Coded Neural Network Inference via Fisher Averaging
AI总结:
本文针对神经网络推理的尾部延迟问题,提出基于对角Fisher信息的编码算法COIN,将多个神经网络的输出编码为线性组合,在视觉数据集上验证了其高精度与计算高效性。
摘要:
纠删编码计算已在云系统中被成功用于降低由落后服务器和异构流量变化等因素引起的尾部延迟。如今,大部分云计算流量由共享资源上的神经网络推理组成,推理查询的响应时间同样受到这些因素的不利影响。然而,当前的纠删编码技术主要集中在矩阵-向量乘法和矩阵-矩阵乘法等线性计算上,因此不适用于高度非线性的神经网络函数。本文旨在设计一种对神经网络进行编码的方法,即给定两个或更多神经网络模型,如何构造一个编码模型,使其输出是给定神经网络模型输出的线性组合。我们将该问题形式化为KL重心问题,并提出一种实用算法COIN,该算法利用对角Fisher信息来创建一个编码模型,使其近似输出期望的输出线性组合。我们进行了实验,在真实世界视觉数据集上训练的神经网络上执行纠删编码,结果表明使用COIN得到的解码输出精度显著高于其他基线方法,同时具有极高的计算效率。
英文摘要:
Erasure-coded computing has been successfully used in cloud systems to reduce tail latency caused by factors such as straggling servers and heterogeneous traffic variations. A majority of cloud computing traffic now consists of inference on neural networks on shared resources where the response time of inference queries is also adversely affected by the same factors. However, current erasure coding techniques are largely focused on linear computations such as matrix-vector and matrix-matrix multiplications and hence do not work for the highly non-linear neural network functions. In this paper, we seek to design a method to code over neural networks, that is, given two or more neural network models, how to construct a coded model whose output is a linear combination of the outputs of the given neural networks. We formulate the problem as a KL barycenter problem and propose a practical algorithm COIN that leverages the diagonal Fisher information to create a coded model that approximately outputs the desired linear combination of outputs. We conduct experiments to perform erasure coding over neural networks trained on real-world vision datasets and show that the accuracy of the decoded outputs using COIN is significantly higher than other baselines while being extremely compute-efficient.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。