Abstract
Federated Learning (FL) is a privacy-preserving paradigm where clients share model gradients instead of raw data. However, Gradient Inversion (GI) attacks pose a significant threat by reconstructing private images from these gradients. Most state-of-the-art GI attacks rely on "impractical" auxiliary datasets, assuming the attacker possesses over 70% of the target data distribution. This paper introduces GI-PIP (Gradient Inversion using Practical Image Prior), which achieves high-fidelity reconstruction using only 3.8% of the ImageNet dataset. By replacing data-hungry Generative Adversarial Networks (GANs) with an Auto-Encoder-based anomaly detection prior, GI-PIP demonstrates that privacy vulnerabilities in FL are far more accessible than previously estimated.
Introduction
The security of Federated Learning rests on the assumption that gradients do not leak sensitive information. Gradient Inversion (GI) attacks challenge this by optimizing "dummy" data to match observed gradients. A major limitation of existing high-performance attacks is their dependence on massive auxiliary datasets to train generative priors. In many real-world scenarios, an attacker possessing 70-90% of the target data would find the attack redundant.
GI-PIP addresses this by operating under a realistic threat model where the server only has access to a small, validation-sized dataset. This shift from "generative" to "reconstructive" priors allows for successful attacks with a 20x reduction in auxiliary data requirements compared to current state-of-the-art methods.
Methodology: The Anomaly Score Prior
The core innovation of GI-PIP is the Anomaly Score (AS) loss. Unlike GANs, which require thousands of samples to learn a distribution, Auto-Encoders (AE) can capture essential image textures and structures from much smaller datasets.
The attack process involves pre-training an AE on a small auxiliary dataset (e.g., the ImageNet validation set) to learn how to reconstruct "normal" natural images. During the attack, the attacker iteratively updates dummy data to minimize a composite loss function that includes Gradient Matching (to ensure the dummy data produces gradients similar to the victim's) and Total Variation (to promote spatial smoothness).
Crucially, the Anomaly Score penalizes images that the AE cannot reconstruct well. Since the artifacts and noise of a raw GI attack appear as "anomalies" to the AE, this loss forces the reconstruction toward the natural image manifold, effectively "healing" the image during optimization.
Experimental Evaluation
The researchers evaluated GI-PIP on CIFAR-10 and ImageNet (scaled to 64x64). For ImageNet, the auxiliary dataset consisted solely of the validation set, representing just 3.8% of the total data.
Quantitative and Qualitative Results
GI-PIP achieved a Peak Signal-to-Noise Ratio (PSNR) of 16.12 dB on ImageNet with this minimal data. In contrast, GAN-based methods require over 70% of the data to reach comparable performance. Visual results demonstrate that GI-PIP significantly outperforms baseline methods such as Deep Leakage from Gradients (DLG) and Inverting Gradients (IG).
As shown in the comparison, GI-PIP reconstructions are remarkably close to the ground truth. The method demonstrates superior distribution generalization, remaining effective even when the auxiliary and private data distributions are not perfectly aligned—a common failure point for GAN-based priors.
Conclusion
GI-PIP demonstrates that the data requirements for successful gradient inversion attacks have been significantly overestimated. By leveraging anomaly detection, attackers can reconstruct private data with high fidelity using only a fraction of the auxiliary data previously thought necessary. This finding underscores the urgent need for more robust defense mechanisms in Federated Learning, such as advanced differential privacy or gradient compression, to protect against increasingly efficient inversion techniques.
Summary updated