Peak-Controlled Logits Poisoning Attack in Federated Distillation

Yuhan Tang, Aoxu Zhang, Zhiyuan Wu, Bo Gao, Tian Wen, Yuwei Wang, Sheng SunDiscov. Comput 2024 · DOI · OpenReview

TL;DR

This paper introduces PCFDLA, a novel and stealthy poisoning attack for Federated Distillation (FD) that manipulates model output logits to cause significant performance degradation in victim models. PCFDLA achieves this by precisely controlling the confidence of incorrect predictions, outperforming previous attacks and demonstrating its effectiveness across various datasets and configurations.

What Problem Does This Paper Address?

Federated Learning (FL) allows distributed training of machine learning models without centralizing data, preserving privacy. Federated Distillation (FD) further enhances FL by only sharing model outputs (knowledge) instead of full model parameters, improving communication efficiency. However, this reliance on shared knowledge makes FD vulnerable to poisoning attacks, where malicious clients can inject manipulated knowledge to degrade the global model's performance. While previous attacks like FDLA exist, they often degrade the attacker's own model and lack fine-grained control over the attack's impact and stealthiness. This paper addresses the need for a more sophisticated and controllable poisoning attack specifically tailored for FD, one that can effectively mislead victim models without compromising the attacker's own performance.

Methods

The paper proposes Peak-Controlled Federated Distillation Logits Attack (PCFDLA), an advancement over the previous FDLA. PCFDLA works by manipulating the logits (confidence scores for each class) that clients send to the central server.

Here's how it differs from FDLA:

  • FDLA: Manipulates logits by reordering them to make an incorrect prediction appear highly confident, but this process can degrade the attacker's own model's ability to make correct predictions.
  • PCFDLA: Instead of simply reordering, PCFDLA strategically boosts the confidence of a chosen incorrect class while suppressing the confidence of all other classes, including the correct one. This is achieved by setting the confidence of the second-highest logit to a high value (S) and all others to a low value (-S). This targeted manipulation ensures the attacker's model retains its ability to make correct predictions locally, while still effectively poisoning the global model.

The paper also introduces a new evaluation metric, Victims Average Accuracy (VctmAvgAcc), to better assess the impact of attacks on the victim models specifically, rather than just the overall model accuracy.

Datasets

The experiments were conducted on three common image classification datasets:

  • CINIC-10
  • CIFAR-10
  • SVHN

These datasets were partitioned into 50 non-i.i.d. parts to simulate data heterogeneity, controlled by a hyperparameter 'α'.

Key Insights and Ideas

  • Targeted Logit Manipulation is Key: Simply making incorrect predictions confident (FDLA) is less effective and more detrimental to the attacker than precisely controlling the confidence distribution to highlight a specific wrong answer while suppressing all others (PCFDLA).
  • Attacker Stealth and Performance: PCFDLA successfully decouples the attacker's local performance from the global attack, allowing them to maintain accurate local models while effectively poisoning the federated system.
  • New Metrics Matter: The introduction of VctmAvgAcc provides a more nuanced understanding of attack effectiveness by focusing on the degradation experienced by the victim models, which is crucial for evaluating poisoning attacks.
  • Robustness to Heterogeneity: PCFDLA's effectiveness is not significantly hampered by increasing data heterogeneity or the number of clients, making it a robust attack strategy.

Key Results

  • Significant Accuracy Degradation: PCFDLA consistently achieved the most substantial reduction in model accuracy across all tested datasets (SVHN, CIFAR-10, CINIC-10) and frameworks (FD, FedCache), with accuracy losses ranging from 5% to 20% for overall models and even more for victim models.
  • Superior to Baselines: Compared to random poisoning, zero poisoning, and FDLA, PCFDLA demonstrated a much greater impact on model accuracy, often reducing it by around 20% while other methods had minimal or even slightly positive effects.
  • Stealthy Attack: PCA analysis confirmed that PCFDLA's attack is stealthy, with the models of malicious and non-malicious users showing little discernible difference, especially as the number of attackers increases.
  • Controllable Attack Strength: The hyperparameter 'C' in PCFDLA allows for control over the attack's intensity, with higher values leading to greater accuracy degradation.

Limitations and Future Work

  • Limited Scope of Datasets: While experiments were conducted on three common datasets, future work could explore PCFDLA's effectiveness on a wider range of datasets and tasks.
  • Focus on Logits: The current attack targets logits. Future research could investigate poisoning attacks that manipulate other aspects of the knowledge transfer process.
  • Defense Mechanisms: The paper focuses on the attack itself. Developing robust defense mechanisms against PCFDLA and similar sophisticated poisoning attacks in FD remains an open challenge.
  • Hyperparameter Tuning: While the paper shows the impact of hyperparameter 'C', further investigation into optimal tuning strategies for PCFDLA across different scenarios could be beneficial.

Summary updated

Abstract

Federated Distillation (FD) offers an innovative approach to distributed machine learning, leveraging knowledge distillation for efficient and flexible cross-device knowledge transfer without necessitating the upload of extensive model parameters to a central server. While FD has gained popularity, its vulnerability to poisoning attacks remains underexplored. To address this gap, we previously introduced FDLA (Federated Distillation Logits Attack), a method that manipulates logits communication to mislead and degrade the performance of client models. However, the impact of FDLA on participants with different identities and the effects of malicious modifications at various stages of knowledge transfer remain unexplored. To this end, we present PCFDLA (Peak-Controlled Federated Distillation Logits Attack), an advanced and more stealthy logits poisoning attack method for FD. PCFDLA enhances the effectiveness of FDLA by carefully controlling the peak values of logits to create highly misleading yet inconspicuous modifications. Furthermore, we introduce a novel metric for better evaluating attack efficacy, demonstrating that PCFDLA maintains stealth while being significantly more disruptive to victim models compared to its predecessors. Experimental results across various datasets confirm the superior impact of PCFDLA on model accuracy, solidifying its potential threat in federated distillation systems.
BibTeX
@article{tang2024peak,
  author = {Yuhan Tang and Aoxu Zhang and Zhiyuan Wu and Bo Gao and Tian Wen and Yuwei Wang and Sheng Sun},
  title = {{Peak-Controlled Logits Poisoning Attack in Federated Distillation}},
  journal = {Discov. Comput},
  year = {2024},
  doi = {10.1007/s10791-025-09742-8},
}
Figure