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

LEP-CNN:一种轻量级边缘设备辅助的IoT隐私保护CNN推理方案

LEP-CNN: A Lightweight Edge Device Assisted Privacy-preserving CNN Inference Solution for IoT

Yifan Tian, Jiawei Yuan, Shucheng Yu, Yantian Hou

摘要:

在资源受限的物联网设备上及时支持卷积神经网络(CNN)推理一直是新兴智能系统面临的突出挑战。为了减轻物联网设备的负担,主流的解决方案是将通常由数十亿次操作组成的CNN推理任务卸载到公共云。然而,“卸载到云”解决方案在将敏感数据移动到云时可能会导致隐私泄露。为了保护隐私,研究界已经求助于先进的加密原语和近似技术来支持CNN对加密数据的推断。因此,这些尝试会导致物联网设备上不切实际的计算开销,并降低CNN的性能。此外,依赖远程云可能会导致额外的网络延迟,甚至在网络连接关闭时使系统功能障碍。我们提出了一种非常轻量级的边缘设备辅助私有CNN推理解决方案,即LEP-CNN。LEP-CNN的主要设计基于一种新的在线/离线加密方案。LEP-CNN的解密是通过利用CNN最耗时操作的线性特性离线预先计算的。因此,LEP-CNN允许物联网设备安全地卸载超过99%的CNN操作,边缘设备可以像在明文上一样高效地对加密数据执行CNN推理。LEP-CNN还提供完整性检查选项,帮助物联网设备检测错误结果,成功率超过99%。在AlexNet上的实验表明,对于资源受限的物联网设备,LEP-CNN可以将CNN推理速度提高35倍以上。利用CryptoNets实现了一个基于同态加密的AlexNet,并与LEP-CNN进行了比较,以证明LEP-CNN在时间敏感场景下具有比基于同态加密的隐私保护神经网络更好的性能。

英文摘要:

Supporting convolutional neural network (CNN) inference on resource-constrained IoT devices in a timely manner has been an outstanding challenge for emerging smart systems. To mitigate the burden on IoT devices, the prevailing solution is to offload the CNN inference task, which is usually composed of billions of operations, to public cloud. However, the "offloading-to-cloud" solution may cause privacy breach while moving sensitive data to cloud. For privacy protection, the research community has resorted to advanced cryptographic primitives and approximation techniques to support CNN inference on encrypted data. Consequently, these attempts cause impractical computational overhead on IoT devices and degrade the performance of CNNs. Moreover, relying on the remote cloud can cause additional network latency and even make the system dysfunction when network connection is off. We proposes an extremely lightweight edge device assisted private CNN inference solution for IoT devices, namely LEP-CNN. The main design of LEP-CNN is based on a novel online/offline encryption scheme. The decryption of LEP-CNN is pre-computed offline via utilizing the linear property of the most time-consuming operations of CNNs. As a result, LEP-CNN allows IoT devices to securely offload over 99% CNN operations, and edge devices to execute CNN inference on encrypted data as efficient as on plaintext. LEP-CNN also provides an integrity check option to help IoT devices detect error results with a successful rate over 99%. Experiments on AlexNet show that LEP-CNN can speed up the CNN inference for more than 35 times for resource constrained IoT devices. A homomorphic encryption based AlexNet using CryptoNets is implemented to compare with LEP-CNN to demonstrate that LEP-CNN has a better performance than homomorphic encryption based privacy preserving neural networks under time-sensitive scenarios.

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

↑