Domain-Skewed Federated Learning with Feature Decoupling and Calibration
Organizations: School of Computing and Information Technology, University of Wollongong, Australia · School of Computing and Information Systems, Singapore Management University, Singapore
Abstract
Federated learning (FL) allows distributed clients to collaboratively train a global model in a privacy-preserving manner. However, one major challenge is domain skew, where clients' data originating from diverse domains may hinder the aggregated global model from learning a consistent representation space, resulting in poor generalizable ability in multiple domains. In this paper, we argue that the domain skew is reflected in the domain-specific biased features of each client, causing the local model's representations to collapse into a narrow low-dimensional subspace. We then propose Federated Feature Decoupling and Calibration (DC), which liberates valuable class-relevant information by calibrating the domain-specific biased features, enabling more consistent representations across domains. A novel component, Domain Feature Decoupler (DFD), is first introduced in DC to determine the robustness of each feature unit, thereby separating the local features into domain-robust features and domain-related features. A Domain Feature Corrector (DFC) is further proposed to calibrate these domain-related features by explicitly linking discriminative signals, capturing additional class-relevant clues that complement the domain-robust features. Finally, a domain-aware aggregation of the local models is performed to promote consensus among clients. Empirical results on three popular multi-domain datasets demonstrate the effectiveness of the proposed DC and the contributions of its two modules. Code is available at https://github.com/mala-lab/F2DC.
Figures & tables
| Office-Caltech | PACS | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Methods | Caltech | Amazon | Webcam | DSLR | AVG | STD | Photo | Art-Paint | Cartoon | Sketch | AVG | STD |
| FedAvg [AISTATS’17] | 59.82 | 65.26 | 51.72 | 46.67 | 55.86 | 8.27 | 60.98 | 52.49 | 74.63 | 77.46 | 66.39 | 11.74 |
| FedProx [MLSys’20] | 60.18 | 66.11 | 54.96 | 47.30 | 57.13 | 7.98 | 61.88 | 57.40 | 76.34 | 80.14 | 68.94 | 11.00 |
| MOON [CVPR’21] | 57.14 | 63.16 | 44.48 | 40.87 | 51.41 | 10.49 | 59.72 | 50.29 | 70.35 | 70.22 | 62.64 | 9.63 |
| FPL [CVPR’23] | 60.05 | 65.53 | 52.90 | 64.45 | 60.73 | 5.75 | 66.67 | 58.38 | 79.75 | 77.59 | 70.59 | 9.95 |
| FedTGP [AAAI’24] | 61.28 | 63.84 | 53.37 | 63.68 | 60.54 | 4.92 | 60.68 | 56.06 | 75.27 | 78.03 | 67.51 | 10.78 |
| Digits | ||||||
|---|---|---|---|---|---|---|
| Methods | MNIST | USPS | SVHN | SYN | AVG | STD |
| FedAvg | 96.04 | 89.84 | 88.04 | 51.05 | 81.24 | 20.42 |
| FedProx | 96.13 | 89.04 | 87.56 | 51.00 | 80.93 | 20.30 |
| MOON | 94.70 | 89.64 | 87.68 | 34.40 | 76.60 | 28.29 |
| FPL | 96.12 | 89.94 | 89.15 | 49.15 | 81.09 | 21.52 |
| FedTGP | 95.38 | 87.49 | 87.37 | 49.40 | 79.91 | 20.68 |
| Methods | P | AP | Ct | Sk | AVG |
|---|---|---|---|---|---|
| FedAvg | 74.86 ↑13.88 | 65.90 ↑13.41 | 79.70 ↑5.07 | 80.86 ↑3.40 | 75.33 ↑8.94 |
| FPL | 76.85 ↑10.18 | 64.46 ↑6.08 | 80.02 ↑0.27 | 80.75 ↑3.16 | 75.52 ↑4.93 |
| FedHEAL | 75.56 ↑5.17 | 65.95 ↑0.13 | 81.27 ↑0.70 | 77.48 ↑0.87 | 75.06 ↑1.72 |
| FDSE | 72.25 ↑2.98 | 65.99 ↑0.53 | 80.56 ↑1.91 | 80.36 ↑1.24 | 74.79 ↑1.66 |
| Methods | Comm. | |||
|---|---|---|---|---|
| FedAvg | 5.43 | 193.72MB | 16.31 | 176.94s |
| FPL | 5.45 | 197.30MB | 19.45 | 215.61s |
| FedHEAL | 5.43 | 193.72MB | 16.70 | 186.92s |
| DC | 5.43 | 193.72MB | 16.46 | 180.67s |
| 0.01 | 0.05 | 0.1 | 0.3 | 0.5 | 1.0 | 5.0 | |
|---|---|---|---|---|---|---|---|
| AVG | 74.81 | 75.19 | 76.47 | 75.34 | 74.40 | 74.15 | 73.86 |
| STD | 6.48 | 6.32 | 5.83 | 6.35 | 6.71 | 7.05 | 7.23 |
| DaA | C | A | W | D | AVG | STD | ||
| 59.82 | 65.26 | 51.72 | 46.67 | 55.86 | 8.27 | |||
| ✓ | 60.25 | 65.79 | 54.39 | 50.33 | 57.69 | 6.76 | ||
| ✓ | ✓ | 66.68 | 67.53 | 56.55 | 60.02 | 62.70 | 5.30 | |
| ✓ | ✓ | 63.71 | 68.21 | 59.07 | 67.62 | 64.65 | 4.22 | |
| ✓ | ✓ | 60.84 | 67.79 | 62.10 | 70.45 | 65.29 | 4.57 | |
| ✓ | ✓ | ✓ | 62.95 | 68.42 | 64.79 | 71.12 | 66.82 | 3.65 |
| Protocols | P | AP | Ct | Sk | AVG | STD |
|---|---|---|---|---|---|---|
| f^{\scalebox{0.66}{\bm{+}}} | 74.21 | 67.52 | 78.35 | 80.47 | 75.13 | 5.90 |
| f^{\scalebox{0.66}{\bm{-}}} | 59.45 | 50.09 | 52.56 | 69.37 | 57.87 | 8.63 |
| f^{\scalebox{0.88}{\star}} | 74.83 | 64.05 | 75.80 | 79.29 | 73.49 | 6.71 |
| 75.15 | 68.71 | 79.91 | 82.11 | 76.47 | 5.83 | |
Federated Learning
Federated learning trains shared models across data holders without requiring them to pool their raw data.
See all 921 papers