Submitted:
07 July 2026
Posted:
08 July 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Background and Related Work
2.1. Hemodialysis Treatment Principles and the Role of Hemodialysis Machine Sensors
2.1.1. Diffusion
2.1.2. Ultrafiltration
2.1.3. Convection
2.2. Clinical Functional Modules of the Dialysis Machine
2.2.1. Blood Pump
2.2.2. Dialysate Delivery System
2.2.3. Pressure Sensors
2.2.4. Air/Bubble Detector
2.2.5. Conductivity and pH Detection
2.2.6. Temperature Control
2.3. Basic Federated Learning Method: FedAvg
2.3.1. Model Structure
2.3.2. Training Objective:
2.4. Particle Swarm Algorithm
2.5. Federated Learning (FL) for Hemodialysis Related Complication Prediction
2.6. Challenges of Heterogeneous Data in Federated Learning Feature Fusion
3. Materials and Methods
3.1. System Architecture and Medical IoT Topology
3.2. Hemodialysis Dataset Preprocessing
3.3. Client-Side Model

3.4. Data Flow for the PSO-Enhanced Federated Learning
3.5. Control and Experimental Group Design
3.5.1. Server-Side PSO Fusion Method (Experimental Group 1)
- Particle Definition and Initialization
4. Particle Update (Velocity & Position Update)
5. Optimal Particle Selection and Final Aggregation
- Initialize particles .
- foreach particle
- 3.
- end foreach
- 3.
- Set
- for
- 26.
- end for
- 26.
- return
- Definition of Local Particles (Client-Side)Each client initializes several PSO particles, where each particle represents a set of weighting coefficients applied to the sliding window outputs of the CNN layer.If the intermediate layer produces
- 2.
- Feature Map Weighted SynthesisEach particle corresponds to a particular way of weighting the intermediate feature maps. The CNN’s sliding outputs are weighted by the particle’s coefficients, then summed to form a synthetic feature map, which serves as the input for the next CNN layer—representing feature combinations with different importance distributions:
3. Local Fitness Evaluation
4. Particle Update
4. Results
4.1. Relationship Between Particle Count, Iteration Count, and Accuracy
4.2. Comparison of Accuracy Among Different Methods
4.3. Cross-Validation
4.4. Ablation Experiments
4.4.1. Learning Efficiency Comparison
4.4.2. Final Prediction Accuracy Comparison of Different Modalities
4.4.3. Performance Comparison of PSO Federated Learning for Different Fusing Strategies
4.4.4. Model Interpretability Comparisons of the Four Methods
4.4.5. Comparison with PriorWork
5. Conclusion and Future Work
References
- Konečný, J.; McMahan, H. B.; Yu, F. X.; Richtárik, P.; Suresh, A. T.; Bacon, D. Federated learning: Strategies for improving communication efficiency. arXiv 2016, arXiv:1610.05492. [Google Scholar]
- Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of the ICNN’95—International Conference on Neural Networks, Perth, Australia, 27 November–1 December 1995; Volume 4, pp. 1942–1948. [Google Scholar] [CrossRef]
- Wang, Y.; Zhang, C.; Zeng, W. D3QN-based cloud resource management for federated learning. IEEE Trans. Cloud Comput. 2021, vol. 9(no. 3), 1012–1024. [Google Scholar] [CrossRef]
- Wang, S.; Tuor, T.; Salonidis, T.; Leung, K.K.; Makaya, C.; He, T.; Chan, K. Adaptive Federated Learning in Resource Constrained Edge Computing Systems. IEEE J. Sel. Areas Commun. 2019, 37, 1205–1221. [Google Scholar] [CrossRef]
- Tan, L.T.; Hu, R.Q.; Hanzo, L. Twin-Timescale Artificial Intelligence Aided Mobility-Aware Edge Caching and Computing in Vehicular Networks. IEEE Trans. Veh. Technol. 2019, 68, 3086–3099. [Google Scholar] [CrossRef]
- Liu, L.; Xu, J.; Zhang, N. Federated learning for mobile edge computing: A deep reinforcement learning approach. IEEE Trans. Veh. Technol. 2019, vol. 68(no. 10), 10145–10156. [Google Scholar] [CrossRef]
- Nishio, T.; Yonetani, R. Client Selection for Federated Learning with Heterogeneous Resources in Mobile Edge. In Proceedings of the ICC 2019 - 2019 IEEE International Conference on Communications (ICC), Shanghai, China, 20–24 May 2019; pp. 1–7. [Google Scholar]
- Yang, Z.; Chen, M.; Wong, K. Deep reinforcement learning for 5G wireless network resource allocation. IEEE Trans. Netw. Sci. Eng. 2020, vol. 7(no. 4), 2131–2141. [Google Scholar] [CrossRef]
- Li, H.; Ota, K.; Dong, M. Learning IoT in Edge: Deep Learning for the Internet of Things with Edge Computing. IEEE Netw. 2018, 32, 96–101. [Google Scholar] [CrossRef]
- Li, T.; Sahu, A.K.; Talwalkar, A.; Smith, V. Federated Learning: Challenges, Methods, and Future Directions. IEEE Signal Process. Mag. 2020, 37, 50–60. [Google Scholar] [CrossRef]
- Kairouz, P.; McMahan, H.B.; Avent, B.; Bellet, A.; Bennis, M.; Bhagoji, A.N.; Bonawitz, K.; Charles, Z.; Cormode, G.; Cummings, R.; et al. Advances and Open Problems in Federated Learning. Found. Trends Mach. Learn. 2021, 14, 1–210. [Google Scholar] [CrossRef]
- Mendoza, M.M.; Chang, Y.-C.; Dmitriev, A.V.; Lin, C.-H.; Tsai, L.-C.; Li, Y.-H.; Hsieh, M.-C.; Hsu, H.-W.; Huang, G.-H.; Lin, Y.-C.; et al. Recovery of Ionospheric Signals Using Fully Convolutional DenseNet and Its Challenges. Sensors 2021, 21, 6482. [Google Scholar] [CrossRef] [PubMed]
- Saleem, A.; Liu, N.; Junjie, H.; Iqbal, A.; Hayyat, M.A.; Mateen, M. Modelling of an Electric Vehicle for Tractive Force Calculation Along With Factors Affecting the Total Tractive Power and Energy Demand. 2020 3rd International Conference on Computing, Mathematics and Engineering Technologies (iCoMET); LOCATION OF CONFERENCE, PakistanDATE OF CONFERENCE; pp. 1–5.
- Ouyang, B.; Li, Y.; Zhang, H. AdpFedPSO: Adaptive federated learning aggregation with particle swarm optimization. Discov. Comput. 2024, vol. 2(no. 1), 1–13. [Google Scholar] [CrossRef]
- Zheng, Y.; Yang, H.; Wu, K. Federated learning for online resource allocation in mobile edge computing: A deep reinforcement learning approach. In IEEE Trans. Mobile Comput., early access; 2023. [Google Scholar] [CrossRef]
- Lopez-Perez, D.; Garcia-Rodriguez, A.; Galati-Giordano, L.; Kasslin, M.; Doppler, K. IEEE 802.11be Extremely High Throughput: The Next Generation of Wi-Fi Technology Beyond 802.11ax. IEEE Commun. Mag. 2019, 57, 113–119. [Google Scholar] [CrossRef]
- Orujov, F.; Maskeliūnas, R.; Damaševičius, R.; Wei, W. Fuzzy based image edge detection algorithm for blood vessel detection in retinal images. Appl. Soft Comput. 2020, 94. [Google Scholar] [CrossRef]
- Abououf, M.; Otrok, H.; Singh, S.; Mizouni, R.; Ouali, A. A Misbehaving-Proof Game Theoretical Selection Approach for Mobile Crowd Sourcing. IEEE Access 2020, 8, 58730–58741. [Google Scholar] [CrossRef]
- Kanarachos, S.; Dizqah, A.M.; Chrysakis, G.; Fitzpatrick, M.E. Optimal design of a quadratic parameter varying vehicle suspension system using contrast-based Fruit Fly Optimisation. Appl. Soft Comput. 2018, 62, 463–477. [Google Scholar] [CrossRef]
- Mirjalili, S.; Lewis, A. S-shaped versus V-shaped transfer functions for binary Particle Swarm Optimization. Swarm Evol. Comput. 2013, 9, 1–14. [Google Scholar] [CrossRef]
- Elaziz, M. A.; Oliva, D. A hybrid method with multi-verse optimizer and support vector machine for selecting features and optimizing parameters in data mining. Appl. Intell. 2019, vol. 49(no. 8), 3235–3252. [Google Scholar] [CrossRef]
- Huang, C.-T.; Wang, T.-J.; Kuo, L.-K.; Tsai, M.-J.; Cia, C.-T.; Chiang, D.-H.; Chang, P.-J.; Chong, I.-W.; Tsai, Y.-S.; Chu, Y.-C.; et al. Federated machine learning for predicting acute kidney injury in critically ill patients: a multicenter study in Taiwan. Heal. Inf. Sci. Syst. 2023, 11, 1–10. [Google Scholar] [CrossRef] [PubMed]









