Privacy-preserving machine learning with homomorphic encryption for diabetes mellitus detection

Diabetes mellitus (DM) is a chronic metabolic disorder with severe complications, including blindness, lower limb amputation, and cardiovascular diseases, and its global prevalence continues to rise. While machine learning (ML) has shown strong potential for improving disease prediction, the use of sensitive medical data raises significant privacy concerns. The core problem is that modern cryptographic or decentralized privacy solutions often introduce prohibitive computational overhead, hindering routine clinical deployment. To address this, the objective of this study is to propose a privacy-preserving ML framework for Type 2 diabetes risk prediction by integrating multiple ML models with homomorphic encryption (HE). Using the PIMA Indian Diabetes (PID) dataset, nine ML models and a stacking ensemble were developed and optimized under a unified evaluation framework. The stacking ensemble achieved the best performance (accuracy: 0.84, F1-score: 0.87, recall: 0.96, and precision: 0.79). HE was incorporated to protect data during transmission and storage without modifying the model training process. The results demonstrate that the encryption-decryption workflow does not affect predictive performance while ensuring data confidentiality. Overall, this study highlights the feasibility of combining ML with cryptographic techniques for privacy-aware medical prediction.

Authors

Institutions

Publication Details

Journal
PeerJ Computer Science
Published
2026-07-23
DOI
https://doi.org/10.7717/peerj-cs.4031
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Privacy-preserving machine learning with homomorphic encryption for diabetes mellitus detection

Pauline Shan Qing Yeoh, Lik Voon Kiew, Jeannie Ng, Khin Wee Lai et al.
PeerJ Computer Science
Artificial Intelligence in Healthcare
article

Privacy-preserving machine learning with homomorphic encryption for diabetes mellitus detection

Pauline Shan Qing Yeoh, Lik Voon Kiew, Jeannie Ng, Khin Wee Lai, Lee‐Ling Lim, X-D Wu, Tengku Ain Kamalden, Nien Shoon Teng
article en

Abstract

Diabetes mellitus (DM) is a chronic metabolic disorder with severe complications, including blindness, lower limb amputation, and cardiovascular diseases, and its global prevalence continues to rise. While machine learning (ML) has shown strong potential for improving disease prediction, the use of sensitive medical data raises significant privacy concerns. The core problem is that modern cryptographic or decentralized privacy solutions often introduce prohibitive computational overhead, hindering routine clinical deployment. To address this, the objective of this study is to propose a privacy-preserving ML framework for Type 2 diabetes risk prediction by integrating multiple ML models with homomorphic encryption (HE). Using the PIMA Indian Diabetes (PID) dataset, nine ML models and a stacking ensemble were developed and optimized under a unified evaluation framework. The stacking ensemble achieved the best performance (accuracy: 0.84, F1-score: 0.87, recall: 0.96, and precision: 0.79). HE was incorporated to protect data during transmission and storage without modifying the model training process. The results demonstrate that the encryption-decryption workflow does not affect predictive performance while ensuring data confidentiality. Overall, this study highlights the feasibility of combining ML with cryptographic techniques for privacy-aware medical prediction.

PeerJ Computer ScienceVol. 12
University Malaya Medical Centre (MY), National Yang Ming Chiao Tung University (TW), Xuzhou Medical College (CN), Chinese University of Hong Kong (HK), University of Malaya (MY), Asia Diabetes Foundation (CN)
Good health and well-being
Openalex Percentile: Top 3%
Artificial Intelligence in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Privacy-preserving machine learning with homomorphic encryption for diabetes mellitus detection — Pauline Shan Qing Yeoh, Lik Voon Kiew, et al. · PeerJ Computer Science (2026) | TGRS Research Map | TGRS