Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR mHealth and uHealth

Date Submitted: Jul 8, 2025
Date Accepted: Nov 14, 2025

The final, peer-reviewed published version of this preprint can be found here:

Exploring Age-Related Patterns in Smartphone Keystroke Dynamics Considering Temporal Variability: Cross-Sectional Study With AI-Based Analysis

Moon J, Huh YL, Cho HY, Kim C, Lee H, Jang DP, Cho BH

Exploring Age-Related Patterns in Smartphone Keystroke Dynamics Considering Temporal Variability: Cross-Sectional Study With AI-Based Analysis

JMIR Mhealth Uhealth 2025;13:e80094

DOI: 10.2196/80094

PMID: 41329951

PMCID: 12709153

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

Exploring Age-Related Patterns in Mobile Keystroke Dynamics Considering Temporal Variability: AI-Based Analysis

  • Junhyung Moon; 
  • Yu Lim Huh; 
  • Hee Young Cho; 
  • Chaeyeon Kim; 
  • Hyeongrae Lee; 
  • Dong Pyo Jang; 
  • Baek Hwan Cho

ABSTRACT

Background:

Keystroke dynamics on smartphones have emerged as a promising form of passive digital biomarker. While prior studies have explored their utility in several diseases and disorders, relatively few have examined how these dynamics change systematically with chronological age in the general population.

Objective:

This study aims to investigate age-related patterns in mobile keystroke dynamics, with a particular focus on temporal variations throughout the day. By identifying behavioral signatures associated with different age groups, we further assess whether AI-based models can accurately estimate chronological age using passively collected keystroke data.

Methods:

We collected smartphone typing data from 177 healthy adults, aged 19–58, over an average of 25 weeks using a custom Android keyboard app. From these data, we extracted 43 keystroke features across categories of typing speed, frequency, and temporal variability. Weekly feature vectors were constructed at multiple temporal resolutions, such as weekly, daily, and 6-hourly medians, and eight AI models were trained to estimate age. A custom loss function was designed to penalize large intra-subject prediction deviations, and feature importance was quantitatively analyzed.

Results:

Descriptive analyses revealed clear age-related differences in typing patterns, with younger participants showing faster and more frequent typing. The LSTM model using 6-hourly-median features achieved the best age estimation performance (MAE 3.69 years, R² 0.71). When the customized loss function was applied, the model’s performance further improved to an MAE of 3.60, with intra-subject variability in estimated ages reduced by 7.8%. Notably, feature importance analysis suggested that the early morning and late evening periods may carry more age-discriminative keystroke patterns.

Conclusions:

Our findings demonstrated that smartphone keystroke dynamics reflect age-sensitive behavioral patterns, particularly when analyzed with fine-grained temporal resolution. While the primary goal was not age estimation per se, the ability to model these patterns highlights the potential of keystroke dynamics as a passive, unobtrusive behavioral marker for age-related functional characteristics. These insights may inform future applications in digital health, such as age-sensitive personalization or early detection of age-related decline without requiring any active user input.


 Citation

Please cite as:

Moon J, Huh YL, Cho HY, Kim C, Lee H, Jang DP, Cho BH

Exploring Age-Related Patterns in Smartphone Keystroke Dynamics Considering Temporal Variability: Cross-Sectional Study With AI-Based Analysis

JMIR Mhealth Uhealth 2025;13:e80094

DOI: 10.2196/80094

PMID: 41329951

PMCID: 12709153

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.