Optimal Transport-Based Heterogeneous Federated Learning for Chest X-Rays
Abstract
1. Introduction
- We adopt cross-layer alignment to establish functional correspondences between layers of different network depths, which resolves model depth heterogeneity in federated learning.
- We introduce OT theory to achieve parameter alignment and knowledge fusion for layers with different neuron counts, which solves model width heterogeneity in federated learning.
- We design the coupling alignment strategy with progressively increasing model depth (CID) to extend pairwise fusion to multi-model aggregation, thereby enabling efficient aggregation of multi-client heterogeneous models in FL.
2. Related Works
2.1. Heterogeneous FL
2.2. Optimal Transport
3. Methods
3.1. Layer Alignment
3.2. Layer Coordination
3.3. Mathematical Formulation of OT
3.4. Balance Two Neural Network Layers with OT
3.5. Multi-Model Aggregation Strategy
| Algorithm 1 Multi-model aggregation strategy. |
Require: All clients with local dataset
|
3.6. Applications of OHFL in the Medical Field
3.7. Complexity Analysis
4. Experiment
4.1. Settings
4.2. Datasets
4.3. Model and Baseline Methods
4.4. Results
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Liu, B.; Lv, N.; Guo, Y.; Li, Y. Recent advances on federated learning: A systematic survey. Neurocomputing 2024, 597, 128019. [Google Scholar] [CrossRef]
- General Data Protection Regulation. 2016. Available online: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679 (accessed on 23 March 2025).
- Lu, Z.; Pan, H.; Dai, Y.; Si, X.; Zhang, Y. Federated learning with non-iid data: A survey. IEEE Internet Things J. 2024, 11, 19188–19209. [Google Scholar] [CrossRef]
- McMahan, B. Communication-efficient learning of deep networks from decentralized data. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics Artificial Intelligence and Statistics, Lauderdale, FL, USA, 20–22 April 2017. [Google Scholar]
- Hu, J.; Yang, Z.; Wang, P.; Zhao, G.; Huang, H.; Zong, Z.; Wu, D.O. Federated learning for medical image analysis: Privacy-preserving paradigms and clinical challenges. Innov. Water Treat. 2025, 1, 153–169. [Google Scholar]
- Dritsas, E.; Trigka, M. Federated learning for IoT: A survey of techniques, challenges, and applications. J. Sens. Actuator Netw. 2025, 14, 9. [Google Scholar] [CrossRef]
- Alhawas, S.; Rassam, M.A. Federated learning in edge computing: Vulnerabilities, attacks, and defenses—A survey. Sensors 2026, 26, 1275. [Google Scholar] [CrossRef] [PubMed]
- Sampathkumar, V.; Pathak, I.P.; Ramaraj, D.K.; Kotha, R.; Patel, D.P. Federated Explainable AI for Fair and Inclusive Credit Scoring: A Comprehensive Review. In Proceedings of the 2026 IEEE 16th Annual Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA, 5–7 January 2026; pp. 0142–0151. [Google Scholar]
- Alterkawi, L.; Dib, F.K. Federated Learning for Smart Cities: A Thematic Review of Challenges and Approaches. Future Internet 2025, 17, 545. [Google Scholar] [CrossRef]
- Li, T. Federated optimization in heterogeneous networks. Proc. Mach. Learn. Syst. 2020, 2, 429–450. [Google Scholar]
- Karimireddy, S.P. Scaffold: Stochastic controlled averaging for federated learning. Int. Conf. Mach. Learn. 2020, 119, 5132–5143. [Google Scholar]
- Reddi, S. Adaptive federated optimization. arXiv 2020, arXiv:2003.00295. [Google Scholar]
- Yao, Y.; Wang, L.; Wu, J.; Song, J.; Chen, S.; Wang, Z.; Tian, Z.; Chen, W.; Li, H.; Li, X. FedRE: A Representation Entanglement Framework for Model-Heterogeneous Federated Learning. arXiv 2025, arXiv:2511.22265. [Google Scholar]
- Li, D. Fedmd: Heterogenous federated learning via model distillation. arXiv 2019, arXiv:1910.03581. [Google Scholar]
- Li, Y.; Su, H.; Li, H.; Yang, H.; Zhuang, X.; Xue, H.; Wang, H.; Razzak, I. FedCD: Towards Consolidated Distillation for Heterogeneous Federated Learning. Proc. AAAI Conf. Artif. Intell. 2026, 40, 23256–23264. [Google Scholar] [CrossRef]
- Zhang, J. Dense: Data-free one-shot federated learning. arXiv 2022, arXiv:2112.12371v2. [Google Scholar]
- Niu, Z.; Dong, H.; Qin, A.K. Bridging generalization gap of heterogeneous federated clients using generative models. In Proceedings of the Fourteenth International Conference on Learning Representations, Rio de Janeiro, Brazil, 23 April 2026. [Google Scholar]
- Cuturi, M. Sinkhorn distances: Lightspeed computation of optimal transport. In Proceedings of the Advances in Neural Information Processing Systems, Lake Tahoe, NV, USA, 5–8 December 2013; pp. 2292–2300. [Google Scholar]
- Courty, N. Optimal transport for domain adaptation. IEEE Trans. Pattern Anal. Mach. Intell. 2016, 39, 1853–1865. [Google Scholar] [CrossRef] [PubMed]
- Yan, Y. Semi-Supervised Optimal Transport for Heterogeneous Domain Adaptation. In Proceedings of the IJCAI, Stockholm, Sweden, 13–19 July 2018. [Google Scholar]
- Xu, B. Low-rank optimal transport for robust domain adaptation. IEEE/CAA J. Autom. Sin. 2024, 11, 1667–1680. [Google Scholar] [CrossRef]
- Hamri, M.E. Hierarchical optimal transport for unsupervised domain adaptation. Mach. Learn. 2022, 111, 4159–4182. [Google Scholar] [CrossRef]
- Singh, S.P. Model fusion via optimal transport. In Proceedings of the Advances in Neural Information Processing Systems, Vancouver, BC, Canada, 6–12 December 2020; Volume 33, pp. 22045–22055. [Google Scholar]
- Chiang, Y.H. Optimal transport-based one-shot federated learning for Artificial Intelligence of Things. IEEE Internet Things J. 2023, 11, 2166–2180. [Google Scholar] [CrossRef]
- Zhou, M. FedSKF: Selective Knowledge Fusion via Optimal Transport in Federated Class Incremental Learning. Electronics 2024, 13, 1772. [Google Scholar] [CrossRef]
- Imfeld, M. Transformer fusion with optimal transport. arXiv 2023, arXiv:2310.05719. [Google Scholar]
- Kornblith, S.; Norouzi, M.; Lee, H.; Hinton, G.E. Similarity of Neural Network Representations. Proc. Mach. Learn. Res. 2019, 97, 3519–3529. [Google Scholar]
- Khoiriyah, S.A. Convolutional neural network for automatic pneumonia detection in chest radiography. In Proceedings of the 2020 International Electronics Symposium (IES), Surabaya, Indonesia, 29–30 September 2020. [Google Scholar]
- Simonyan, K. Very deep convolutional networks for large-scale image recognition. arXiv 2014, arXiv:1409.1556. [Google Scholar]
- Ahmed, R.; Maddikunta, P.K.R.; Gadekallu, T.R.; Alshammari, N.K.; Hendaoui, F.A. Efficient differential privacy enabled federated learning model for detecting COVID-19 disease using chest X-ray images. Front. Med. 2024, 11, 140931. [Google Scholar] [CrossRef] [PubMed]








