[Paper Review] A Novel Attribute Reconstruction Attack in Federated Learning
This paper introduces a novel attribute reconstruction attack (ARA) in federated learning where a malicious server reconstructs sensitive attributes from epoch-averaged gradients—more realistic than prior attacks using small-batch gradients. It proposes cos-matching, a gradient matching method using cosine similarity, achieving state-of-the-art performance across real-world datasets under various threat models, including unknown priors and missing labels.
Federated learning (FL) emerged as a promising learning paradigm to enable a multitude of participants to construct a joint ML model without exposing their private training data. Existing FL designs have been shown to exhibit vulnerabilities which can be exploited by adversaries both within and outside of the system to compromise data privacy. However, most current works conduct attacks by leveraging gradients on a small batch of data, which is less practical in FL. In this work, we consider a more practical and interesting scenario in which participants share their epoch-averaged gradients (share gradients after at least 1 epoch of local training) rather than per-example or small batch-averaged gradients as in previous works. We perform the first systematic evaluation of attribute reconstruction attack (ARA) launched by the malicious server in the FL system, and empirically demonstrate that the shared epoch-averaged local model gradients can reveal sensitive attributes of local training data of any victim participant. To achieve this goal, we develop a more effective and efficient gradient matching based method called cos-matching to reconstruct the training data attributes. We evaluate our attacks on a variety of real-world datasets, scenarios, assumptions. Our experiments show that our proposed method achieves better attribute attack performance than most existing baselines.
Motivation & Objective
- To investigate whether epoch-averaged gradients in federated learning can leak sensitive attributes, addressing a gap in practical threat models.
- To develop a more efficient and effective method than existing gradient-based attacks, particularly for realistic FL settings with full-epoch training.
- To systematically evaluate ARA under varying adversary knowledge levels: known/unknown prior distributions, membership, and true labels.
- To demonstrate that sensitive attributes can be reconstructed with high accuracy even when the attacker lacks full data or label information.
- To provide insights for designing privacy-preserving federated learning systems by exposing vulnerabilities in gradient sharing.
Proposed method
- Proposes cos-matching, a gradient matching method that uses cosine similarity between the victim’s true gradient update and a virtual gradient update to guide reconstruction.
- Employs iterative optimization to minimize the angular distance between virtual and true gradients, enabling accurate attribute inference.
- Supports multiple threat models: known/unknown prior distributions, known/unknown membership, and known/unknown true labels.
- Integrates virtual attribute and label optimization when true labels are unknown, enabling end-to-end attribute recovery.
- Uses real-world datasets (e.g., Location, Purchase, Genome) to evaluate performance under diverse assumptions.
- Applies a multi-round gradient observation strategy to improve reconstruction fidelity by leveraging temporal consistency in model updates.
Experimental results
Research questions
- RQ1Can a malicious server reconstruct sensitive attributes from epoch-averaged gradients in federated learning, even without access to small-batch gradients?
- RQ2How does the performance of attribute reconstruction vary under different levels of adversary prior knowledge (e.g., prior distribution, membership, true label)?
- RQ3Is cos-matching more effective and efficient than existing gradient-based reconstruction methods in realistic FL settings?
- RQ4How does the attack performance degrade when prior distributions are unknown or labels are not available?
- RQ5What is the impact of local batch size and data distribution on the success of attribute reconstruction?
Key findings
- For the Location dataset, cos-matching achieved 94.00% attribute reconstruction accuracy on the 1st attribute with B=|Dv| when prior was unknown, outperforming baselines.
- On the Purchase100 dataset, the method achieved 94.00% accuracy for the 130th attribute with |Dv|=500 and B=|Dv| under unknown prior, significantly exceeding the 73.4% baseline from Nasr et al. (2019).
- When the true label was unknown but prior was known, the method achieved 100% accuracy in reconstructing labels for both Purchase2 and Genome datasets.
- Membership inference attacks using cos-matching achieved 99.00% accuracy for 50 sampled records, outperforming the 73.4% baseline.
- Even with unknown prior and B=8, the method maintained 86.00% accuracy for the 1st attribute in Location, demonstrating robustness under minimal assumptions.
- The attack performance remained consistently higher than baselines (random, public100, public1000, stats) across all settings, including when prior and label information were missing.
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.