Skip to main content
QUICK REVIEW

[Paper Review] Efficient passive membership inference attack in federated learning

Oualid Zari, Chuan Xu|arXiv (Cornell University)|Oct 31, 2021
Privacy-Preserving Technologies in DataComputer Science15 citations
TL;DR

This paper proposes a highly efficient passive membership inference attack in federated learning that reduces memory usage by 3 orders of magnitude and computation by 5 orders of magnitude compared to prior work, while achieving up to 4.4 percentage points higher accuracy on CIFAR100. The attack leverages temporal model updates and a lightweight architecture to infer membership with minimal resources, even when labels are unavailable in the auxiliary dataset.

ABSTRACT

In cross-device federated learning (FL) setting, clients such as mobiles cooperate with the server to train a global machine learning model, while maintaining their data locally. However, recent work shows that client's private information can still be disclosed to an adversary who just eavesdrops the messages exchanged between the client and the server. For example, the adversary can infer whether the client owns a specific data instance, which is called a passive membership inference attack. In this paper, we propose a new passive inference attack that requires much less computation power and memory than existing methods. Our empirical results show that our attack achieves a higher accuracy on CIFAR100 dataset (more than $4$ percentage points) with three orders of magnitude less memory space and five orders of magnitude less calculations.

Motivation & Objective

  • To address the vulnerability of federated learning to passive membership inference attacks that compromise client data privacy.
  • To reduce the computational and memory overhead of existing membership inference attacks, which limits their practicality and scalability.
  • To enable effective membership inference even when the auxiliary dataset lacks labels or contains incomplete records.
  • To design an attack that scales with the number of observed training rounds without hitting memory or computation limits.

Proposed method

  • The attack collects model weights at multiple time steps during federated training, forming a temporal sequence of model states for the target client.
  • It constructs an attack model that takes the sequence of model outputs (e.g., logits or prediction vectors) at different training epochs as input, capturing the dynamic evolution of the model.
  • The attack model is trained to classify whether a given data point belongs to the target client’s training set using a small, efficient neural network architecture.
  • The method is robust to label absence: when labels are unavailable, it uses the entropy or maximum value of the prediction vector as input, preserving input dimensionality.
  • It avoids storing full gradients or model parameters, instead focusing on per-layer outputs and loss values, drastically reducing memory footprint.
  • The approach is compatible with black-box access, requiring only model outputs and loss values from the target model at various training steps.

Experimental results

Research questions

  • RQ1Can a passive membership inference attack be designed to require significantly less memory and computation than existing methods while maintaining or improving accuracy?
  • RQ2How does the attack perform when the auxiliary dataset lacks labels or contains incomplete data?
  • RQ3Can the attack scale to more training rounds than previous methods, which were limited by memory constraints?
  • RQ4Does overfitting in the client model enhance the attack’s performance, and how does the attack compare under early stopping?
  • RQ5How does the temporal evolution of model outputs contribute to distinguishing member from non-member data points?

Key findings

  • The proposed attack achieves 89.5% membership inference accuracy on CIFAR100 with AlexNet, outperforming the baseline by 4.4 percentage points.
  • The attack uses only 1.06 MB of memory, a 3-order-of-magnitude reduction compared to the baseline’s 1053 MB.
  • The attack requires 6.66K Multiply-Accumulate Operations (MACs), representing a 5-order-of-magnitude reduction compared to the baseline’s 1.44G MACs.
  • When labels are unavailable, the attack maintains over 75% accuracy using only the last 10 training epochs, demonstrating robustness to label scarcity.
  • With 30 observed epochs, the attack reaches 62.3% accuracy using only 31K MACs—over 20,000 times fewer operations than the baseline—while maintaining the same memory footprint.
  • The attack outperforms the baseline by up to 11.3 percentage points when training is stopped early, indicating improved performance under non-overfitting conditions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.