| Particle # | 5 Iter. | 15 Iter. | 30 Iter. | 50 Iter. |
| 1 | 31% | 34% | 34% | 34% |
| 10 | 42% | 43% | 50% | 55% |
| 50 | 65% | 69% | 70% | 72% |
| 100 | 89% | 88% | 91% | 93% |
| 150 | 87% | 85% | 89% | 90% |
| 200 | 91% | 88% | 91% | 93% |
| 300 | 93% | 93% | 88% | 91% |
| 400 | 90% | 93% | 93% | 93% |
| Aspect | Before PSO | After PSO |
| **Value Range** | 0.00 to ~0.60 | 0.00 to >2.00 |
| **Color Intensity** | Mostly dark purple (low values) with few yellow | More vibrant: magenta, orange, and bright yellow |
| **High-Value Concentration** | Sparse, isolated yellow cells | Multiple high-value clusters across filters |
| **Filter Activation Spread** | Mostly filters 0–3 show activity | Filters 1–6 show broader activation |
| **Time Step Variation** | Time steps 0–2 have most variation | Time steps 1–3 show strong activations |
| Aggregate mode | Precision | Recall | F1 Score | Accuracy (%) |
| Full PSO | 0.9143 | 0.8000 | 0.8533 | 90.56 |
| Client PSO | 0.8286 | 0.6591 | 0.7342 | 81.97 |
| Server PSO | 0.7681 | 0.5579 | 0.6463 | 75.11 |
| Fed-AVG | 0.6667 | 0.4423 | 0.5318 | 65.24 |
| Paper | Client-Side PSO | Server-Side PSO | Model used | Data set | Performance (Accuracy/AUC etc) |
End application | ||
| [19] Aljarah et al. |
✓ | O | CNN / Neural Network | Benchmark Datasets (e.g., MNIST, UCI datasets) |
Accuracy / MSE (High classification accuracy) |
General Vision applcations | ||
| [20] Mirjalili et al. |
✓ | O | BPSO (S-shaped / V-shaped) |
CEC 2005 Benchmark Functions (25 mathematical functions) |
Convergence Speed / Mean Error (Global Optimum) |
Global Optimization / Mathematics | ||
| [17] Liu et al. |
✓ | O | FCAE (Flexible Convolutional Auto-Encoder) |
CIFAR-10, MNIST, STL-10, Caltech-101 |
MNIST 99.51% CIFAR-10 83.5% |
General Vision applications |
||
| [18] X. Kan et al. |
✓ | O | 1D-CNN (Optimized by APSO) |
N-BaIoT Dataset (Mirai & BASHLITE botnets) |
Accuracy / F1-Score |
IoT Security |
||
| [12] Park et al. |
O | ✓ | CNN | CIFAR-10, MNIST | 70.12% on CIFAR-10 | Mobile devices applications | ||
| [13] Saadati & Amini |
✓ | O | CNN | FEMNIST, CIFAR-10 | 81.43% on FEMNIST | Automated Machine Learning | ||
| [14] Ouyang et al. |
O | ✓ | CNN / VGG16 / ResNet | MNIST, FashionMNIST, CIFAR-10, CIFAR-100 |
~96.8% FedAvg |
General Vision application | ||
| This paper |
✓ | ✓ | 1D-CNN | Hemodialysis Dataset | Global Accuracy: 93% | Hemodialys-is Complication prediction |
||
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.