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

DeepReDuce:快速私有推理的ReLU约简

DeepReDuce: ReLU Reduction for Fast Private Inference

New York University(纽约大学)

Nandan Kumar Jha, Zahra Ghodsi, Siddharth Garg, Brandon Reagen

摘要:

最近对隐私问题的担忧导致研究人员设计出私人神经推理的方法-直接在加密数据上进行推理,而不会看到输入。私有推理面临的主要挑战是,对加密数据进行计算会带来不切实际的高延迟惩罚,主要来自ReLU等非线性运算符。实现实用和私有的推理需要新的优化方法,以最大限度地减少网络ReLU计数,同时保持准确性。本文提出了DeepReduce:一组明智地删除ReLU以减少私有推理延迟的优化。关键的见解是,并非所有的ReLU对准确性的贡献都是一样的。我们利用这一洞察力从经典网络中删除或删除ReLU,以显著降低推理延迟并保持高准确性。给定一个目标网络,DeepReduce输出一个网络的帕累托边界,权衡ReLU的数量和准确性。与最先进的私有推理相比,DeepReduce提高了准确性,并将ReLU计数分别减少了3.5%(iso-ReLU计数)和3.5 $\times$(iso-accuracy)。

英文摘要:

The recent rise of privacy concerns has led researchers to devise methods for private neural inference -- where inferences are made directly on encrypted data, never seeing inputs. The primary challenge facing private inference is that computing on encrypted data levies an impractically-high latency penalty, stemming mostly from non-linear operators like ReLU. Enabling practical and private inference requires new optimization methods that minimize network ReLU counts while preserving accuracy. This paper proposes DeepReDuce: a set of optimizations for the judicious removal of ReLUs to reduce private inference latency. The key insight is that not all ReLUs contribute equally to accuracy. We leverage this insight to drop, or remove, ReLUs from classic networks to significantly reduce inference latency and maintain high accuracy. Given a target network, DeepReDuce outputs a Pareto frontier of networks that tradeoff the number of ReLUs and accuracy. Compared to the state-of-the-art for private inference DeepReDuce improves accuracy and reduces ReLU count by up to 3.5% (iso-ReLU count) and 3.5$\times$ (iso-accuracy), respectively.

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

↑