Ursul I. Development of machine learning methods based on the Transformer model for human fall detection.

Українська версія

Thesis for the degree of Doctor of Philosophy (PhD)

State registration number

0826U004207

Applicant for

Specialization

  • 122 - Комп’ютерні науки

03-08-2026

Specialized Academic Board

PhD 14804

Ivan Franko National University of Lviv

Essay

The dissertation is devoted to the development and study of machine learning methods based on the Transformer model for human fall detection using inertial measurement unit (IMU) sensor data and video. Falls are a leading cause of injury, hospitalisation and mortality among older adults, and a significant concern in occupational safety and smart environments. Existing fall-detection systems built on threshold algorithms and on convolutional and recurrent neural networks achieve high accuracy on individual datasets but suffer from high false-alarm rates, poor generalisation to previously unseen subjects, a need for large volumes of labelled data, privacy concerns in video-based approaches, and high computational cost that hinders real-time deployment on resource-constrained devices. The Transformer architecture, through its self-attention mechanism, models the long-range dependencies that are important for detecting short but contextually complex events such as falls. The aim of the work is to improve the robustness, privacy and generalisation of fall-detection systems by developing a family of Transformer-based models, a balanced dataset, and real-time deployment strategies. The object of study is the process of automated human fall detection from inertial sensor data and video; the subject is machine learning methods and models based on the Transformer architecture for fall detection, in particular subject-independent and unsupervised detection, accounting for privacy and hardware constraints. The work employs methods of machine and deep learning, digital signal and time-series processing, computer vision, probability theory and mathematical statistics, extreme value theory (EVT), and standard evaluation protocols (Leave-One-Subject-Out, ROC/PR analysis). A balanced multimodal dataset of 8,953 labelled samples (2,791 falls and 6,162 activities of daily living) from 29 participants was collected, and it is shown that adding barometric data to accelerometer data improves classification accuracy. A privacy-preserving video-based system based on EfficientNet for spatial feature extraction and LSTM for temporal modelling with a dynamic blurring module is proposed, anonymising the person without a substantial loss of detection accuracy. A comparative benchmark of seven Transformer architectures (Informer, Performer, Linformer, Temporal Convolutional Transformer and others) under unified conditions is provided, where the best models reach recall close to 100%. A Transformer model is deployed in real time on a System-on-Chip (Raspberry Pi Zero 2 W) with about 34 ms inference latency and an integrated cybersecurity layer (AES-256 encryption, blockchain). A Vision Transformer with spatio-temporal self-attention is applied for robust video analysis, while attention maps provide interpretability. A subject-independent unsupervised fall-detection method based on a masked Transformer and a combined energy-reconstruction scoring function with extreme-value-theory thresholding is developed; trained solely on activities of daily living, it reaches a ROC-AUC of 0.985, a PR-AUC of 0.955 and 95.8% event-level sensitivity under a leave-one-subject-out protocol. The scientific novelty is that, for the first time, a subject-independent unsupervised fall-detection method based on a masked Transformer and a combined energy-reconstruction scoring function with extreme-value-theory thresholding has been developed, which requires no labelled fall examples; and, for the first time, a comparative benchmarking methodology for Transformer architectures for accelerometer-based fall detection under unified experimental conditions has been proposed. An architectural solution for real-time fall detection on a System-on-Chip with cybersecurity mechanisms, and a Vision Transformer based approach to video fall detection, have been improved. Privacy-preserving video analysis methods based on EfficientNet and LSTM, and approaches to building balanced multimodal datasets, have been further developed. The practical significance is that the proposed methods can be applied in elderly monitoring systems, healthcare, occupational safety, smart homes, wearable devices and privacy-preserving video surveillance. The collected dataset and open source code ensure reproducibility of the results. The practical value is confirmed by a Ukrainian utility model patent for a device for fall detection and automatic notification of relatives. Keywords: fall detection, Transformer model, machine learning, deep learning, time series, IMU, Vision Transformer, computer vision, unsupervised learning, anomaly detection, subject-independent detection, privacy preservation, edge computing, embedded systems.

Research papers

1. Ursul, I. (2025). Benchmarking of Transformer-Based Architectures for Fall Detection: A Comparative Study. Technology Audit and Production Reserves, 3(2(83)), 62–70. (Scopus, WoS) https://doi.org/10.15587/2706-5448.2025.329398

2. Ursul, I. (2023). A Systematic Review of Unsupervised Anomaly Detection for Early Disease Identification in Electronic Health Records. Вісник Львівського університету. Серія прикладна математика та інформатика, 33, 111–123. https://doi.org/10.30970/vam.2024.33.11975

3. Ursul, I. (2024). Elderly Fall Detection Using Unsupervised Transformer Model. Electronics and Information Technologies, 26, 44–51. https://publications.lnu.edu.ua/collections/index.php/electronics/article/view/4448 http://dx.doi.org/10.30970/eli.26.7

4. Ursul, I., Pereimybida, A. (2026). Vision Transformer Based Fall Detection: A Spatial Temporal Attention Mechanism for Robust Video Analysis. Electronics and Information Technologies, 33, 165–180. https://publications.lnu.edu.ua/collections/index.php/electronics/article/view/5193 http://dx.doi.org/10.30970/eli.33.12

5. Ursul, I. (2025). Real-Time Fall Detection with Transformers on a Customized System on Chip for High-Speed Efficiency. Lecture Notes in Networks and Systems. Proceedings of ICICT 2025, Volume 3, 451–470. https://doi.org/10.1007/978-981-96-6929-5_37 ISSN: 2367-3370 (print), 2367-3389 (electronic)

6. Ursul, I. (2025). Subject-Independent Unsupervised Fall Detection via Masked Transformers and Energy–Reconstruction Scoring. Вісник Львівського університету. Серія прикладна математика та інформатика. DOI: http://dx.doi.org/10.30970/vam.2026.36.14045 https://publications.lnu.edu.ua/bulletins/index.php/ami/article/view/14045

7. Ursul, I. (2025). A Balanced Big Dataset for Sensor-Based Fall Detection: Enhancing Model Accuracy and Robustness. International Journal of Computing, 24(2), 407–419. (Scopus) https://doi.org/10.47839/ijc.24.2.4025 ISSN: 1727-6209 (print), 2312-5381 (electronic)

8. Ursul, I., Pereimybida A. (2024). Evaluating Transformer-Based Architectures for Fall Detection Using Accelerometer Sensor Data. Proceedings of the IEEE 5th International Conference on Advanced Trends in Information Theory (ATIT 2024), 1–6.

9. Ursul, I., Pereimybida A. (2023). Unsupervised Detection of Anomalous Running Patterns Using Cluster Analysis. Proceedings of the International Scientific and Practical Conference on Electronics and Information Technologies (ELIT 2023), 1–6. https://doi.org/10.1109/ELIT61488.2023.10310751

10. Ursul, I., Muzamal J.H. (2024). A Dynamic Blurring Approach with EfficientNet and LSTM to Enhance Privacy in Video-Based Elderly Fall Detection. CEUR Workshop Proceedings (CMIS 2024), 3702, 199–210. ISSN: 1613-0073

11. Урсул І. З. Пристрій для виявлення падіння та автоматичного сповіщення рідних: патент України на корисну модель № 161466 / І. З. Урсул. — № u202500331; заявл. 27.01.2025; опубл. 10.12.2025, Бюл. № 50.

Files

Similar theses