Heterogeneous Federated Learning Model for Recognizing Human Activity †
Abstract
1. Introduction
- Most datasets contain daily activities without fall detection.
- There is a shortage of previous studies that use different numbers of clients when applying FL.
- There is a lack of an attempt to utilize heterogeneous FL.
2. Literature Review
2.1. Human Activity Recognition Studies
2.2. Federated Learning Studies
2.3. Human Activity Recognition with Federated Learning Studies
3. Methodology
Communication Results
4. Implementation Experiments
4.1. The Dataset Chosen
4.2. The Models Chosen
4.2.1. CNN
4.2.2. ResNet
4.2.3. LSTM
4.3. Training and Evaluation with Two Heterogeneous Clients
4.4. Results for Training and Evaluation with Two Heterogeneous Clients
- Averaging and Updating
4.5. Training and Evaluation with Five Heterogeneous Clients
4.6. Results for Training and Evaluation with Five Heterogeneous Clients
- Averaging and Updating
4.7. Training and Evaluation with Ten Heterogeneous Clients
- LSTM for the first client.
- CNN for the second client.
- ResNet for the third client.
- CNN for the fourth client.
- ResNet for the fifth client.
- LSTM for the sixth client.
- CNN for the seventh client.
- ResNet for the eighth client.
- ResNet for the ninth client.
- ResNet for the tenth client.
4.8. Ten Heterogeneous Client Results for Training and Evaluation
- Averaging and Updating
5. Discussion
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Yang, J.; Lee, J.; Choi, J. Activity recognition based on RFID object usage for smart mobile devices. J. Comput. Sci. Technol. 2011, 26, 239–246. [Google Scholar] [CrossRef]
- Maskeliūnas, R.; Damaševičius, R.; Segal, S. A review of internet of things technologies for ambient assisted living environments. Future Internet 2019, 11, 259. [Google Scholar] [CrossRef]
- World Population Prospects 2019: Highlights. Available online: https://www.un.org/development/desa/publications/world-population-prospects-2019-highlights.html (accessed on 6 November 2025).
- UniMiB SHAR. Available online: http://www.sal.disco.unimib.it/technologies/unimib-shar/ (accessed on 30 April 2025).
- Stisen, A.; Blunck, H.; Bhattacharya, S.; Prentow, T.S.; Kjærgaard, M.B.; Dey, A.; Sonne, T.; Jensen, M.M. Smart devices are different: Assessing and mitigatingmobile sensing heterogeneities for activity recognition. In Proceedings of the 13th ACM Conference on Embedded Networked Sensor Systems; ACM: New York, NY, USA, 2015; pp. 127–140. [Google Scholar]
- Jiang, W.; Miao, C.; Ma, F.; Yao, S.; Wang, Y.; Yuan, Y.; Xue, H.; Song, C.; Ma, X.; Koutsonikolas, D.; et al. Towards environment independent device free human activity recognition. In Proceedings of the 24th Annual International Conference on Mobile Computing and Networking; ACM: New York, NY, USA, 2018. [Google Scholar]
- Bhattacharya, S.; Lane, N.D. From smart to deep: Robust activity recognition on smartwatches using deep learning. In 2016 IEEE International Conference on Pervasive Computing and Communication Workshops (PerCom Workshops); IEEE: New York, NY, USA, 2016; pp. 1–6. [Google Scholar]
- Khan, M.A.A.H.; Roy, N.; Misra, A. AScaling human activity recognition via deep learning-based domain adaptation. In 2018 IEEE International Conference on Pervasive Computing and Communications (PerCom); IEEE: New York, NY, USA, 2018; pp. 1–9. [Google Scholar]
- Radu, V.; Lane, N.D.; Bhattacharya, S.; Mascolo, C.; Marina, M.K.; Kawsar, F. Towards multimodal deep learning for activity recognition on mobile devices. In Proceedings of the 2016 ACM International Joint Conference on Pervasive and Ubiquitous Computing: Adjunct; ACM: New York, NY, USA, 2016; pp. 185–188. [Google Scholar]
- Lane, N.D.; Georgiev, P.; Qendro, L. Deepear: Robust smartphone audio sensing in unconstrained acoustic environments using deep learning. In Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing; ACM: New York, NY, USA, 2015; pp. 283–294. [Google Scholar]
- Gupta, N.; Gupta, S.K.; Pathak, R.K.; Jain, V.; Rashidi, P.; Suri, J.S. Human activity recognition in artificial intelligence framework: A narrative review. Artif. Intell. Rev. 2022, 55, 4755–4808. [Google Scholar] [CrossRef] [PubMed]
- Gaglio, S.; Re, G.L.; Morana, M.; Ruocco, C. Smart assistance for students and people living in a campus. In 2019 IEEE International Conference on Smart Computing (SMARTCOMP); IEEE: New York, NY, USA, 2019; pp. 132–137. [Google Scholar]
- Concone, F.; De Paola, A.; Re, G.L.; Morana, M. Twitter analysis for real-time malware discovery. In 2017 AEIT International Annual Conference; IEEE: New York, NY, USA, 2017; pp. 1–6. [Google Scholar]
- Bordonaro, A.; Concone, F.; De Paola, A.; Re, G.L.; Das, S.K. Modeling efficient and effective communications in vanet through population protocols. In 2021 IEEE International Conference on Smart Computing (SMARTCOMP); IEEE: New York, NY, USA, 2021; pp. 305–310. [Google Scholar]
- Garcia-Constantino, M.; Konios, A.; Mustafa, M.A.; Nugent, C.; Morrison, G. Ambient and wearable sensor fusion for abnormal behaviour detection in activities of daily living. In 2020 IEEE International Conference on Pervasive Computing and Communications Workshops (PerCom Workshops); IEEE: New York, NY, USA, 2020; pp. 1–6. [Google Scholar]
- Syed, L.; Jabeen, S.; Alsaeedi, A. Smart healthcare framework for ambient assisted living using IoMT and big data analytics techniques. Future Gener. Comput. Syst. 2019, 101, 136–151. [Google Scholar] [CrossRef]
- Rajamohan, K.; Nazz, S. Smart home activity recognition for Ambient Assisted Living (AAL). Ecs Trans. 2022, 107, 20253. [Google Scholar] [CrossRef]
- Ghadi, Y.Y.; Batool, M.; Gochoo, M.; Alsuhibany, S.A.; Al Shloul, T.; Jalal, A.; Park, J. Improving the ambient intelligence living using deep learning classifier. Comput. Mater. Contin. 2022, 73, 1037–1053. [Google Scholar] [CrossRef]
- Lee, S.; Nirjon, S. Fast and scalable in-memory deep multitask learning via neural weight virtualization. In Proceedings of the 18th International Conference on Mobile Systems, Applications, and Services; ACM: New York, NY, USA, 2020; pp. 175–190. [Google Scholar]
- Jaggi, M.; Smith, V.; Takác, M.; Terhorst, J.; Krishnan, S.; Hofmann, T.; Jordan, M.I. Communication-efficient distributed dual coordinate ascent. arXiv 2014, arXiv:1409.1458. [Google Scholar] [CrossRef]
- Yang, Q.; Liu, Y.; Chen, T.; Tong, Y. Federated machine learning: Concept and applications. ACM Trans. Intell. Syst. Technol. (TIST) 2019, 10, 1–19. [Google Scholar] [CrossRef]
- McMahan, B.; Moore, E.; Ramage, D.; Hampson, S.; y Arcas, B.A. Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and Statistics; PMLR: Cambridge, MA, USA, 2017; pp. 1273–1282. [Google Scholar]
- Bonawitz, K.; Eichner, H.; Grieskamp, W.; Huba, D.; Ingerman, A.; Ivanov, V.; Kiddon, C.; Konečný, J.; Mazzocchi, S.; McMahan, B.; et al. Towards federated learning at scale: System design. Proc. Mach. Learn. Syst. 2019, 1, 374–388. [Google Scholar]
- Xu, J.; Glicksberg, B.S.; Su, C.; Walker, P.; Bian, J.; Wang, F. Federated learning for healthcare informatics. J. Healthc. Inform. Res. 2021, 5, 1–19. [Google Scholar] [CrossRef] [PubMed]
- Agate, V.; Concone, F.; Ferraro, P. A resilient smart architecture for road surface condition monitoring. In Proceedings of the International Conference on Smart City Applications; Springer International Publishing: Cham, Switzerland, 2021; pp. 199–209. [Google Scholar]
- Abdallah, A.; Maarof, M.A.; Zainal, A. Fraud detection system: A survey. J. Netw. Comput. Appl. 2016, 68, 90–113. [Google Scholar] [CrossRef]
- Wu, Q.; He, K.; Chen, X. Personalized federated learning for intelligent IoT applications: A cloud-edge based framework. IEEE Open. J. Comput. Soc. 2020, 1, 35–44. [Google Scholar] [CrossRef] [PubMed]
- Khan, L.U.; Alsenwi, M.; Yaqoob, I.; Imran, M.; Han, Z.; Hong, C.S. Resource optimized federated learning-enabled cognitive internet of things for smart industries. IEEE Access 2020, 8, 168854–168864. [Google Scholar] [CrossRef]
- Oh, S.; Park, J.; Jeong, E.; Kim, H.; Bennis, M.; Kim, S.L. Mix2FLD: Downlink federated learning after uplink federated distillation with two-way mixup. IEEE Commun. Lett. 2020, 24, 2211–2215. [Google Scholar] [CrossRef]
- Kevin, I.; Wang, K.; Zhou, X.; Liang, W.; Yan, Z.; She, J. Federated transfer learning based cross-domain prediction for smart manufacturing. IEEE Trans. Ind. Inform. 2021, 18, 4088–4096. [Google Scholar]
- Kirsten, K.; Pfitzner, B.; Löper, L.; Arnrich, B. Sensor-based obsessive-compulsive disorder detection with personalised federated learning. In 2021 20th IEEE International Conference on Machine Learning and Applications (ICMLA); IEEE: New York, NY, USA, 2021; pp. 333–339. [Google Scholar]
- Sozinov, K.; Vlassov, V.; Girdzijauskas, S. Human activity recognition using federated learning. In 2018 IEEE Intl Conf on Parallel & Distributed Processing with Applications, Ubiquitous Computing & Communications, Big Data & Cloud Computing, Social Computing & Networking, Sustainable Computing & Communications (ISPA/IUCC/BDCloud/SocialCom/SustainCom); IEEE: New York, NY, USA, 2018; pp. 1103–1111. [Google Scholar]
- Ek, S.; Rombourg, R.; Portet, F.; Lalanda, P. Federated self-supervised learning in heterogeneous settings: Limits of a baseline approach on har. In 2022 IEEE International Conference on Pervasive Computing and Communications Workshops and other Affiliated Events (PerCom Workshops); IEEE: New York, NY, USA, 2022; pp. 557–562. [Google Scholar]
- Arikumar, K.S.; Prathiba, S.B.; Alazab, M.; Gadekallu, T.R.; Pandya, S.; Khan, J.M.; Moorthy, R.S. FL-PMI: Federated learning-based person movement identification through wearable devices in smart healthcare systems. Sensors 2022, 22, 1377. [Google Scholar] [CrossRef] [PubMed]
- Gudur, G.K.; Perepu, S.K. Federated learning with heterogeneous labels and models for mobile activity monitoring. arXiv 2020, arXiv:2012.02539. [Google Scholar] [CrossRef]
- Khoa, T.A.; Nguyen, D.V.; Dao, M.S.; Zettsu, K. Fed xData: A federated learning framework for enabling contextual health monitoring in a cloud-edge network. In 2021 IEEE International Conference on Big Data (Big Data); IEEE: New York, NY, USA, 2021; pp. 4979–4988. [Google Scholar]
- Wu, Q.; Chen, X.; Zhou, Z.; Zhang, J. Fedhome: Cloud-edge based personalized federated learning for in-home health monitoring. IEEE Trans. Mob. Comput. 2020, 21, 2818–2832. [Google Scholar] [CrossRef]
- Presotto, R.; Civitarese, G.; Bettini, C. Fedclar: Federated clustering for personalized sensor-based human activity recognition. In 2022 IEEE international conference on pervasive computing and communications (PerCom); IEEE: New York, NY, USA, 2022; pp. 227–236. [Google Scholar]
- Concone, F.; Ferdico, C.; Re, G.L.; Morana, M. A federated learning approach for distributed human activity recognition. In 2022 IEEE International Conference on Smart Computing (SMARTCOMP); IEEE: New York, NY, USA, 2022; pp. 269–274. [Google Scholar]
- Kumar, A.S. Federated Inverse Averaging: Toward Pareto-Optimal Minima in Human Activity Recognition; North Carolina State University: Raleigh, NC, USA, 2021. [Google Scholar]
- Sarkar, A.; Sen, T.; Roy, A.K. Grafehty: Graph neural network using federated learning for human activity recognition. In 2021 20th IEEE International Conference on Machine Learning and Applications (ICMLA); IEEE: New York, NY, USA, 2021; pp. 1124–1129. [Google Scholar]
- He, X.; Su, X.; Chen, Y.; Hui, P. Federated learning on wearable devices: Demo abstract. In Proceedings of the 18th Conference on Embedded Networked Sensor Systems; ACM: New York, NY, USA, 2020; pp. 613–614. [Google Scholar]
- Bettini, C.; Civitarese, G.; Presotto, R. Personalized semi-supervised federated learning for human activity recognition. arXiv 2021, arXiv:2104.08094. [Google Scholar] [CrossRef]








