Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

FOOGD: Federated Collaboration for Both Out-of-distribution Generalization and Detection

About

Federated learning (FL) is a promising machine learning paradigm that collaborates with client models to capture global knowledge. However, deploying FL models in real-world scenarios remains unreliable due to the coexistence of in-distribution data and unexpected out-of-distribution (OOD) data, such as covariate-shift and semantic-shift data. Current FL researches typically address either covariate-shift data through OOD generalization or semantic-shift data via OOD detection, overlooking the simultaneous occurrence of various OOD shifts. In this work, we propose FOOGD, a method that estimates the probability density of each client and obtains reliable global distribution as guidance for the subsequent FL process. Firstly, SM3D in FOOGD estimates score model for arbitrary distributions without prior constraints, and detects semantic-shift data powerfully. Then SAG in FOOGD provides invariant yet diverse knowledge for both local covariate-shift generalization and client performance generalization. In empirical validations, FOOGD significantly enjoys three main advantages: (1) reliably estimating non-normalized decentralized distributions, (2) detecting semantic shift data via score values, and (3) generalizing to covariate-shift data by regularizing feature extractor. The prejoct is open in https://github.com/XeniaLLL/FOOGD-main.git.

Xinting Liao, Weiming Liu, Pengyang Zhou, Fengyuan Yu, Jiahe Xu, Jun Wang, Wenjie Wang, Chaochao Chen, Xiaolin Zheng• 2024

Related benchmarks

TaskDatasetResultRank
Domain GeneralizationPACS--
231
Domain GeneralizationPACS (leave-one-domain-out)
Art Accuracy97.85
152
Out-of-Distribution DetectionCIFAR-10 (ID) vs SVHN (OOD) (test)
AUROC94.56
88
OOD DetectionCIFAR-10 IND iSUN OOD
AUROC91.22
82
OOD DetectionTextures (OOD) with CIFAR-10 (ID) (test)
FPR@9519.46
80
Out-of-Distribution DetectionCIFAR10 (ID) vs SVHN (OOD)
AUROC92.8
61
OOD DetectionCIFAR-10 (In-distribution) vs LSUN-R (Out-of-distribution)
FPR9541.46
34
Federated Image ClassificationCIFAR-100 and CIFAR-100-C brightness (test)
Accuracy (In-Distribution)0.7788
33
Federated Out-of-Distribution DetectionCIFAR-100 (ID) and LSUN-C (OOD) (test)
FPR@9536.4
33
Out-of-Distribution DetectionLSUN (Out-of-distribution) vs CIFAR-10 (In-distribution)
AUROC94.56
28
Showing 10 of 20 rows

Other info

Code

Follow for update