Abstract
Privacy is a crucial concern in collaborative machine vision where a part of a Deep Neural network (DNN) model runs on the edge, and the rest is executed on the cloud. In such applications, the machine vision model does not need the exact visual content to perform its task. Taking advantage of this potential, private information could be removed from the data insofar as it does not significantly impair the accuracy of the machine vision system. In this paper, we present an autoencoder-style network integrated within an object detection pipeline, which generates a latent representation of the input image that preserves task-relevant information while removing private information. Our approach employs an adversarial training strategy that not only removes private information from the bottleneck of the autoencoder but also promotes improved compression efficiency for feature channels coded by conventional codecs like VVC-Intra. We assess the proposed system using a realistic evaluation framework for privacy, directly measuring face and license plate recognition accuracy. Experimental results show that our proposed method is able to reduce the bitrate significantly at the same object detection accuracy compared to coding the input images directly, while keeping the face and license plate recognition accuracy on the images recovered from the bottleneck features low, implying strong privacy protection.
Introduction: The Privacy Gap in Collaborative Intelligence
In the paradigm of "collaborative intelligence," deep neural network (DNN) workloads are distributed between edge devices (e.g., smart cameras) and cloud servers. The edge device typically processes the initial layers of a model and transmits the resulting intermediate features to the cloud for final inference. While this approach optimizes bandwidth and reduces edge power consumption, it introduces a significant security vulnerability: Model Inversion Attacks (MIA).
As illustrated in Figure 1, an adversary intercepting these intermediate features can employ an inverse network to reconstruct the original input image. Even if the features appear as unintelligible noise to humans, they often retain sufficient mathematical signal to recover sensitive information like recognizable faces or license plate characters. Traditional privacy-preserving methods often degrade model accuracy, while standard encryption fails to address the inherent "utility vs. privacy" trade-off in the data itself.
Proposed Method: Adversarial Autoencoding
To address these challenges, we propose a privacy-preserving autoencoder (AE) integrated into a YOLOv5m object detection pipeline. The model is split at the fifth layer, where the AE is inserted to transform intermediate features into a privacy-preserving, highly compressible latent representation.
The framework, detailed in Figure 3, utilizes a three-pronged adversarial training strategy:
- Task Loss: Maintains the accuracy of the cloud-side "back-end" for object detection.
- Compressibility Loss: Encourages feature distributions that are optimized for standard video codecs like VVC-Intra, significantly reducing the required bitrate.
- Adversarial Reconstruction Loss: An auxiliary "Reconstruction Network" (RecNet) acts as an adversary during training, attempting to recover the original image. The autoencoder is trained to maximize the RecNet's error, effectively stripping away identifiable details.
A key innovation is the use of an edge-centric loss (via Sobel filters) during the adversarial phase. This forces the autoencoder to specifically target and remove high-frequency details—such as facial features or alphanumeric characters—which are critical for identification but secondary for general object detection.
Experimental Evaluation
The system was evaluated using three datasets: COCO-2017 for general object detection, LFW (Labeled Faces in the Wild) for facial privacy, and CCPD (Chinese City Parking Dataset) for license plate protection.
Key Results
The proposed method achieves a Pareto-optimal balance across compression, privacy, and utility:
- Compression Efficiency: The system achieved a 19.4% BD-Rate saving compared to encoding input images directly, maintaining equivalent object detection accuracy.
- Robust Privacy: In white-box attack scenarios, face recognition accuracy on reconstructed images plummeted to below 21%, while license plate recognition dropped to nearly 0%.
- Utility Preservation: Object detection performance (mAP) remained nearly identical to the baseline YOLOv5 model, with less than a 1% drop in precision even in high-privacy configurations.
Conclusion
This research demonstrates that standard image quality metrics like PSNR are inadequate proxies for privacy; targeted feature suppression is far more effective. By explicitly optimizing for both traditional hardware-accelerated codecs (VVC) and adversarial robustness, our privacy-preserving autoencoder provides a practical path for deploying secure collaborative vision systems on edge devices. Future work will explore dynamic split points and joint fine-tuning of the detection backbone to further enhance the accuracy-privacy trade-off.
Summary updated