Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 15 December 2025

Deep Sense: Deep Learning for Early Staging the Onset of Diabetes Emanating Recognition of Activity Patterns

Mohammed Shamsul Alam1, Erfanul Hoque Bahadur2, Md Fokrul Islam Khan3, Farhad Uddin Mahmud3, Md Ismail Hossain Siddiqui4 & Abdul Kadar Muhammad Masum5

Journal of Computer Science, Volume 21, Issue 10, pp. 2450–2468 · doi.org/10.3844/jcssp.2025.2450.2468

2,268 accesses1,127 downloads1 citations (Crossref)Metrics
Cite Check for updates

Abstract

This study presents a comprehensive framework for Human Activity Recognition (HAR) using smartphone sensor data, with a specific focus on identifying activities associated with diabetic risk factors. We investigate the efficacy of two deep learning architectures (Long Short-Term Memory (LSTM) networks and Graph Convolutional Networks (GCNs)) for activity recognition under conditions of limited training data. To address data scarcity, we employ Generative Adversarial Networks (GANs) to augment the training dataset with synthetically generated sensor data, enhancing model robustness beyond what is achievable with real sensor data alone. Continuous accelerometer and gyroscope data spanning daily activities were collected from experimental subjects over a 60-day period. This dataset was used to train and evaluate both LSTM and GCN models, with results demonstrating that the GCN architecture achieves superior performance in recognizing diabetes-related activities such as sedentary behavior, physical inactivity, and irregular meal patterns. Furthermore, we propose a novel risk quantification method that estimates diabetes risk by analyzing the duration and frequency of engagement in diabetes-related activities. We employ cosine similarity to measure the correspondence between activity patterns of diagnosed diabetic patients and experimental subjects, yielding a quantitative risk score. To validate the proposed framework, we conducted clinical HbA1c (A1C) assays on experimental subjects. One subject exhibited an A1C level of 6.1%, corresponding to a prediabetes diagnosis, which corroborated the high-risk classification predicted by our framework. These results demonstrate that the proposed HAR-based approach can accurately assess diabetes risk and classify individuals according to clinically validated diagnostic criteria, offering potential applications in continuous health monitoring and early intervention strategies.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Alam, M. S., Bahadur, E. H., Islam Khan, M. F., Mahmud, F. U., Siddiqui, M. I. H. & Masum, A. K. M. (2025). Deep Sense: Deep Learning for Early Staging the Onset of Diabetes Emanating Recognition of Activity Patterns. Journal of Computer Science, 21(10), 2450–2468. https://doi.org/10.3844/jcssp.2025.2450.2468

Licence
CC BY 4.0
Issue
Volume 21, Issue 10
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
Deep Sense: Deep Learning for Early Staging the Onset of Diabetes Emanating Recognition of Activity PatternsJournal of Computer Science · Volume 21, Issue 10 · pp. 2450–2468 · CC BY 4.0Download