Optimal Transport-based Domain Alignment as a Preprocessing Step for Federated Learning

Luiz Manella Pereira, M. Hadi Amini
6/4/2025
cs.LGcs.CV

No confident code implementation found for this paper.

Abstract

Federated learning (FL) is a subfield of machine learning that avoids sharing local data with a central server, which can enhance privacy and scalability. The inability to consolidate data leads to a unique problem called dataset imbalance, where agents in a network do not have equal representation of the labels one is trying to learn to predict. In FL, fusing locally-trained models with unbalanced datasets may deteriorate the performance of global model aggregation, and reduce the quality of updated local models and the accuracy of the distributed agents' decisions. In this work, we introduce an Optimal Transport-based preprocessing algorithm that aligns the datasets by minimizing the distributional discrepancy of data along the edge devices. We accomplish this by leveraging Wasserstein barycenters when computing channel-wise averages. These barycenters are collected in a trusted central server where they collectively generate a target RGB space. By projecting our dataset towards this target space, we minimize the distributional discrepancy on a global level, which facilitates the learning process due to a minimization of variance across the samples. We demonstrate the capabilities of the proposed approach over the CIFAR-10 dataset, where we show its capability of reaching higher degrees of generalization in fewer communication rounds.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pereira2025optimal,
  title  = {Optimal Transport-based Domain Alignment as a Preprocessing Step for Federated Learning},
  author = {Luiz Manella Pereira and M. Hadi Amini},
  year   = {2025},
  eprint = {2506.04071},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.04071v1}
}

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/2506.04071.svg)](https://codeofpaper.com/paper/2506.04071)

Discussion