Federated Learning Strategies for Enhancing Privacy-Preserving Euclidean Distance Matrix Computation
Received: 7 March 2025 | Revised: 13 April 2025, 26 April 2025, and 1 May 2025 | Accepted: 4 May 2025 | Online: 6 October 2025
Corresponding author: Ahmad Taher Azar
Abstract
Numerous Machine Learning (ML) algorithms require pairwise Euclidean distance computations between all data points in horizontally partitioned datasets. To ensure data privacy, most existing solutions incorporate encryption or cryptographic techniques, allowing secure sharing and computation of data points. In this study, we propose two methodologies for generating Euclidean distance matrices: the Federated Euclidean Distance Matrix (FEDM) and the Predicted Euclidean Distance Matrix (PEDM), derived from the pairwise Euclidean distances of horizontally partitioned data to ensure privacy by design. The proposed approach has significant potential to transform the execution of ML algorithms that rely on Euclidean distance calculations and to eliminate the need for separate encryption methods, thereby potentially reducing communication and computation costs in a Federated Learning (FL) environment. The proposed methods achieve high accuracy and exhibit strong similarity to the actual Euclidean distance matrix. FL has gained prominence as a privacy-preserving ML solution that encapsulates data while appropriately sharing model parameters. To this end, we utilize artificial spike points for the creation of FEDM. We also elucidate the foundational workflows of the method and matrix construction and demonstrate their efficacy through comprehensive experimentation.
Keywords:
Federated Learning (FL), Machine Learning (ML), Federated Euclidean Distance Matrix (FEDM), Predicted Euclidean Distance Matrix (PEDM), pairwise Euclidean distanceDownloads
References
N. Bouacida and P. Mohapatra, "Vulnerabilities in Federated Learning," IEEE Access, vol. 9, pp. 63229–63249, 2021.
U. Hameed, M. U. Rehman, A. Rehman, R. Damaševičius, A. Sattar, and T. Saba, "A deep learning approach for liver cancer detection in CT scans," Computer Methods in Biomechanics and Biomedical Engineering: Imaging & Visualization, vol. 11, no. 7, Jan. 2024, Art. no. 2280558.
H. Inbarani H., A. T. Azar, and J. G, "Leukemia Image Segmentation Using a Hybrid Histogram-Based Soft Covering Rough K-Means Clustering Algorithm," Electronics, vol. 9, no. 1, Jan. 2020, Art. no. 188.
S. Al-Otaibi, M. Mujahid, A. R. Khan, H. Nobanee, J. Alyami, and T. Saba, "Dual Attention Convolutional AutoEncoder for Diagnosis of Alzheimer's Disorder in Patients Using Neuroimaging and MRI Features," IEEE Access, vol. 12, pp. 58722–58739, 2024.
C. Kaushal, K. Kaushal, and A. Singla, "Firefly optimization-based segmentation technique to analyse medical images of breast cancer," International Journal of Computer Mathematics, vol. 98, no. 7, pp. 1293–1308, Jul. 2021.
S. R. Waheed, N. M. Suaib, M. S. M. Rahim, A. R. Khan, S. A. Bahaj, and T. Saba, "Synergistic Integration of Transfer Learning and Deep Learning for Enhanced Object Detection in Digital Images," IEEE Access, vol. 12, pp. 13525–13536, 2024.
A. Koubaa, A. Ammar, M. Alahdab, A. Kanhouch, and A. T. Azar, "DeepBrain: Experimental Evaluation of Cloud-Based Computation Offloading and Edge Computing in the Internet-of-Drones for Deep Learning Applications," Sensors, vol. 20, no. 18, Sep. 2020, Art. no. 5240.
A. Jha, M. Dave, and S. Madan, "Performance Evaluation of Binary and Multi-Class Dataset using Ensemble Classifiers," International Journal of Engineering Research & Technology, vol. 11, no. 3, pp. 425–430, Apr. 2022.
K. Hicham, S. Laghmati, B. Cherradi, S. Hamida, and A. Tmiri, "Enhancing Colorectal Polyps Detection using Transfer Learning on DICOM Metadata," Engineering, Technology & Applied Science Research, vol. 15, no. 1, pp. 19417–19423, Feb. 2025.
V. Kulkarni et al., "Air Quality Decentralized Forecasting: Integrating IoT and Federated Learning for Enhanced Urban Environmental Monitoring," Engineering, Technology & Applied Science Research, vol. 14, no. 4, pp. 16077–16082, Aug. 2024.
Q. Yang, Y. Liu, T. Chen, and Y. Tong, "Federated Machine Learning: Concept and Applications," ACM Transactions on Intelligent Systems and Technology, vol. 10, no. 2, Jan. 2019, Art. no. 12.
W.-J. Lee, R. P. W. Duin, A. Ibba, and M. Loog, "An experimental study on combining Euclidean distances," in 2010 2nd International Workshop on Cognitive Information Processing, Elba, Italy, 2010, pp. 304–309.
S. Mukherjee, Z. Chen, and A. Gangopadhyay, "A privacy-preserving technique for Euclidean distance-based mining algorithms using Fourier-related transforms," The VLDB Journal, vol. 15, no. 4, pp. 293–315, Nov. 2006.
P. Kairouz et al., "Advances and Open Problems in Federated Learning," Foundations and Trends® in Machine Learning, vol. 14, no. 1–2, pp. 1–210, Jun. 2021.
"sklearn.datasets.make_blobs." scikit-learn. [Online]. Available: https://scikit-learn/stable/modules/generated/sklearn.datasets.make_blobs.html.
"numpy.random.random — NumPy v1.15 Manual." SciPy. https://docs.scipy.org/doc/numpy-1.15.0/reference/generated/numpy.random.random.html.
S.-J. Yoon et al., "Deconvolution of diffuse gastric cancer and the suppression of CD34 on the BALB/c nude mice model," BMC Cancer, vol. 20, no. 1, Apr. 2020, Art. no. 314.
J. Matschinske et al., "The FeatureCloud AI Store for Federated Learning in Biomedicine and Beyond." arXiv, May 12, 2021.
"Molecular subtypes in gastric cancer. [I]." NCBI, 2018. [Online]. Available: https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE84426.
"Molecular subtypes in gastric cancer. [II]." NCBI, 2018. [Online]. Available: https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE84433.
Downloads
How to Cite
License
Copyright (c) 2025 Vikrant Shokeen, Sandeep Kumar, Amit Sharma, Ahmad Taher Azar, Samah ALmutlaq

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.