TL;DR
This paper introduces a novel "Divide-and-Conquer Inversion" (DCI) method that can recover original images from intermediate features of deep neural networks, even when the features are extracted from many layers deep. This challenges the assumption that split computing inherently protects data privacy and provides a tool to assess this vulnerability.
What Problem Does This Paper Address?
Split computing (SC) is a popular technique for running deep neural networks (DNNs) on resource-constrained devices by offloading computation to the cloud. A common assumption is that SC enhances privacy because only intermediate features, not raw data, are shared. However, this paper investigates whether these intermediate features can be used to reconstruct the original private data, a process known as model inversion. Existing model inversion attacks often require access to the original training data or pre-trained generative models, which are not always available in real-world scenarios. This paper addresses the gap of performing model inversion attacks in a "data-free" setting, where neither the original training data nor generative models are available to the attacker, and demonstrates that even under these stringent conditions, privacy can still be compromised in split computing.
Methods
The core of the paper is the Divide-and-Conquer Inversion (DCI) method. Instead of trying to invert the entire deep network at once, DCI breaks down the inversion process into smaller, sequential sub-problems, each targeting a single layer or a block of layers. This makes each inversion step more manageable due to reduced complexity.
Key components of DCI include:
- Layer/Block-wise Inversion Modules: For each layer or block of the target network, a corresponding "inversion module" is trained. These modules are designed to reverse the operation of their target counterparts.
- Cycle-Consistency Guided Inversion: To improve the accuracy and supervision of the inversion modules, the method leverages a "cycle-consistency" loss. This involves feeding the reconstructed image back into the original (target) network and ensuring that the intermediate features match those of the original input. This creates a feedback loop that guides the inversion process.
- Data-Free Synthetic Data Generation: A significant challenge in data-free inversion is obtaining data to train the inversion modules. DCI addresses this by generating synthetic data. This is achieved by minimizing the difference between the statistics of synthetic data and the statistics stored in the batch normalization layers of the target network. This allows the inversion modules to learn from data that mimics the distribution of the original data without needing actual samples.
Datasets
The paper evaluates its method on the following datasets:
- ImageNet: Used for evaluating inversion attacks on discriminative models like RepVGG and ResNet.
- CelebA: Used for evaluating inversion attacks on generative models like SNGAN.
The authors generate synthetic data for training their inversion modules, and also compare their performance against using real data from ImageNet for training.
Key Insights and Ideas
- Split Computing is Not Inherently Private: The most significant insight is that even with many layers offloaded to the cloud, intermediate features can still be vulnerable to inversion attacks, debunking a common privacy assumption in split computing.
- Depth is Not Always a Stronger Defense: Counter-intuitively, increasing the depth of the on-device sub-network doesn't always make inversion harder. Some layers might filter information in a way that makes reconstruction more difficult, while others might preserve it better.
- Data-Free Inversion is Feasible and Effective: The DCI method demonstrates that successful model inversion can be achieved without requiring access to the original training data or pre-trained generative models, which are common limitations of prior work.
- Synthetic Data is a Viable Proxy: Generating synthetic data based on feature statistics is an effective way to train inversion modules in a data-free setting, achieving comparable results to using real data.
- Class-Invariant Information is Filtered Late: The paper observes that class-invariant information is rapidly filtered out towards the end of the network, making it harder to recover fine details from very deep features.
Key Results
- High-Fidelity Reconstruction: DCI successfully recovers recognizable images from features extracted after up to 42 convolutional layers on ImageNet, significantly outperforming prior state-of-the-art methods. For example, it can recover images from RepVGG features after 21 layers with high pixel-wise similarity.
- Generative and Discriminative Models: The method is shown to be effective on both discriminative models (RepVGG, ResNet) and generative models (SNGAN).
- Efficiency: DCI requires only a single forward pass through the trained inversion modules for inference, making it much faster than prior methods that rely on iterative optimization.
- Synthetic Data Performance: DCI achieves comparable inversion quality using 10K synthetic images as it does with 10K real images, highlighting the effectiveness of its synthetic data generation approach.
Limitations and Future Work
- Information Loss at Later Layers: While DCI is powerful, the paper notes that information decays rapidly through the final layers of a network, making it difficult to recover fine details from features extracted very late in the model. Only predominant colors might be discernible.
- Defense Strategies: The paper briefly explores defense strategies like noise injection and feature dropout, showing they can impede inversion but also degrade model utility. This suggests a trade-off that requires further research.
- Future Work: The authors hope their method will serve as a tool for empirically measuring data leakage and assessing the privacy vulnerability of split computing systems, implying future work in developing more robust defenses and privacy metrics.
Summary updated