You Can Use But Cannot Recognize: Preserving Visual Privacy in Deep Neural Networks

Qiushi Li, Yan Zhang, Ju Ren, Yaoxue Zhang

Abstract

Deep Neural Networks (DNNs) require vast amounts of image data, raising significant privacy concerns in fields like medical analysis and autonomous driving. Traditional methods like Differential Privacy (DP) often degrade model accuracy or fail to obscure visual features effectively. We propose VisualMixer (VIM), a framework that protects training data through pixel shuffling without injecting external noise. By leveraging a novel metric, Visual Feature Entropy (VFE), VIM determines optimal shuffling regions and window sizes to maximize privacy while preserving the statistical features necessary for machine learning. Our results show that VisualMixer maintains high utility with an average accuracy loss of only 2.35% across various benchmarks.

Introduction: The Semantic Gap in Privacy

The primary challenge in visual privacy is the "semantic gap"—the difference between how humans and machines perceive images. Humans recognize shapes and semantic meaning, while machines learn from statistical distributions. Existing techniques like Differential Privacy add statistical noise that can be filtered by human vision or destroy the underlying data patterns needed for training. Encryption-based methods, while secure, are computationally prohibitive. VisualMixer addresses this by rearranging existing pixels (self-transformation) to make images unrecognizable to humans while remaining readable for DNNs.

Methodology

The VisualMixer framework consists of three core components:

  1. Visual Feature Entropy (VFE): A new metric that quantifies visual information based on chromatic gradients. It measures the disorder of an image, allowing for a mathematical balance between privacy (high VFE) and utility.
  2. VisualMixer (VIM) Shuffling: Unlike uniform obfuscation, VIM uses VFE to identify "Regions of Interest" (RoIs). It applies non-uniform shuffling—smaller windows for high-detail areas to preserve features and larger windows for low-detail areas to enhance privacy. Shuffling occurs both spatially and across RGB channels.
  3. ST-Adam Optimizer: Standard optimizers like Adam can become unstable due to the "gradient oscillation" caused by scrambled data. ST-Adam (Stable Adaptive Momentum) removes time-based rescaling to provide stable updates during training on obfuscated datasets.
Overview of the VisualMixer framework, showing client-side VFE-guided preprocessing and server-side training with the ST-Adam optimizer.

Experimental Evaluation

We evaluated VisualMixer on four major datasets: ImageNet-100, CIFAR-10, MNIST, and the AT&T Face Database. The framework was tested across multiple architectures, including ResNet, VGG, Vision Transformers (ViT), and Swin Transformers.

Key Results

  • Utility Preservation: VisualMixer achieved near-raw performance, with an average accuracy drop of just 2.35 percentage points.
  • Privacy Robustness: The method proved resilient against "Shredder" attacks and GAN-based reconstructions. Even when attackers attempted to piece images back together, the output remained visually indistinguishable from noise.
  • Efficiency: VIM introduces negligible computational overhead, maintaining training throughput similar to raw data processing.
Visual comparison of noise-based Differential Privacy (left) versus VisualMixer's shuffling approach (right) across different parameters, showing accuracy (ACC) and Visual Feature Entropy (VFE).

Discussion and Insights

The success of VisualMixer highlights the divergence between human and machine vision. By preserving the data distribution through shuffling rather than noise injection, we maintain the "learnability" of the dataset. VFE acts as a "privacy thermostat," allowing users to tune the level of obfuscation based on specific requirements.

Conclusion and Future Work

VisualMixer provides a high-efficiency, high-utility alternative to traditional privacy-preserving methods. While it requires slightly more training epochs for complex models like ViT, it effectively masks sensitive information and membership. Future work will explore extending these shuffling techniques to medical video analysis and privacy-preserving knowledge distillation.

Summary updated

BibTeX
@inproceedings{li2024you,
  author = {Qiushi Li and Yan Zhang and Ju Ren and Qi Li and Yaoxue Zhang},
  title = {{You Can Use But Cannot Recognize: Preserving Visual Privacy in Deep Neural Networks}},
  booktitle = {NDSS},
  year = {2024},
}
Figure