[Paper Review] LEP-CNN: A Lightweight Edge Device Assisted Privacy-preserving CNN Inference Solution for IoT
LEP-CNN proposes a lightweight, privacy-preserving CNN inference solution for resource-constrained IoT devices by offloading over 99% of CNN operations to edge devices using an online/offline encryption scheme. It pre-computes decryption keys via the linear property of CNN operations, enabling near-plaintext efficiency on encrypted data and achieving over 35× speedup on Raspberry Pi-level hardware with 99% integrity detection accuracy.
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.
Motivation & Objective
- Address the challenge of deploying computationally intensive CNN inference on resource-constrained IoT devices.
- Overcome privacy risks associated with offloading sensitive data to public cloud.
- Reduce computational overhead and latency caused by homomorphic encryption in existing privacy-preserving CNN solutions.
- Ensure result integrity against malicious edge devices through a lightweight integrity check mechanism.
- Enable real-time, on-the-fly inference for time-sensitive IoT applications without accuracy loss.
Proposed method
- Design a novel online/offline encryption scheme that separates linear CNN operations from input and random noise.
- Pre-compute decryption keys offline using the linear property of convolutional layers to eliminate runtime decryption cost.
- Offload over 99% of CNN operations to edge devices, which perform inference on encrypted data efficiently.
- Integrate a lightweight integrity check mechanism enabling IoT devices to detect incorrect results with over 99% success rate.
- Use approximation techniques to convert non-linear activation functions into linear forms compatible with homomorphic encryption.
- Implement the scheme using a YASHE-based cryptosystem, optimized for low-latency execution on edge devices.
Experimental results
Research questions
- RQ1Can a lightweight, edge-assisted encryption scheme enable efficient privacy-preserving CNN inference on IoT devices?
- RQ2How can decryption overhead be minimized in encrypted CNN inference without compromising security?
- RQ3To what extent can operation offloading to edge devices reduce latency and energy consumption in time-sensitive IoT applications?
- RQ4Can integrity be efficiently verified in a privacy-preserving edge computing model for CNN inference?
- RQ5How does the performance of LEP-CNN compare to homomorphic encryption-based solutions like CryptoNets in real-world scenarios?
Key findings
- LEP-CNN achieves over 35× speedup in CNN inference on IoT devices with computing power comparable to Raspberry Pi.
- The local encryption and decryption process in LEP-CNN completes in just 0.3 seconds for an AlexNet input, compared to over 10 hours in homomorphic encryption-based approaches.
- The first convolutional layer in LEP-CNN takes 0.0103 seconds, while the same operation in CryptoNets takes 625.856 seconds.
- LEP-CNN reduces end-to-end inference time by over 99% compared to homomorphic encryption-based solutions like CryptoNets.
- The integrity check mechanism successfully detects incorrect results from dishonest edge devices with a success rate exceeding 99%.
- LEP-CNN maintains full inference accuracy without introducing approximation-related accuracy loss, unlike other homomorphic encryption-based methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.