| Group | Normal | Pneumonia | ||
|---|---|---|---|---|
| Volume | Size (px) | Volume | Size (px) | |
| 1 | 233 | 662–1080 | 642 | 127–584 |
| 2 | 233 | 1082–1206 | 642 | 584–680 |
| 3 | 233 | 1208–1330 | 642 | 680–776 |
| 4 | 233 | 1330–1468 | 642 | 776–880 |
| 5 | 233 | 1468–1693 | 642 | 880–1056 |
| 6 | 238 | 1696–2625 | 643 | 1056–2192 |
| Total | 1583 | 662–2625 | 4273 | 127–2192 |
| Algorithm | Model | 2 Clients | 4 Clients | 6 Clients |
|---|---|---|---|---|
| OHFL | CNN | |||
| FedMD | CNN | |||
| DENSE | CNN | |||
| Fedavg | CNN | |||
| OHFL | VGG11 | |||
| FedMD | VGG11 | |||
| DENSE | VGG11 | |||
| Fedavg | VGG11 | |||
| OHFL | DPFL | |||
| FedMD | DPFL | |||
| DENSE | DPFL | |||
| Fedavg | DPFL |
| Algorithm | MNIST | CIFAR-10 | ||
|---|---|---|---|---|
| OHFL | ||||
| FedMD | ||||
| DENSE | ||||
| FedAvg | ||||
| Strategy | Client Number | Average | Variance | |||||
|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |||
| CID | ||||||||
| CDD | 90.69 | 0.236 | ||||||
| CIA | 89.36 | 0.753 | ||||||
| RAND | 89.05 | 0.939 | ||||||
| Setting | Test Accuracy |
|---|---|
| random alignment + random aggregation | |
| random alignment + CID | |
| layer alignment + random aggregation | |
| layer alignment + CID |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Liu, Y.; Wang, H.; Qian, X.; Wan, J.; Zhang, L.; Huang, J.; Dou, Y. Optimal Transport-Based Heterogeneous Federated Learning for Chest X-Rays. Sensors 2026, 26, 5059. https://doi.org/10.3390/s26165059
Liu Y, Wang H, Qian X, Wan J, Zhang L, Huang J, Dou Y. Optimal Transport-Based Heterogeneous Federated Learning for Chest X-Rays. Sensors. 2026; 26(16):5059. https://doi.org/10.3390/s26165059
Chicago/Turabian StyleLiu, Yi, Haijiang Wang, Xiaohong Qian, Jian Wan, Lei Zhang, Jie Huang, and Yexin Dou. 2026. "Optimal Transport-Based Heterogeneous Federated Learning for Chest X-Rays" Sensors 26, no. 16: 5059. https://doi.org/10.3390/s26165059
APA StyleLiu, Y., Wang, H., Qian, X., Wan, J., Zhang, L., Huang, J., & Dou, Y. (2026). Optimal Transport-Based Heterogeneous Federated Learning for Chest X-Rays. Sensors, 26(16), 5059. https://doi.org/10.3390/s26165059

