[Paper Review] LoMar: A Local Defense Against Poisoning Attack on Federated Learning
LoMar is a two-phase local defense mechanism for federated learning that detects poisoning attacks by analyzing the local statistical distribution of model updates using kernel density estimation. It outperforms existing methods like FG+Krum, increasing target label accuracy from 96.0% to 98.8% on the Amazon dataset under label-flipping attacks.
Federated learning (FL) provides a high efficient decentralized machine learning framework, where the training data remains distributed at remote clients in a network. Though FL enables a privacy-preserving mobile edge computing framework using IoT devices, recent studies have shown that this approach is susceptible to poisoning attacks from the side of remote clients. To address the poisoning attacks on FL, we provide a extit{two-phase} defense algorithm called {Lo}cal {Ma}licious Facto{r} (LoMar). In phase I, LoMar scores model updates from each remote client by measuring the relative distribution over their neighbors using a kernel density estimation method. In phase II, an optimal threshold is approximated to distinguish malicious and clean updates from a statistical perspective. Comprehensive experiments on four real-world datasets have been conducted, and the experimental results show that our defense strategy can effectively protect the FL system. {Specifically, the defense performance on Amazon dataset under a label-flipping attack indicates that, compared with FG+Krum, LoMar increases the target label testing accuracy from $96.0\%$ to $98.8\%$, and the overall averaged testing accuracy from $90.1\%$ to $97.0\%$.
Motivation & Objective
- Address the vulnerability of federated learning to poisoning attacks that compromise remote clients and degrade global model performance.
- Overcome limitations of global anomaly detection methods by introducing a local feature-based analysis of model update distributions.
- Develop a defense mechanism that identifies malicious updates without relying on global distance metrics or Byzantine tolerance assumptions.
- Improve robustness against constrained poisoning attacks that evade traditional detection methods.
Proposed method
- In Phase I, LoMar computes a local malicious factor (LMF) for each model update by estimating its relative density within the neighborhood of its k-nearest neighbors using kernel density estimation.
- The method uses a non-parametric kernel density estimator to measure how isolated or dense a given update is in the local parameter space.
- In Phase II, an optimal threshold is approximated statistically to distinguish malicious updates from benign ones based on the LMF scores.
- The approach leverages McDiarmid’s inequality to theoretically bound the probability of misclassification of malicious updates.
- The LMF is defined as the ratio of average local density to the density at the target update, enabling relative anomaly detection.
- The defense is applied at the aggregator level, where updates are scored and filtered before aggregation.
Experimental results
Research questions
- RQ1Can local statistical patterns in model parameters effectively detect poisoning attacks in federated learning?
- RQ2How does local density-based detection compare to global distance-based methods in identifying malicious updates?
- RQ3To what extent can LoMar defend against constrained poisoning attacks that bypass existing defenses?
- RQ4What threshold configuration optimizes both target label accuracy and overall model performance in the presence of poisoning?
Key findings
- On the Amazon dataset under a 1-7 label-flipping attack, LoMar increased the target label testing accuracy from 96.0% (FG+Krum) to 98.8%.
- The overall averaged testing accuracy improved from 90.1% (FG+Krum) to 97.0% with LoMar under the same attack.
- An optimal ε threshold of 1.0 was found to maximize performance, as higher or lower values led to reduced accuracy due to over- or under-filtering.
- The defense effectively mitigates attacks that converge the global model while remaining undetected by global anomaly detection methods.
- Theoretical analysis confirms that the LMF score is tightly bounded, ensuring reliable detection under varying client distributions.
- Comprehensive experiments on four real-world datasets validate LoMar’s robustness and superiority over state-of-the-art defenses.
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.