Submitted:
25 December 2025
Posted:
02 January 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
- We propose a per-user modelling approach using sliding temporal windows to construct stable, intra-individual behavioural baselines.
- We provide a comparative analysis of three modelling strategies, Isolation Forest, Convolutional Neural Networks, and Long Short-Term Memory networks to determine which architecture best captures the "memory" of human behaviour under real-world conditions.
- We introduce a late-fusion approach that integrates drift signals from disparate modalities (activity, sleep, and communication) to produce interpretable alerts, demonstrating that while these signals are weakly correlated, they are highly complementary.
2. Related Work
3. Proposed Methodology
3.1. Problem Formulation
3.2. Dataset Description
3.3. Data Processing Pipelines
3.3.1. Physical Activity Pipeline
3.3.2. Sleep Hygiene Pipeline
3.3.3. Communication and Social Pipeline
3.4. Machine Learning Architectures and Fusion Strategy
3.4.1. Baseline Modeling: Isolation Forest
3.4.2. Deep Sequence Architectures
3.4.3. Multimodal Fusion Strategy
4. Experiments and Results
4.1. Experimemnt I: Exploratory Data Analysis and Feature Selection
4.2. Experiment II: Temporal Sensitivity Analysis
4.2.1. Dynamic Standardisation and Composite Scoring
4.2.2. Drift-Streak Identification and Window Impact
4.3. Experiment III: Multimodal Fusion and Model Performance Analysis
4.3.1. Multimodal Late Fusion and Complementarity
5. Discussion
5.1. Personalised Baselines and Temporal Sensitivity
5.2. The Value of Sequential Memory in Deep Modeling
5.3. Modality Independence and the Rationale for Max-Fusion
5.4. Contextualising Performance in Real-World Deployment
5.5. Limitations
6. Conclusion
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Mendes, J.P., Moura, I.R., Van de Ven, P., Viana, D., Silva, F.J., Coutinho, L.R., Teixeira, S., Rodrigues, J.J. and Teles, A.S. Sensing apps and public data sets for digital phenotyping of mental health: systematic review. Journal of medical Internet research, 24(2), 2022, p.e28735.
- Montag, C. and Baumeister, H., 2023. Digital phenotyping and mobile sensing. In Digital Phenotyping and Mobile Sensing. 2nd ed. Springer International Publishing Cham, Switzerland, 2023,.
- Insel, T.R. Digital phenotyping: Technology for a new science of behavior. JAMA 2017, 318, 1215–1216.
- Statista. Smartphone penetration rate in the United Kingdom (UK). Available online: https://www.statista.com (accessed 2023).
- Wang, J.; Chen, Y.; Hao, S.; Peng, X.; Hu, L. Deep learning for sensor-based activity recognition: A survey. Pattern Recognit. Lett. 2019, 119, 3–11.
- Zeng, M.; Nguyen, L.T.; Yu, B.; Mengshoel, O.J.; Zhu, J.; Wu, P.; Zhang, J. Convolutional neural networks for human activity recognition using mobile sensors. In Proceedings of the 6th International Conference on Mobile Computing, Applications and Services; IEEE: Austin, TX, USA, 2014; pp. 197–205.
- World Health Organization. Depression and other common mental disorders: Global health estimates. WHO: Geneva, Switzerland, 2023.
- Office for National Statistics. Cost of living and depression in adults, Great Britain. Available online: https://www.ons.gov.uk (accessed 2022).
- Lara, O.D.; Labrador, M.A. A survey on human activity recognition using wearable sensors. IEEE Commun. Surv. Tutor. 2012, 15, 1192–1209.
- Kwapisz, J.R.; Weiss, G.M.; Moore, S.A. Activity recognition using cell phone accelerometers. ACM SIGKDD Explor. Newsl. 2011, 12, 74–82.
- Reiss, A.; Stricker, D. Introducing a new benchmarked dataset for activity monitoring. In Proceedings of the IEEE International Symposium on Wearable Computers; IEEE: Newcastle, UK, 2012; pp. 108–109.
- Mohr, D.C.; Zhang, M.; Schueller, S.M. Personal sensing: Understanding mental health using ubiquitous sensors. Annu. Rev. Clin. Psychol. 2017, 13, 23–47.
- Hammerla, N.Y.; Halloran, S.; Plötz, T. Deep, convolutional, and recurrent models for human activity recognition. arXiv 2016, arXiv:1604.08880.
- Murad, A.; Pyun, J.Y. Deep recurrent neural networks for human activity recognition. Sensors 2017, 17, 2556.
- Guan, Y.; Plötz, T. Ensembles of deep LSTM learners for activity recognition using wearables. Proc. ACM IMWUT 2017, 1, 1–28.
- Ihianle, I.K., Nwajana, A.O., Ebenuwa, S.H., Otuka, R.I., Owa, K. and Orisatoki, M.O., A deep learning approach for human activities recognition from multimodal sensing devices. Ieee Access, 8, 2020; pp.179028-179038.
- Ignatov, A. Real-time human activity recognition from accelerometer data using convolutional neural networks. Appl. Soft Comput. 2018, 62, 915–922.
- Greff, K.; Srivastava, R.K.; Koutník, J.; Steunebrink, B.R.; Schmidhuber, J. LSTM: A search space odyssey. IEEE Trans. Neural Netw. Learn. Syst. 2016, 28, 2222–2232.
- Ferrara, E. Large language models for wearable sensor-based human activity recognition and health monitoring. Sensors 2024, 24, 5045.
- Deng, S.; Hua, W.; Wang, B.; Wang, G.; Zhou, X. Few-shot human activity recognition on noisy wearable sensor data. In Proceedings of the International Conference on Database Systems for Advanced Applications; Springer: Cham, Switzerland, 2020; pp. 54–72.
- Kheirkhahan, M.; Mehta, S.; Nath, M.; Wanigatunga, A.A.; Corbett, D.B.; Manini, T.M.; Ranka, S. A bag-of-words approach for assessing activities of daily living using wrist accelerometer data. In Proceedings of the IEEE International Conference on Bioinformatics and Biomedicine (BIBM); IEEE: Kansas City, MO, USA, 2017; pp. 678–685.
- Ihianle, I.K., Naeem, U. and Tawil, A.R., Recognition of activities of daily living from topic model. Procedia Computer Science, 2016; 98, pp.24-31.
- Zheng, J.; Papapanagiotou, P.; Fleuriot, J.D.; Hillston, J. Process-aware human activity recognition. arXiv 2024, arXiv:2411.08814.
- Winter, M.; Langguth, B.; Schlee, W.; Pryss, R. Process mining in mHealth data analysis. NPJ Digit. Med. 2024, 7, 299.
- Prenkaj, B.; Velardi, P. Unsupervised detection of behavioural drifts with dynamic clustering and trajectory analysis. IEEE Trans. Knowl. Data Eng. 2023, 36, 2257–2270.
- Sprint, G.; Cook, D.J.; Schmitter-Edgecombe, M. Unsupervised detection of changes in everyday physical activity. J. Biomed. Inform. 2016, 63, 54–65.
- Dawadi, P.N.; Cook, D.J.; Schmitter-Edgecombe, M. Modeling patterns of activities using activity curves. Pervasive Mob. Comput. 2016, 28, 51–68.
- Diaz, C.; Caillaud, C.; Yacef, K. Unsupervised early detection of physical activity behaviour changes. Sensors 2022, 22, 8255.
- Barnett, I.; Torous, J.; Staples, P.; Sandoval, L.; Keshavan, M.; Onnela, J.-P. Relapse prediction in schizophrenia through digital phenotyping. Neuropsychopharmacology 2018, 43, 1660–1666.
- Berrouiguet, S.; Perez-Rodriguez, M.M.; Larsen, M.; Baca-García, E.; Courtet, P.; Oquendo, M. From eHealth to iHealth: Transition to participatory and personalized medicine in mental health. J. Med. Internet Res. 2018, 20, e2.
- Saeb, S.; Zhang, M.; Karr, C.J.; Schueller, S.M.; Corden, M.E.; Kording, K.P.; Mohr, D.C. Mobile phone sensor correlates of depressive symptom severity in daily-life behavior: An exploratory study. J. Med. Internet Res. 2015, 17, e4273.
- Chen, S.; Sun, X. Validating CircaCP: A generic sleep–wake cycle detection algorithm for unlabelled actigraphy data. R. Soc. Open Sci. 2024, 11, 231468.
- Minaeva, O.; Riese, H.; Booij, S.H.; Lamers, F.; Giltay, E.J.; Scheer, F.A.J.L.; Hu, K. Fractal motor activity during wakefulness and sleep: A window into depression recency and symptom recurrence. Psychol. Med. 2024, 54, 4429–4437.
- Abdullah, S.; Matthews, M.; Frank, E.; Doherty, G.; Gay, G.; Choudhury, T. Automatic detection of social rhythms in bipolar disorder. J. Am. Med. Inform. Assoc. 2016, 23, 538–543.
- Harari, G.M.; Lane, N.D.; Wang, R.; Crosier, B.S.; Campbell, A.T.; Gosling, S.D. Using smartphones to collect behavioral data in psychological science: Opportunities, practical considerations, and challenges. Perspect. Psychol. Sci. 2016, 11, 838–854.
- Shannon, C.E. A mathematical theory of communication. Bell Syst. Tech. J. 1948, 27, 379–423.
- Eagle, N.; Pentland, A.; Lazer, D. Inferring friendship network structure by using mobile phone data. Proc. Natl. Acad. Sci. USA 2009, 106, 15274–15278.
- Blair, D.S.; Miller, R.L.; Calhoun, V.D. A dynamic entropy approach reveals reduced functional network connectivity trajectory complexity in schizophrenia. Entropy 2024, 26, 545.
- Vaizman, Y.; Weibel, N.; Lanckriet, G. Context recognition in-the-wild: unified model for multi-modal sensors and multi-label classification. Proc. ACM Interact. Mob. Wearable Ubiquitous Technol. 2018, 1, 122.
- Khoo, L.S.; Lim, M.K.; Chong, C.Y.; McNaney, R. Machine learning for multimodal mental health detection: A systematic review of passive sensing approaches. Sensors 2024, 24, 348.
- Vos, G.; Trinh, K.; Sarnyai, Z.; Azghadi, M.R. Generalizable machine learning for stress monitoring from wearable devices: A systematic literature review. Int. J. Med. Inform. 2023, 173, 105026.
- Shen, S.; Qi, W.; Zeng, J.; Li, S.; Liu, X.; Zhu, X.; Dong, C.; Wang, B.; Shi, Y.; Yao, J.; Wang, B. Passive sensing for mental health monitoring using machine learning with wearables and smartphones: A scoping review. J. Med. Internet Res. 2025, 27, e77066.
- Yu, L.; Ge, Y.; Ansari, S.; Imran, M.; Ahmad, W. Multimodal sensing-enabled large language models for automated emotional regulation: A review of current technologies, opportunities, and challenges. Sensors 2025, 25, 4763.
- University of Notre Dame. NetHealth Study Dataset and Documentation, 2015–2019. Available online: https://sites.nd.edu/nethealth/ (accessed on 10 January 2025).
- Faust, L.; Purta, R.; Hachen, D.; Striegel, A.; Poellabauer, C.; Lizardo, O.; Chawla, N.V. Exploring compliance: Observations from a large-scale Fitbit study. In Proceedings of the 2nd International Workshop on Social Sensing; ACM: Pittsburgh, PA, USA, 2017; pp. 55–60.
- Migueles, J.H.; Cadenas-Sanchez, C.; Ekelund, U.; Delisle Nyström, C.; Mora-Gonzalez, J.; Löf, M.; Labayen, I.; Ruiz, J.R.; Ortega, F.B. Accelerometer data collection and processing criteria to assess physical activity and other outcomes: A systematic review and practical considerations. Sports Med. 2017, 47, 1821–1845.
- Case, M.A.; Burwick, H.A.; Volpp, K.G.; Patel, M.S. Accuracy of smartphone applications and wearable devices for tracking physical activity data. JAMA 2015, 313, 625–626.
- Wang, C.; Lizardo, O.; Hachen, D.S. Using Fitbit data to examine factors that affect daily activity levels of college students. PLoS One 2021, 16, e0244747.
- Currey, S.; Doherty, K.; Doherty, G. Missing data in digital phenotyping: A review of reporting and handling methods. J. Am. Med. Inform. Assoc. 2023, 30, 1486–1496.
- Alzahrani, H. Dose–response association between physical activity and health-related quality of life in the general population. Healthcare 2022, 10, 1460.
- Wang, R.; Chen, F.; Chen, Z.; Li, T.; Harari, G.; Tignor, S.; Zhou, X.; Ben-Zeev, D.; Campbell, A.T. StudentLife: Assessing mental health, academic performance and behavioral trends of college students using smartphones. In Proceedings of the ACM International Joint Conference on Pervasive and Ubiquitous Computing; ACM: Seattle, WA, USA, 2014; pp. 3–14.
- Liu, F.T.; Ting, K.M.; Zhou, Z.-H. Isolation forest. In Proceedings of the IEEE International Conference on Data Mining; IEEE: Pisa, Italy, 2008; pp. 413–422.
- Tabassum, M.; Mahmood, S.; Bukhari, A.; Alshemaimri, B.; Daud, A.; Khalique, F. Anomaly-based threat detection in smart health using machine learning. BMC Med. Inform. Decis. Mak. 2024, 24, 347.










