arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2003.06131cs.CVeess.IV
收藏

鲁棒DNN推理的部分权值自适应

Partial Weight Adaptation for Robust DNN Inference

Hewlett Packard Labs(惠普实验室)

Xiufeng Xie, Kyu-Han Kim

摘要:

主流视频分析使用预训练的DNN模型,假设推理输入和训练数据遵循相同的概率分布。然而,这一假设并不总是在野外成立:自动驾驶汽车可能会捕获亮度变化的视频;不稳定的无线带宽要求视频的自适应比特率流;并且,推理服务器可能会提供来自异构IoT设备/摄像机的输入。在这种情况下,输入失真的水平迅速变化,从而重塑输入的概率分布。我们提出了GearNN,一种适应异构DNN输入的自适应推理架构。GearNN采用优化算法来识别一小组“失真敏感”DNN参数,给定内存预算。根据输入的失真水平,GearNN只调整失真敏感参数,同时在所有输入质量中重用其余的常量参数。在我们对动态输入失真的DNN推理的评估中,GearNN的准确性(mIoU)比使用未失真数据集训练的DNN平均提高了18.12%,比Google的稳定性训练提高了4.84%,仅增加了1.8%的内存开销。

英文摘要:

Mainstream video analytics uses a pre-trained DNN model with an assumption that inference input and training data follow the same probability distribution. However, this assumption does not always hold in the wild: autonomous vehicles may capture video with varying brightness; unstable wireless bandwidth calls for adaptive bitrate streaming of video; and, inference servers may serve inputs from heterogeneous IoT devices/cameras. In such situations, the level of input distortion changes rapidly, thus reshaping the probability distribution of the input. We present GearNN, an adaptive inference architecture that accommodates heterogeneous DNN inputs. GearNN employs an optimization algorithm to identify a small set of "distortion-sensitive" DNN parameters, given a memory budget. Based on the distortion level of the input, GearNN then adapts only the distortion-sensitive parameters, while reusing the rest of constant parameters across all input qualities. In our evaluation of DNN inference with dynamic input distortions, GearNN improves the accuracy (mIoU) by an average of 18.12% over a DNN trained with the undistorted dataset and 4.84% over stability training from Google, with only 1.8% extra memory overhead.

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

↑