Covert Model Poisoning Against Federated Learning: Algorithm Design and Optimization

Kang Wei, Jun Li, Ming Ding, Chuan Ma, Yo–Seb Jeon, H. Vincent Poor

TL;DR

This paper introduces "covert model poisoning" (CMP) attacks designed to subtly manipulate federated learning (FL) models without being detected by robust aggregation mechanisms like Krum and Trimmed Mean. The authors propose novel optimization-based algorithms that can effectively degrade FL model performance or achieve specific attacker goals, even when the attacker has limited knowledge of the FL system.

What Problem Does This Paper Address?

Federated learning (FL) enables distributed model training across multiple devices without sharing raw data, preserving privacy. However, FL systems are vulnerable to model poisoning (MP) attacks, where malicious clients submit crafted model updates to corrupt the global model. Existing defenses, particularly robust aggregation rules like Krum and Trimmed Mean, aim to mitigate these attacks. The challenge this paper addresses is the development of covert model poisoning (CMP) attacks that can bypass these state-of-the-art defenses, making them difficult to detect and neutralize. The goal is to degrade the FL model's performance or steer it towards an attacker-defined objective, all while appearing as legitimate updates.

Methods

The core of the proposed CMP attacks lies in formulating model poisoning as an optimization problem. The attacker aims to minimize a target objective function (e.g., maximizing the error on specific inputs or achieving a desired misclassification) subject to the constraint imposed by the server's defensive aggregation rule.

Key methodological contributions include:

  • Optimization-based CMP: Formulating MP as minimizing the Euclidean distance between a manipulated model and a target model, constrained by the specific defensive aggregation rule (e.g., Krum, Trimmed Mean).
  • Low-Complexity CMP: Developing simplified algorithms that achieve a slight performance degradation for the attack but significantly reduce computational complexity, making them more practical.
  • Blind CMP: Designing an algorithm for scenarios where the attacker does not know the specific defensive aggregation mechanism. This blind attack adapts the manipulated model based on the aggregated model received from the server.
  • Algorithm Design: The paper presents specific algorithms (Algorithm 1 and Algorithm 2) for different attacker knowledge backgrounds (full, partial, and no knowledge of the aggregation rule) and for different aggregation mechanisms. These algorithms often leverage gradient-based optimization and iterative updates.

Datasets

The paper evaluates its proposed attack methods using three real-world datasets:

  • House Pricing Dataset: Used for regression tasks, evaluated with normalized cost (test loss) as a performance metric.
  • MNIST: A dataset of handwritten digits, used for classification tasks. Evaluated with error rates and attacker's accuracy.
  • CIFAR-10: A dataset of color images, used for image classification. Evaluated with attacker's accuracy.

No new benchmarks were introduced; standard datasets were used to demonstrate the effectiveness of the attacks against existing FL setups.

Key Insights and Ideas

  • The Power of Optimization: Framing model poisoning as an optimization problem, constrained by the defense mechanism, is a powerful way to design effective and targeted attacks.
  • Stealth is Key: The "covert" aspect is crucial. Attacks that mimic legitimate updates in magnitude and variance are much harder to detect than brute-force or obvious poisoning methods.
  • Knowledge is Power (But Not Always Necessary): While full knowledge of the FL system and aggregation rule allows for more potent attacks, the paper demonstrates that effective attacks are still possible with partial or even no knowledge of the defense mechanism (blind CMP).
  • Robustness vs. Attackability: Even sophisticated robust aggregation rules can be bypassed by carefully crafted adversarial updates, highlighting the ongoing arms race in FL security.
  • Trade-offs Exist: There's a clear trade-off between attack effectiveness, computational complexity, and the attacker's knowledge. The paper explores these trade-offs to offer practical attack strategies.

Key Results

The experimental results demonstrate the effectiveness of the proposed CMP algorithms:

  • High Attacker Accuracy: The proposed CMP algorithms achieved high attacker's accuracy, with rates reaching up to ~90% in some scenarios (e.g., targeting Krum with full knowledge).
  • Substantial Performance Degradation: For untargeted attacks, the proposed methods significantly increased the test loss (e.g., normalized cost for House Pricing) and error rates (e.g., for MNIST parity classification), outperforming existing attacks like Fang's FKB/PKB and Gaussian attacks.
  • Effectiveness Against Krum and Trimmed Mean: The attacks were shown to be effective against both Krum and Trimmed Mean aggregation rules, which are considered state-of-the-art defenses.
  • Blind Attack Efficacy: The blind CMP algorithm achieved a notable attacker's accuracy of 76% even without knowing the aggregation rule.
  • Complexity Reduction: The low-complexity CMP algorithms offered a significant complexity reduction (e.g., 73%) with only a slight decrease in attack performance.
  • Visual Evidence: Qualitative results (e.g., Figure 4 and 5) showed that the targeted attacks could successfully manipulate the model's internal representations, causing it to misclassify digits or images as intended by the attacker.

Limitations and Future Work

  • Computational Cost: While low-complexity versions are proposed, the original CMP algorithms can still be computationally intensive, especially for large models or many communication rounds.
  • Assumptions: The attacks often rely on assumptions about the attacker's ability to control a certain number of clients and craft their model updates. The effectiveness might vary if these assumptions are not met.
  • Real-world Deployment: The paper focuses on theoretical formulation and experimental validation. Real-world deployment challenges, such as network latency and device heterogeneity, are not deeply explored.

Future Work suggested by the authors:

  • Multi-Agent Problem: The interaction between a learner and an attacker in FL can be viewed as a multi-agent problem, potentially solvable with multi-agent reinforcement learning.
  • More Sophisticated Defenses: Investigating attacks against more advanced or adaptive defense mechanisms.
  • Broader Attack Scenarios: Exploring attacks in more complex FL settings, such as those with differential privacy or more heterogeneous client capabilities.

Summary updated

BibTeX
@article{wei2023covert,
  author = {Kang Wei and Jun Li and Ming Ding and Chuan Ma and Yo–Seb Jeon and H. Vincent Poor},
  title = {{Covert Model Poisoning Against Federated Learning: Algorithm Design and Optimization}},
  journal = {IEEE Transactions on Dependable and Secure Computing},
  year = {2023},
  doi = {10.1109/tdsc.2023.3274119},
}
Figure