| Approach | Window size | Preprocessing | Reference |
|---|---|---|---|
| U-BEHAVED | 3-day rolling baseline (configurable) | Aggregate steps/hour; compute rolling mean and IQR; flag consecutive outliers | [28] |
| DynAmo | Configurable length | Dynamic clustering to capture trends | [25] |
| PCAR | Multi-month windows | HAR aggregation into daily activity curves | [27] |
| PCAR | ≤ 7 days | KL-divergence on day-level step summaries with smoothing to avoid zeros | [26] |
| eB2 feasibility study (GPS) | > 1 month | Clustering of daily profiles; change point detection on profile probabilities | [30] |
| Daily multivariate anomaly detection | Daily features over months; analysis focuses on two weeks pre-relapse | Daily mobility and sociability features; anomaly detection on multivariate daily vectors | [29] |
| Longitudinal Retention | Timeline | Participants (n) |
|---|---|---|
| Year 1 | 2015–2016 | 698 |
| Year 2 | 2016–2017 | 686 |
| Year 3 | 2017–2018 | ∼435 |
| Year 4 | 2018–2019 | ∼320 |
| Modality | Window (days) | Episodes detected | Drift days flagged / Valid days |
|---|---|---|---|
| Activity | 7 | 225 | 54,936 / 274,679 |
| 14 | 234 | 54,936 / 274,679 | |
| 21 | 221 | 54,936 / 274,679 | |
| 28 | 215 | 54,936 / 274,679 | |
| Sleep | 7 | 232 | 59,472 / 297,357 |
| 14 | 222 | 59,472 / 297,357 | |
| 21 | 226 | 59,472 / 297,357 | |
| 28 | 241 | 59,472 / 297,357 | |
| Communication | 7 | 367 | 92,480 / 471,110 |
| 14 | 363 | 92,832 / 471,110 | |
| 21 | 364 | 93,000 / 471,110 | |
| 28 | 357 | 93,116 / 471,110 |
| Modality | Accuracy | Precision | Recall | ROC–AUC | PR–AUC |
|---|---|---|---|---|---|
| Activity | 0.829 | 0.614 | 0.476 | 0.789 | 0.561 |
| Sleep | 0.932 | 0.878 | 0.783 | 0.981 | 0.926 |
| Communication | 0.828 | 0.514 | 0.515 | 0.770 | 0.495 |
| Modality | Model | Accuracy | Precision | Recall | ROC–AUC | PR–AUC |
|---|---|---|---|---|---|---|
| Activity | CNN | 0.814 | 0.535 | 0.726 | 0.857 | 0.690 |
| LSTM | 0.806 | 0.520 | 0.759 | 0.867 | 0.703 | |
| Sleep | CNN | 0.852 | 0.610 | 0.772 | 0.896 | 0.797 |
| LSTM | 0.868 | 0.655 | 0.753 | 0.915 | 0.813 | |
| Communication | CNN | 0.755 | 0.435 | 0.753 | 0.831 | 0.578 |
| LSTM | 0.771 | 0.457 | 0.747 | 0.844 | 0.606 |
| Metric | Accuracy | Precision | Recall | ROC–AUC | PR–AUC |
|---|---|---|---|---|---|
| Value | 0.700 | 0.630 | 0.871 | 0.831 | 0.836 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).