CENSOR: Defense Against Gradient Inversion via Orthogonal Subspace Bayesian Sampling
Kaiyuan Zhang, Siyuan Cheng, Guangyu Shen, Bruno Ribeiro, Shengwei An, Pin-Yu Chen, Xiangyu Zhang, Ninghui Li
TL;DR
Censor addresses gradient inversion in federated learning by restricting gradient updates to an orthogonal subspace to the original gradients and applying cold posterior Bayesian sampling to select the most favorable update. By projecting perturbations into a high-dimensional orthogonal space and guiding selection with loss reduction, it dramatically reduces the information leaked through gradients while maintaining model performance. Theoretical justification and extensive experiments across ImageNet, FFHQ, and CIFAR-10 show Censor outperforms state-of-the-art defenses against both stochastic-optimization and GAN-based inversions, including adaptive EOT attacks, with minimal computational overhead and no convergence degradation. This yields a practical privacy-preserving FL mechanism suitable for large neural networks.
Abstract
Federated learning collaboratively trains a neural network on a global server, where each local client receives the current global model weights and sends back parameter updates (gradients) based on its local private data. The process of sending these model updates may leak client's private data information. Existing gradient inversion attacks can exploit this vulnerability to recover private training instances from a client's gradient vectors. Recently, researchers have proposed advanced gradient inversion techniques that existing defenses struggle to handle effectively. In this work, we present a novel defense tailored for large neural network models. Our defense capitalizes on the high dimensionality of the model parameters to perturb gradients within a subspace orthogonal to the original gradient. By leveraging cold posteriors over orthogonal subspaces, our defense implements a refined gradient update mechanism. This enables the selection of an optimal gradient that not only safeguards against gradient inversion attacks but also maintains model utility. We conduct comprehensive experiments across three different datasets and evaluate our defense against various state-of-the-art attacks and defenses. Code is available at https://censor-gradient.github.io.
