GCA: Global Centroid Alignment in Federated Learning
Organizations: Carnegie Mellon University · Sandia National Laboratories
Abstract
Autoencoder (AE)-based federated learning (FL) is attractive for anomaly detection when clients have limited local data. However, conventional FL exchanges AE parameters or gradients, incurring substantial communication overhead and potentially exposing input training data information, since AEs are explicitly optimized to reconstruct their inputs. We introduce Global Centroid Alignment (GCA), a latent-code-mediated FL protocol that coordinates clients without transmitting AE parameters or gradients. In each round, (1) clients first train their local AEs using a reconstruction update and upload a small subset of encoder latent codes to the FL server. (2) The server pools these codes, fits a clustering model, and broadcasts only global latent centroids and their support counts. (3) Each client then updates its encoder by aligning its local latent codes with the nearest centroid using inverse-count weighting to emphasize globally underrepresented patterns. Steps (1)--(3) repeat over communication rounds. Because GCA exchanges only sampled latent codes and centroid statistics, its communication cost depends on latent dimensionality and the numbers of uploaded codes and returned centroids rather than on AE model size. Across five tabular and two vision benchmarks, GCA yields higher reconstruction error under a server-side client data extraction attack in all 21 comparisons and clearly lower cosine similarity in 20 of 21 comparisons with FedAvg, FedProx, and FedNova, showing its ability to protect training data. It even improves test accuracy over FedAvg by up to . GCA achieves extraction defense comparable to DP-FedAvg, remains effective when DP-FedAvg does not reduce target resemblance, and lowers per-round communication by up to .
Figures & tables
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Method | Client objective | Communicated object | Server operation | Key setting |
|---|---|---|---|---|
| Single-Client | Reconstruction | None | None | 10 local epochs |
| Centralized | Reconstruction | Pooled training data | Central training | Epoch-equivalent budget |
| FedAvg | Reconstruction | AE model update | Sample-size-weighted averaging | 10 local epochs |
| FedProx | Reconstruction plus proximal term | AE model update | Sample-size-weighted averaging | Configured ; effective coefficient |
| FedNova | Reconstruction | Normalized AE update | Normalized aggregation | ; sample-size-weighted normalization |
| DP-FedAvg | Reconstruction | Clipped and noisy AE update | FedAvg aggregation | clip 1.0; |