[Paper Review] FedCC: Robust Federated Learning against Model Poisoning Attacks
FedCC proposes a robust federated learning framework that defends against both untargeted and targeted model poisoning attacks by comparing Centered Kernel Alignment (CKA) of penultimate layer representations (PLRs) to detect and filter malicious clients. It achieves state-of-the-art accuracy under non-IID data and poisoning attacks without sharing raw data or requiring centralized knowledge, outperforming baselines like FedAvg, CoMed, and FLARE in both benign and adversarial settings.
Federated learning is a distributed framework designed to address privacy concerns. However, it introduces new attack surfaces, which are especially prone when data is non-Independently and Identically Distributed. Existing approaches fail to effectively mitigate the malicious influence in this setting; previous approaches often tackle non-IID data and poisoning attacks separately. To address both challenges simultaneously, we present FedCC, a simple yet effective novel defense algorithm against model poisoning attacks. It leverages the Centered Kernel Alignment similarity of Penultimate Layer Representations for clustering, allowing the identification and filtration of malicious clients, even in non-IID data settings. The penultimate layer representations are meaningful since the later layers are more sensitive to local data distributions, which allows better detection of malicious clients. The sophisticated utilization of layer-wise Centered Kernel Alignment similarity allows attack mitigation while leveraging useful knowledge obtained. Our extensive experiments demonstrate the effectiveness of FedCC in mitigating both untargeted model poisoning and targeted backdoor attacks. Compared to existing outlier detection-based and first-order statistics-based methods, FedCC consistently reduces attack confidence to zero. Specifically, it significantly minimizes the average degradation of global performance by 65.5\%. We believe that this new perspective on aggregation makes it a valuable contribution to the field of FL model security and privacy. The code will be made available upon acceptance.
Motivation & Objective
- To address the vulnerability of federated learning to model poisoning attacks due to server blindness to local data distributions.
- To develop a robust aggregation method effective against both untargeted and targeted (backdoor) attacks in non-IID data environments.
- To avoid reliance on raw data sharing or centralized knowledge, preserving federated learning's privacy advantages.
- To improve global model accuracy and reduce attack confidence under poisoning while maintaining benign performance.
- To provide a detection mechanism that is resilient to data heterogeneity and client-level data distribution shifts.
Proposed method
- FedCC computes Centered Kernel Alignment (CKA) between the penultimate layer representations (PLRs) of local models and the global model to measure similarity.
- It identifies and excludes clients with low CKA similarity, assuming they are malicious, based on deviation from the global model's representation pattern.
- The method operates without sharing raw data or requiring prior knowledge of client data distributions, preserving privacy.
- Aggregation is performed only on clients with high CKA similarity to the global model, filtering out potentially poisoned updates.
- The approach is designed to be robust in non-IID settings, where data distribution varies significantly across clients.
- It uses a similarity-based filtering mechanism that does not depend on statistical assumptions or model weight magnitude.
Experimental results
Research questions
- RQ1Can a similarity-based method using CKA of penultimate layer representations effectively detect malicious clients in federated learning under untargeted poisoning attacks?
- RQ2How does FedCC perform in mitigating targeted backdoor attacks while preserving benign model accuracy in non-IID data settings?
- RQ3To what extent does FedCC maintain global model accuracy when clients have highly non-IID data distributions?
- RQ4How does FedCC compare to existing robust aggregation methods like FedAvg, CoMed, and FLARE in terms of robustness and convergence stability?
- RQ5Does the number of local epochs or client participation fraction affect the robustness and accuracy of FedCC under poisoning attacks?
Key findings
- Under untargeted attacks, FedCC achieved 64.83% test accuracy on fMNIST and 20.49% on CIFAR-10 with a 10% client participation fraction, outperforming FedAvg (55.31% and 10.06%) and other baselines.
- With 50% client participation, FedCC achieved 76.41% accuracy on fMNIST and 34.32% on CIFAR-10 under untargeted-Krum attacks, significantly outperforming FLARE (10.00% on both).
- In targeted backdoor attacks, FedCC reduced backdoor confidence while maintaining high benign accuracy, achieving 82.31% test accuracy on fMNIST and 54.94% on CIFAR-10 with doubled local epochs.
- FedCC consistently outperformed CoMed and FLARE in both untargeted and targeted attack scenarios, especially under non-IID conditions.
- The method showed stable convergence and did not suffer from weight scaling issues that caused divergence in FLARE, particularly under dynamic client selection.
- FedCC’s CKA-based filtering effectively identified malicious clients even in highly non-IID environments, where data diversity is low and model drift is high.
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.