Research Article Open Access

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 and Abdul Kadar Muhammad Masum5
  • 1 Department of Computer Science and Engineering, International Islamic University Chittagong Kumira, Chattogram-4318, Bangladesh
  • 2 Hiperdyne, Tsubosaka Bldg. 3F, 5-9-12 Shiba, Minato-ku, Tokyo 108-0014, Japan
  • 3 Department of Management Information System, International American University, Los Angeles, United States
  • 4 Department of Engineering Management, Westcliff University, Irvine, United States
  • 5 Department of Computer Science and Engineering, Southeast University, Dhaka-1208, Bangladesh

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.

Journal of Computer Science
Volume 21 No. 10, 2025, 2450-2468

DOI: https://doi.org/10.3844/jcssp.2025.2450.2468

Submitted On: 4 November 2024 Published On: 15 December 2025

How to Cite: 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

  • 68 Views
  • 15 Downloads
  • 0 Citations

Download

Keywords

  • Human Activity Recognition
  • Deep Learning
  • Diabetes Risk Assessment
  • Graph Convolutional Networks
  • Long Short-Term Memory Networks
  • Smartphone Sensors
  • Generative Adversarial Networks
  • Health Monitoring