| First Client | Second Client | ||||
|---|---|---|---|---|---|
| CNN | ResNet | ||||
| Epoch | Batch | Loss | Acc | Loss | Acc |
| 50 | 64 | 1.0726 | 0.8826 | 0.9951 | 0.8855 |
| 128 | 0.9252 | 0.8772 | 0.8604 | 0.8775 | |
| 256 | 0.9148 | 0.8747 | 0.8608 | 0.8651 | |
| 512 | 0.8232 | 0.8806 | 0.7594 | 0.8716 | |
| 100 | 64 | 1.2136 | 0.8861 | 0.9326 | 0.8875 |
| 128 | 1.03 | 0.8777 | 1.1003 | 0.882 | |
| 256 | 0.9088 | 0.8777 | 0.8803 | 0.8726 | |
| 512 | 0.8603 | 0.8752 | 0.7739 | 0.8711 | |
| 150 | 64 | 1.0829 | 0.8816 | 0.8981 | 0.8914 |
| 128 | 1.0052 | 0.8752 | 0.8894 | 0.8726 | |
| 256 | 0.9253 | 0.8777 | 0.8614 | 0.8731 | |
| 512 | 0.8231 | 0.8707 | 0.8186 | 0.8691 | |
| 200 | 64 | 1.1865 | 0.8767 | 1.0528 | 0.8775 |
| 128 | 0.9723 | 0.8737 | 1.0183 | 0.882 | |
| 256 | 0.9518 | 0.8762 | 0.8475 | 0.8632 | |
| 512 | 0.8502 | 0.8752 | 0.7931 | 0.8681 | |
| 250 | 64 | 1.1977 | 0.8856 | 0.9138 | 0.8845 |
| 128 | 0.9969 | 0.8831 | 0.9459 | 0.8731 | |
| 256 | 1.0332 | 0.8777 | 0.9012 | 0.8716 | |
| 512 | 0.8278 | 0.8787 | 0.8435 | 0.8726 | |
| Low Loss | High Acc | Avg Loss | Avg Acc | |
|---|---|---|---|---|
| First Client CNN | 0.8231 | 0.8861 | 0.7912 | 0.8251 |
| Second Client ResNet | 0.7594 | 0.8914 |
| First Client | Second Client | Third Client | Fourth Client | Fifth Client | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CNN | ResNet | LSTM | ResNet | CNN | |||||||
| Epoch | Batch | Loss | Acc | Loss | Acc | Loss | Acc | Loss | Acc | Loss | Acc |
| 50 | 64 | 0.5915 | 0.9045 | 0.7066 | 0.902 | 0.3988 | 0.8759 | 1.0199 | 0.8945 | 0.6689 | 0.897 |
| 128 | 0.5954 | 0.8995 | 0.5939 | 0.9107 | 0.5786 | 0.7605 | 0.7152 | 0.9082 | 0.5296 | 0.9144 | |
| 256 | 0.4113 | 0.9144 | 0.7099 | 0.8933 | 0.6278 | 0.7804 | 0.7867 | 0.8933 | 0.4844 | 0.8995 | |
| 512 | 0.4042 | 0.8958 | 0.5762 | 0.8921 | 0.7393 | 0.7568 | 0.5287 | 0.9119 | 0.4188 | 0.9032 | |
| 100 | 64 | 0.6951 | 0.9194 | 0.7526 | 0.9169 | 0.4083 | 0.8734 | 1.02 | 0.9181 | 0.6845 | 0.8908 |
| 128 | 0.7608 | 0.8908 | 0.7295 | 0.9007 | 0.9693 | 0.7866 | 0.6468 | 0.9094 | 0.6394 | 0.8983 | |
| 256 | 0.4991 | 0.8933 | 0.6676 | 0.9032 | 0.7277 | 0.773 | 0.3614 | 0.9243 | 0.5317 | 0.9181 | |
| 512 | 0.5202 | 0.8859 | 0.6226 | 0.9082 | 0.6688 | 0.763 | 0.6425 | 0.9032 | 0.4939 | 0.8945 | |
| 150 | 64 | 0.6226 | 0.9069 | 0.5658 | 0.9181 | 0.9107 | 0.8226 | 0.74 | 0.928 | 0.8176 | 0.8983 |
| 128 | 0.6182 | 0.8921 | 0.6663 | 0.9107 | 0.8189 | 0.7543 | 0.6174 | 0.9082 | 0.6194 | 0.897 | |
| 256 | 0.6031 | 0.9057 | 0.674 | 0.8846 | 0.6856 | 0.7878 | 0.6783 | 0.9094 | 0.7159 | 0.9256 | |
| 512 | 0.4258 | 0.902 | 0.6102 | 0.8821 | 0.6713 | 0.7643 | 0.5972 | 0.897 | 0.5012 | 0.9057 | |
| 200 | 64 | 0.6301 | 0.9107 | 0.7061 | 0.9032 | 0.8432 | 0.8337 | 0.6832 | 0.9069 | 0.7141 | 0.8896 |
| 128 | 0.5447 | 0.9169 | 0.7619 | 0.9194 | 0.9654 | 0.7891 | 0.6877 | 0.9119 | 0.647 | 0.902 | |
| 256 | 0.5901 | 0.8834 | 0.4372 | 0.9243 | 0.6579 | 0.7854 | 0.635 | 0.9156 | 0.6354 | 0.897 | |
| 512 | 0.4338 | 0.9069 | 0.5076 | 0.9082 | 0.6565 | 0.773 | 0.5455 | 0.9032 | 0.5362 | 0.8871 | |
| 250 | 64 | 0.8184 | 0.9082 | 0.9142 | 0.9119 | 1.1054 | 0.8089 | 0.822 | 0.9144 | 0.6855 | 0.902 |
| 128 | 0.6227 | 0.9181 | 0.7565 | 0.8995 | 1.0234 | 0.7742 | 0.6399 | 0.9243 | 0.7239 | 0.8883 | |
| 256 | 0.6899 | 0.8846 | 0.387 | 0.9256 | 0.5324 | 0.7916 | 0.4894 | 0.9107 | 0.4884 | 0.9045 | |
| 512 | 0.4354 | 0.9007 | 0.4314 | 0.9181 | 0.7064 | 0.7618 | 0.4139 | 0.9256 | 0.5129 | 0.8945 | |
| Low Loss | High Acc | Avg Loss | Avg Acc | |
|---|---|---|---|---|
| First Client CNN | 0.4042 | 0.9194 | 0.3940 | 0.9080 |
| Second Client ResNet | 0.387 | 0.8914 | ||
| Third Client LSTM | 0.3988 | 0.8759 | ||
| Fourth Client ResNet | 0.3614 | 0.928 | ||
| Fifth Client CNN | 0.4188 | 0.9256 |
| First Client | Second Client | Third Client | Fourth Client | Fifth Client | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| LSTM | CNN | ResNet | CNN | ResNet | |||||||
| Epoch | Batch | Loss | Acc | Loss | Acc | Loss | Acc | Loss | Acc | Loss | Acc |
| 50 | 64 | 0.5358 | 0.7866 | 1.1771 | 0.8835 | 0.876 | 0.9156 | 0.9087 | 0.9007 | 1.2608 | 0.9007 |
| 128 | 0.288 | 0.8809 | 0.9373 | 0.877 | 1.282 | 0.8908 | 0.9519 | 0.8908 | 1.1752 | 0.8933 | |
| 256 | 0.348 | 0.8015 | 0.8574 | 0.878 | 0.8016 | 0.8908 | 0.7781 | 0.9082 | 0.8872 | 0.8908 | |
| 512 | 0.3394 | 0.8437 | 0.7879 | 0.8765 | 0.6311 | 0.9032 | 0.6011 | 0.9007 | 0.706 | 0.8859 | |
| 100 | 64 | 0.4942 | 0.8387 | 1.2689 | 0.8785 | 1.0249 | 0.9032 | 0.8773 | 0.8933 | 1.625 | 0.9132 |
| 128 | 0.3906 | 0.8288 | 1.0068 | 0.8785 | 1.4248 | 0.8983 | 0.7761 | 0.9007 | 1.1534 | 0.8983 | |
| 256 | 0.316 | 0.8387 | 0.8153 | 0.885 | 0.9724 | 0.8734 | 0.7339 | 0.8983 | 0.7305 | 0.9032 | |
| 512 | 0.3406 | 0.8511 | 0.7469 | 0.8696 | 0.6363 | 0.9007 | 0.6244 | 0.9082 | 0.6378 | 0.9007 | |
| 150 | 64 | 0.3694 | 0.8362 | 1.2481 | 0.8795 | 1.6656 | 0.9007 | 0.947 | 0.9107 | 0.8526 | 0.9032 |
| 128 | 0.3126 | 0.8511 | 0.8981 | 0.8756 | 1.5796 | 0.9231 | 0.6898 | 0.8983 | 0.803 | 0.9032 | |
| 256 | 0.2832 | 0.8586 | 0.8919 | 0.8721 | 1.0297 | 0.8983 | 0.63 | 0.9256 | 0.7994 | 0.9082 | |
| 512 | 0.2881 | 0.8536 | 0.7729 | 0.8721 | 0.728 | 0.8958 | 0.6377 | 0.9007 | 0.6747 | 0.8983 | |
| 200 | 64 | 0.3207 | 0.8412 | 1.0503 | 0.8815 | 0.9676 | 0.8809 | 0.9227 | 0.9156 | 1.1823 | 0.8933 |
| 128 | 0.274 | 0.861 | 0.9969 | 0.882 | 0.8634 | 0.8883 | 1.0095 | 0.9057 | 1.1019 | 0.9007 | |
| 256 | 0.3017 | 0.8486 | 0.8181 | 0.883 | 0.7379 | 0.8908 | 0.647 | 0.9181 | 0.8999 | 0.866 | |
| 512 | 0.2892 | 0.8561 | 0.7983 | 0.8751 | 0.7078 | 0.8983 | 0.6285 | 0.8933 | 0.7701 | 0.8958 | |
| 250 | 64 | 0.4705 | 0.8362 | 0.996 | 0.8815 | 1.5837 | 0.8958 | 0.823 | 0.9057 | 1.3272 | 0.9206 |
| 128 | 0.3273 | 0.866 | 1.001 | 0.8805 | 1.0605 | 0.9082 | 0.7351 | 0.8859 | 0.7061 | 0.9032 | |
| 256 | 0.3497 | 0.8462 | 0.863 | 0.8741 | 0.8039 | 0.8983 | 0.6514 | 0.8908 | 0.758 | 0.9032 | |
| 512 | 0.2824 | 0.861 | 0.7812 | 0.8671 | 0.6863 | 0.8933 | 0.6274 | 0.8983 | 0.6543 | 0.8883 | |
| Sixth Client | Seventh Client | Eighth Client | Ninth Client | Tenth Client | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| LSTM | CNN | ResNet | CNN | ResNet | |||||||
| Epoch | Batch | Loss | Acc | Loss | Acc | Loss | Acc | Loss | Acc | Loss | Acc |
| 50 | 64 | 0.2723 | 0.8263 | 0.7965 | 0.9032 | 1.0861 | 0.8933 | 1.1707 | 0.9007 | 0.9004 | 0.9057 |
| 128 | 0.2407 | 0.8536 | 0.6883 | 0.9107 | 1.7058 | 0.8859 | 1.3039 | 0.8759 | 1.3014 | 0.9007 | |
| 256 | 0.3537 | 0.8362 | 0.7479 | 0.871 | 1.0109 | 0.8412 | 0.909 | 0.8983 | 1.1925 | 0.8164 | |
| 512 | 0.3097 | 0.8586 | 0.6565 | 0.9007 | 0.6939 | 0.9032 | 0.6467 | 0.9082 | 0.719 | 0.8908 | |
| 100 | 64 | 0.3265 | 0.8784 | 0.9084 | 0.8983 | 0.9428 | 0.9156 | 1.1473 | 0.8933 | 1.1495 | 0.8933 |
| 128 | 0.3552 | 0.8213 | 0.9435 | 0.8958 | 1.1757 | 0.8983 | 0.9944 | 0.9181 | 0.9617 | 0.8933 | |
| 256 | 0.3432 | 0.8387 | 0.6424 | 0.8908 | 0.7377 | 0.9032 | 0.831 | 0.9107 | 0.8539 | 0.9057 | |
| 512 | 0.3136 | 0.8561 | 0.6444 | 0.9032 | 0.7639 | 0.8983 | 0.7028 | 0.9007 | 0.7015 | 0.8958 | |
| 150 | 64 | 0.3275 | 0.8511 | 0.9447 | 0.8983 | 1.0406 | 0.9156 | 1.2762 | 0.8958 | 1.3362 | 0.9007 |
| 128 | 0.3049 | 0.8362 | 0.9255 | 0.9132 | 0.9443 | 0.8883 | 0.7933 | 0.9007 | 1.5504 | 0.8958 | |
| 256 | 0.3232 | 0.8412 | 0.6173 | 0.9057 | 0.8621 | 0.8983 | 0.8862 | 0.9007 | 0.8931 | 0.8983 | |
| 512 | 0.3425 | 0.8412 | 0.6604 | 0.8958 | 0.6764 | 0.9132 | 0.7523 | 0.8958 | 0.7668 | 0.8983 | |
| 200 | 64 | 0.4271 | 0.8412 | 0.8885 | 0.8933 | 1.5131 | 0.9206 | 1.1107 | 0.8834 | 0.9205 | 0.9007 |
| 128 | 0.3676 | 0.8511 | 0.9967 | 0.9082 | 0.9405 | 0.8859 | 1.426 | 0.9007 | 1.2957 | 0.9057 | |
| 256 | 0.4064 | 0.8238 | 0.6007 | 0.8983 | 0.9654 | 0.9057 | 0.9166 | 0.8908 | 0.843 | 0.8983 | |
| 512 | 0.2898 | 0.8561 | 0.6645 | 0.8958 | 0.7142 | 0.8933 | 0.7053 | 0.9082 | 0.7512 | 0.8933 | |
| 250 | 64 | 0.4846 | 0.8337 | 0.6645 | 0.8958 | 0.8769 | 0.9082 | 1.1592 | 0.9132 | 1.4928 | 0.9007 |
| 128 | 0.3014 | 0.8337 | 0.996 | 0.8883 | 1.3826 | 0.8933 | 0.6934 | 0.8883 | 1.13 | 0.9181 | |
| 256 | 0.2848 | 0.8561 | 0.7499 | 0.9007 | 0.6501 | 0.9107 | 0.6542 | 0.9107 | 0.8399 | 0.8983 | |
| 512 | 0.3151 | 0.8511 | 0.6926 | 0.9007 | 0.7243 | 0.8958 | 0.7326 | 0.8834 | 0.6875 | 0.8958 | |
| Low Loss | High Acc | Avg Loss | Avg Acc | |
|---|---|---|---|---|
| First Client LSTM | 0.274 | 0.8809 | 0.4352 | 0.8965 |
| Second Client CNN | 0.5084 | 0.9206 | ||
| Third Client ResNet | 0.6311 | 0.9231 | ||
| Fourth Client CNN | 0.6011 | 0.9256 | ||
| Fifth Client ResNet | 0.6378 | 0.9206 | ||
| Sixth Client LSTM | 0.2407 | 0.8784 | ||
| Seventh Client CNN | 0.6007 | 0.9132 | ||
| Eighth Client ResNet | 0.2899 | 0.866 | ||
| Ninth Client ResNet | 0.2755 | 0.8685 | ||
| Tenth Client ResNet | 0.2929 | 0.8685 |
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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Alblihed, N.S.; Ibrahim, D.M. Heterogeneous Federated Learning Model for Recognizing Human Activity. Comput. Sci. Math. Forum 2026, 13, 10. https://doi.org/10.3390/cmsf2026013010
Alblihed NS, Ibrahim DM. Heterogeneous Federated Learning Model for Recognizing Human Activity. Computer Sciences & Mathematics Forum. 2026; 13(1):10. https://doi.org/10.3390/cmsf2026013010
Chicago/Turabian StyleAlblihed, Nwadher S., and Dina M. Ibrahim. 2026. "Heterogeneous Federated Learning Model for Recognizing Human Activity" Computer Sciences & Mathematics Forum 13, no. 1: 10. https://doi.org/10.3390/cmsf2026013010
APA StyleAlblihed, N. S., & Ibrahim, D. M. (2026). Heterogeneous Federated Learning Model for Recognizing Human Activity. Computer Sciences & Mathematics Forum, 13(1), 10. https://doi.org/10.3390/cmsf2026013010
