[Paper Review] Cocktail Party Attack: Breaking Aggregation-Based Privacy in Federated Learning using Independent Component Analysis
This paper proposes the Cocktail Party Attack (CPA), a novel gradient inversion attack that recovers private inputs from aggregated gradients in federated learning by modeling the problem as blind source separation using independent component analysis (ICA). CPA successfully recovers high-quality images from gradients even at large batch sizes (up to 1024), outperforming prior methods and demonstrating that aggregation alone does not ensure privacy in FL.
Federated learning (FL) aims to perform privacy-preserving machine learning on distributed data held by multiple data owners. To this end, FL requires the data owners to perform training locally and share the gradient updates (instead of the private inputs) with the central server, which are then securely aggregated over multiple data owners. Although aggregation by itself does not provably offer privacy protection, prior work showed that it may suffice if the batch size is sufficiently large. In this paper, we propose the Cocktail Party Attack (CPA) that, contrary to prior belief, is able to recover the private inputs from gradients aggregated over a very large batch size. CPA leverages the crucial insight that aggregate gradients from a fully connected layer is a linear combination of its inputs, which leads us to frame gradient inversion as a blind source separation (BSS) problem (informally called the cocktail party problem). We adapt independent component analysis (ICA)--a classic solution to the BSS problem--to recover private inputs for fully-connected and convolutional networks, and show that CPA significantly outperforms prior gradient inversion attacks, scales to ImageNet-sized inputs, and works on large batch sizes of up to 1024.
Motivation & Objective
- To challenge the assumption that large-batch gradient aggregation in federated learning provides meaningful privacy protection.
- To develop a practical gradient inversion attack that works effectively even with large batch sizes, where prior attacks fail.
- To demonstrate that the linear relationship between aggregated gradients and inputs in fully-connected layers enables effective input recovery.
- To extend the attack to convolutional neural networks via embedding recovery and feature inversion.
- To evaluate the efficacy of CPA against prior gradient matching attacks and assess its scalability and robustness.
Proposed method
- Leverages the insight that aggregate gradients from a fully-connected layer are linear combinations of the input data samples.
- Frames the gradient inversion problem as a blind source separation (BSS) task, inspired by the classic cocktail party problem.
- Applies independent component analysis (ICA) to estimate an unmixing matrix that recovers the original inputs from the mixed gradients.
- Extends the attack to convolutional networks by first recovering per-sample embeddings from the final fully-connected layer.
- Uses feature inversion techniques to reconstruct input images from the recovered embeddings, relying only on image priors like smoothness.
- Combines CPA with gradient matching to further improve reconstruction quality, especially in high-dimensional settings.
Experimental results
Research questions
- RQ1Can gradient inversion attacks recover private inputs from aggregated gradients even when the batch size is very large?
- RQ2Is the linear relationship between inputs and aggregated gradients in fully-connected layers exploitable for input reconstruction?
- RQ3Can ICA-based methods outperform gradient matching-based attacks in terms of reconstruction quality and scalability?
- RQ4How effective is CPA on large-scale datasets like ImageNet with high-dimensional inputs?
- RQ5What are the limitations of CPA in terms of batch size and embedding dimensionality, and how can they be mitigated?
Key findings
- CPA successfully recovers high-quality images from aggregated gradients on CIFAR-10, Tiny-ImageNet, and ImageNet with batch sizes up to 1024.
- The LPIPS score for CPA+feature inversion (CP+FI) is 0.483 at batch size 32 and remains below 0.51 across all tested batch sizes, indicating consistent performance.
- CPA+FI+gradient matching reduces the LPIPS score to 0.392 at batch size 32, outperforming gradient matching alone (0.536) and showing improved reconstruction quality.
- The attack scales efficiently: CPA's memory footprint is independent of input dimensionality, allowing it to handle batch sizes up to 1024 without OOM errors, unlike gradient matching which fails at batch size 512.
- Differential privacy with Gaussian noise (σ = 0.01) reduces LPIPS scores for both CPA and GM to ~0.72, demonstrating that DP is an effective defense.
- The attack remains effective even when the attacker lacks knowledge of the input data distribution, relying only on standard image priors such as smoothness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.