CalFAT: Calibrated Federated Adversarial Training with Label Skewness

Chen Chen, Yuchen Liu, Xingjun Ma, Lingjuan Lyu
5/30/2022
cs.LGcs.DC
federated

Official code: cc233/CalFAT (6 stars, Python, Apache-2.0, last commit 2023-02-27).

Abstract

Recent studies have shown that, like traditional machine learning, federated learning (FL) is also vulnerable to adversarial attacks. To improve the adversarial robustness of FL, federated adversarial training (FAT) methods have been proposed to apply adversarial training locally before global aggregation.

Show full abstract

Although these methods demonstrate promising results on independent identically distributed (IID) data, they suffer from training instability on non-IID data with label skewness, resulting in degraded natural accuracy. This tends to hinder the application of FAT in real-world applications where the label distribution across the clients is often skewed. In this paper, we study the problem of FAT under label skewness, and reveal one root cause of the training instability and natural accuracy degradation issues: skewed labels lead to non-identical class probabilities and heterogeneous local models. We then propose a Calibrated FAT (CalFAT) approach to tackle the instability issue by calibrating the logits adaptively to balance the classes. We show both theoretically and empirically that the optimization of CalFAT leads to homogeneous local models across the clients and better convergence points.

View on arXivView PDF

Code Implementations(1)

cc233/CalFATOfficial100%
Apache-2.0

The code for CalFAT: Calibrated Federated Adversarial Training with Label Skewness (NeurIPS 2022 paper)

61PythonFeb 23, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{chen2022calfat,
  title  = {CalFAT: Calibrated Federated Adversarial Training with Label Skewness},
  author = {Chen Chen and Yuchen Liu and Xingjun Ma and Lingjuan Lyu},
  year   = {2022},
  eprint = {2205.14926},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.14926}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.14926.svg)](https://codeofpaper.com/paper/2205.14926)

Discussion