FedMIA: An Effective Membership Inference Attack Exploiting "All for One" Principle in Federated Learning
Gongxi Zhu, Donghao Li, Hanlin Gu, Yuan Yao, Lixin Fan, Yuxing Han
TL;DR
This work addresses privacy risks in federated learning by showing that membership inference can be greatly empowered by exploiting updates from non-target clients, not just the target client's updates. The authors formulate a one-tailed likelihood-ratio test and develop FedMIA, a three-step attack that uses a low-dimensional measurement based on gradient similarity, per-round distribution estimation of non-member updates, and aggregation across communication rounds to infer membership. The approach is theoretically justified and empirically validated across classification and generative tasks, consistently outperforming six baselines and proving robust to several defenses and non-IID settings. The findings highlight a critical privacy leakage channel in FL and suggest that defenses must address cross-client information sharing, potentially via secure aggregation or stronger cryptographic protections, to prevent such attacks.
Abstract
Federated Learning (FL) is a promising approach for training machine learning models on decentralized data while preserving privacy. However, privacy risks, particularly Membership Inference Attacks (MIAs), which aim to determine whether a specific data point belongs to a target client's training set, remain a significant concern. Existing methods for implementing MIAs in FL primarily analyze updates from the target client, focusing on metrics such as loss, gradient norm, and gradient difference. However, these methods fail to leverage updates from non-target clients, potentially underutilizing available information. In this paper, we first formulate a one-tailed likelihood-ratio hypothesis test based on the likelihood of updates from non-target clients. Building upon this formulation, we introduce a three-step Membership Inference Attack (MIA) method, called FedMIA, which follows the "all for one"--leveraging updates from all clients across multiple communication rounds to enhance MIA effectiveness. Both theoretical analysis and extensive experimental results demonstrate that FedMIA outperforms existing MIAs in both classification and generative tasks. Additionally, it can be integrated as an extension to existing methods and is robust against various defense strategies, Non-IID data, and different federated structures. Our code is available in https://github.com/Liar-Mask/FedMIA.
