PATROL: Privacy-Oriented Pruning for Collaborative Inference Against Model Inversion Attacks

Shiwei Ding, Lan Zhang, Miao Pan, Xiaoyong Yuan

Introduction

Collaborative inference has emerged as a powerful paradigm for deploying deep neural networks (DNNs) on resource-constrained edge devices, such as smart cameras and mobile phones. By partitioning a model, the edge device processes initial layers and transmits intermediate features to a cloud server for final computation. However, this approach introduces a significant security vulnerability: Model Inversion Attacks (MIA). In an MIA, an adversary intercepts intermediate features to reconstruct the original raw input, potentially exposing sensitive data like driver identities or private interiors in vehicle re-identification (Re-ID) tasks.

Existing defenses, such as cryptographic methods or differential privacy (adding noise), often fail to balance real-time performance with model accuracy. To address this, the authors propose PATROL (Privacy-Oriented Pruning for Collaborative Inference), a framework designed to hide sensitive information while maintaining high inference utility.

The PATROL Framework

PATROL shifts the defense strategy from post-processing features to fundamentally altering the model's architecture and training process. The framework is built on three core pillars designed to minimize the "invertibility" of data sent to the cloud.

Comparison between original collaborative inference and the PATROL framework, highlighting the use of privacy-oriented pruning to mitigate model inversion attacks.

1. Privacy-Oriented Structured Pruning

Deep neural networks naturally extract more abstract, task-specific features in deeper layers, which are harder to invert than the raw-pixel-like features of early layers. PATROL utilizes structured pruning to remove entire channels or blocks, significantly shrinking the model size. This compression allows more layers to be executed locally on the edge device's limited hardware, ensuring that only highly abstracted, "safe" features are transmitted to the cloud.

2. Lipschitz Regularization

In this context, the Lipschitz constant describes the sensitivity of the model's output to its input. PATROL enforces an "inverse" Lipschitz constraint during training. By making the model's intermediate outputs highly sensitive to minor variations, the reconstruction process for an attacker becomes mathematically unstable and prone to extreme error.

3. Adversarial Reconstruction Training

PATROL employs a min-max game during training. A surrogate attacker is simulated to attempt input reconstruction from intermediate features. The model is then optimized to simultaneously minimize its primary task prediction error while maximizing the reconstruction error of the surrogate attacker, effectively "teaching" the model to discard features useful only for reconstruction.

Experimental Evaluation

The researchers evaluated PATROL using two prominent vehicle Re-ID datasets: VERIWild (400,000+ images) and VeRi (nearly 50,000 images). These datasets are particularly relevant for privacy research as they contain identifiable human faces and car interiors.

Quantitative Results

PATROL demonstrated a superior trade-off between privacy, utility, and efficiency:

  • Efficiency: On VERIWild, the edge model portion was compressed by 66.7% with only a 3.1% drop in accuracy. On VeRi, it achieved 92% compression with a 12.7% accuracy loss.
  • Privacy Metrics: The quality of reconstructed images dropped significantly. On the VeRi dataset, the Peak Signal-to-Noise Ratio (PSNR) decreased by 21.5%, and the Structural Similarity Index (SSIM) fell by 20.1%.

Qualitative Results

Visual analysis confirms the effectiveness of the defense. While baseline reconstructions often reveal car brands and driver silhouettes, images reconstructed from PATROL-protected features are blurred beyond recognition, replacing sensitive details with privacy-preserving noise.

Qualitative comparison of original images versus reconstructed images under different defense scenarios, showing the blurring effect of PATROL.

Conclusion

PATROL re-imagines model pruning not just as a speed optimization, but as a robust privacy mechanism. By strategically pushing more abstracted layers to the edge and regularizing the model against reconstruction, it provides a viable path for secure collaborative inference. Future work may focus on reducing the accuracy trade-offs in extreme compression scenarios and extending the framework to other sensitive domains like medical imaging.

Summary updated

BibTeX
@inproceedings{ding2024patrol,
  author = {Shiwei Ding and Lan Zhang and Miao Pan and Xiaoyong Yuan},
  title = {{PATROL: Privacy-Oriented Pruning for Collaborative Inference Against Model Inversion Attacks}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00465},
}
Figure