Report
Report
A PROJECT REPORT ON
CERTIFICATE
This is certify that the project entitled
Date: 09/04/2025
Acknowledgements
We are profoundly grateful to PROF. ANKIT RAJ for his expert guidance
and continuous encouragement throughout to see that this project meets its
target since its commencement to its completion.
MICHAEL CHILSHE
MICHAEL SENKAO
KHUSHI KUMARI
DIVYARANJAN SAHOO
MEGHANJALI SAHA
4
ABSTRACT
.
5
Contents
1 Introduction 1
2 Basic Concepts/ Literature Review 2
2.1 General Overview 2
2.2 Terminologies 3
3 Materials and Methods 5
3.1 Datasets 5
3.2 IQR Based Detection 6
3.3 Z-score Detection 8
3.4 OC-SVM 9
3.5 CNN with Self Attention 12
3.6 LSTM GMM 18
4 Results and Discussion 21
4.1 Model Comparison 21
4.2 Performance Metrics 21
4.3 Approach wise strengths and limitations 22
5 Future Scope and Conclusion 23
5.1 Publication of Review Paper 23
5.2 Integration with app 23
6 Conclusion 23
References 24
Individual Contribution 25
Plagiarism Report 28
1
1. Introduction
Falls represent a critical challenge in global healthcare, particularly among older
adults, where they account for over 37 million medically treated cases annually,
according to the World Health Organization (WHO). The consequences of falls
include physical injuries, psychological trauma, and increased healthcare costs.
Despite advancements in wearable sensor technology and machine learning,
existing fall detection systems face significant limitations. Threshold-based
statistical methods such as IQR and Z-score often fail to adapt to individual
movement patterns, resulting in high false positive rates during normal activities
like walking or turning. Traditional machine learning models like One-Class
SVM improve robustness but lack temporal awareness and struggle with
imbalanced datasets where fall events are rare compared to daily activities.
The study evaluates five distinct approaches—two statistical (IQR, Z-score), one
machine learning (One-Class SVM), and two hybrid deep learning models
(CNN-SA, LSTM-GMM)—on two benchmark datasets: MobiFall, which
simulates real-world scenarios, and UCI HAR, which provides controlled
activity recognition data. The results demonstrate that hybrid models
significantly outperform traditional methods in terms of accuracy (up to 93.2%),
precision, recall, and false positive reduction (64% improvement). This work
bridges the gap between theoretical anomaly detection frameworks and practical
healthcare applications by proposing a comprehensive evaluation framework for
fall detection systems.
2
Benchmark datasets like MobiAct (real-world falls) and UCI HAR (controlled
activities) validate these methods. MobiAct includes diverse fall types (forward,
lateral) and daily activities (walking, jumping), while UCI HAR offers triaxial
inertial signals from 30 subjects. Hybrid models outperform traditional methods
by addressing limitations like threshold sensitivity and temporal blindness, as
evidenced by the LSTM-GMM achieving 93.2% accuracy on UCI HAR.
3
2.2. Terminologies
1. Anomaly/Outlier: A data point deviating significantly from normal patterns. In
fall detection, falls are treated as rare anomalies within daily activities. Statistical
thresholds (e.g., IQR) or machine learning models (e.g., GMM) flag these
events.
2. Windowing: Segmenting continuous sensor data into fixed intervals (e.g., 128
samples). Enables analysis of short-duration activities.
4. IQR (Interquartile Range): A statistical measure of spread between the 25th
(Q1) and 75th (Q3) percentiles: 𝐼𝑄𝑅 = 𝑄3 − 𝑄1
Outliers lie outside [𝑄1 − 1. 5×𝐼𝑄𝑅] , [ 𝑄3 + 1. 5×𝐼𝑄𝑅]
5. Z-score: Standardizes data by measuring deviations from the mean (μ) in
standard deviation (σ) units:
𝑋−μ
𝑍= σ
Values beyond |3| indicate anomalies.
12. UCI HAR Dataset: Includes labeled triaxial inertial signals from 30 subjects
performing 6 activities (walking, sitting) in controlled settings.
16. ROC Curve: Plots true positive rate (TPR) vs. false positive rate (FPR) to
evaluate classification performance.
17. Hybrid Models: Combine strengths (e.g., LSTM for time-series, GMM for
probabilistic thresholds) to outperform unimodal approaches.
19. Data Imbalance: Falls are rare; OC-SVM mitigates this by focusing on
"normal" patterns.
5
Key Characteristics:
Feature Details
Subjects 30 volunteers (19–48 years)
Sensor Specifications:
● Accelerometer: Measures total - ADXL345 + MMA8451Q (3-axis each)
for measuring total linear acceleration (body+gravity) in g units (9.81m/s²).
● Gyroscope: ITG3200 (3-axis) for measuring rotational movements angular
velocity in radians/second.
Key Characteristics:
Feature Details
Subjects 24 participants (22–47 years; 15 male, 9 female)
9 ADLs: Standing, Walking, Jogging, Jumping, Stairs
Up/Down, Sitting, Car-Step In/Out
Activities
4 Fall Types: Forward-lying, Front-knees-lying,
Back-sitting-chair, Sideward-lying
Samsung Galaxy S3 (triaxial accelerometer ±8g, triaxial
Sensors
gyroscope ±2000°/s, orientation)
Sampling Rate 256 Hz (raw), stored as time stamped text files
Trials 3 trials per fall, 1–6 trials per ADL
Raw sensor readings per axis:
- Accelerometer: timestamp (ns), x, y, z (m/s²)
Data Format
- Gyroscope: timestamp (ns), x, y, z (rad/s)
- Orientation: timestamp (ns), azimuth, pitch, roll (degrees)
Subject Demographics:
Subject ID Age Height (cm) Weight (kg) Gender
1–24 22–47 160–189 50–103 M/F
c. Deriving IQR Bounds from Training Data and Applying to Test Data
Using the training set magnitudes, the first quartile (Q1) and third quartile (Q3)
are computed. The IQR is: 𝐼𝑄𝑅 = 𝑄3 − 𝑄1
The outlier detection thresholds are defined as:
𝐿𝑜𝑤𝑒𝑟 𝐵𝑜𝑢𝑛𝑑 = 𝑄1 − 1. 5 × 𝐼𝑄𝑅
𝑈𝑝𝑝𝑒𝑟 𝐵𝑜𝑢𝑛𝑑 = 𝑄3 + 1. 5 × 𝐼𝑄𝑅
Any test window whose mean magnitude lies outside this range is flagged as an
outlier. Thresholds are computed solely on the training set to avoid test data
leakage.
Despite this, IQR drastically underperformed for the given task, due to the fixed
nature of the thresholds attempting to predict changes that would take place in a
cyclic environment.
● Ground Truth Plot: Displays actual class labels — red for falls and blue for
ADLs.
● Prediction Plot: Shows model predictions — red for detected anomalies (falls),
blue for inliers (normal).
● Classification Report
The classification report provides detailed performance metrics:
Label Precision Recall F1-Score
Fall (1) 0.90 0.67 0.77
Normal (2) 0.47 0.79 0.58
Accuracy 0.70
● Confusion Matrix
The confusion matrix offers a straightforward summary of the model’s predictions:
Q, K, and V are learned projections of the input. Heatmap analysis revealed the
model focuses on:
● Impact phase (2.5–3s window) with 85% attention weight
● Transition periods (e.g., sit-to-stand) with <15% weight
c. Regularized Classification Head
𝐺𝑙𝑜𝑏𝑎𝑙 𝑎𝑣𝑒𝑟𝑎𝑔𝑒 𝑝𝑜𝑜𝑙𝑖𝑛𝑔 → 𝐷𝑒𝑛𝑠𝑒(128) → 𝐷𝑟𝑜𝑝𝑜𝑢𝑡(0. 5) → 𝑆𝑜𝑓𝑡𝑚𝑎𝑥
● Global average pooling reduces temporal dimensions
● Dropout mitigates overfitting
● Final dense layer outputs class probabilities via softmax
d. Architecture Summary
Layer Type Output Shape Parameters
Input (561, 1) 0
Dual Conv1D Streams (280, 128) 896
Multi-Head Attention (280, 128) 131,968
Classification Head (6) 17,286
Total 150,150
13
● Early Stopping: Halted training if validation loss didn't improve for 10 epochs
● Adaptive Learning Rate: Exponential decay (initial lr=1e-3, decay_rate=0.9)
stabilized training
Limitations:
1. Static Activity Confusion: Difficulty distinguishing between sitting and
standing positions, likely due to similar sensor signatures.
2. Dynamic Activity Ambiguity: Some confusion between different types of
ambulatory movement (walking vs. stairs), though less pronounced than static
activity confusion.
15
Misclassification Reduction
t-SNE analysis highlighted key areas of confusion, such as sitting vs. standing
and walking vs. stairs. Architectural refinements based on these insights
significantly reduced misclassifications, improving overall model accuracy.
a. LSTM Component
The LSTM layer forms the backbone of the temporal feature extraction process.
It is structured as follows:
● Input Layer: Accepts the preprocessed sensor data with shape (samples, 1,
561), where 561 represents the number of features from the UCI HAR
dataset.
● LSTM Layer: Contains 128 memory units, capable of learning long-term
dependencies in the motion data.
● Dropout Layer: A dropout rate of 0.2 is applied to prevent overfitting.
● Dense Layer: A fully connected layer with 64 neurons and ReLU
activation for feature transformation.
● Output Layer: A dense layer with 6 neurons (corresponding to the activity
classes) and softmax activation for classification.
The LSTM layer utilizes the following key equations:
1. 𝐹𝑜𝑟𝑔𝑒𝑡 𝐺𝑎𝑡𝑒: 𝑓𝑡 = σ(𝑊𝑓 • [ℎ𝑡−1, 𝑥𝑡] + 𝑏𝑓)
2. 𝐼𝑛𝑝𝑢𝑡 𝐺𝑎𝑡𝑒: 𝑖𝑡 = σ(𝑊𝑖 • [ℎ𝑡−1, 𝑥𝑡] + 𝑏𝑖)
3. 𝐶𝑒𝑙𝑙 𝑆𝑡𝑎𝑡𝑒 𝑈𝑝𝑑𝑎𝑡𝑒: 𝐶𝑡 = 𝑓𝑡 × 𝐶𝑡−1 + 𝑖𝑡 × 𝑡𝑎𝑛ℎ(𝑊𝑐 • [ℎ𝑡−1, 𝑥𝑡] + 𝑏𝐶)
4. 𝑂𝑢𝑡𝑝𝑢𝑡 𝐺𝑎𝑡𝑒: 𝑜𝑡 = σ(𝑊𝑜 • [ℎ𝑡−1, 𝑥𝑡] + 𝑏𝑜)
5. 𝐻𝑖𝑑𝑑𝑒𝑛 𝑆𝑡𝑎𝑡𝑒: ℎ𝑡 = 𝑜𝑡 × 𝑡𝑎𝑛ℎ(𝐶𝑡)
b. GMM Component
The Gaussian Mixture Model is implemented using scikit-learn's
GaussianMixture class. It is configured as follows:
● Number of Components: 6 (matching the number of activity classes)
● Covariance Type: Full (allows each component to have its own general
covariance matrix)
● Random State: 42 (for reproducibility)
The GMM uses the following probability density function:
𝐾
𝑝(𝑥) = ∑ = π𝑘𝑁(𝑥∣µ𝑘, Σ𝑘)
𝑘=1
19
2. Probabilistic
Clustering:
GMM enhances
class separation,
particularly
beneficial for fall
identification.
3. Balanced
Performance:
Strong accuracy
across all activity
classes
(F1-scores>0.89).
21
Struggles with
Kernel-based Handles
imbalanced data
classification non-linear
Machine (fall recall:
SVM (RBF) with MobiFall patterns, better
Learning 64.21%), no
hyperplane FP control
temporal
optimization (15%)
modeling
Moderate
Dual-stream Attention
computational
Conv1D with weights improve
CNN- Hybrid cost
self-attention for UCI HAR interpretability,
SA (DL) (15ms/sample),
spatial-temporal good accuracy
requires GPU
fusion (85.44%)
optimization
Best overall
LSTM for High memory
performance
sequence usage (4.2GB
LSTM- Hybrid (93.2%
modeling + GMM UCI HAR GPU), slower
GMM (DL+ML) accuracy),
for probabilistic inference
superior fall
anomaly scoring (22ms/sample)
recall (95.7%)
f. AUC-ROC (Area Under the ROC Curve) - Measures the trade-off between
sensitivity and specificity across all thresholds. A higher AUC (closer to 1.0)
indicates better overall performance.
5. Future Scope
5.1 Publication of Review Paper
A comprehensive review paper titled "Comparative Analysis of Hybrid Anomaly
Detection Approaches in Fall Detection" will be developed to consolidate
findings from this study and existing literature. The paper will systematically
evaluate over 15 methodologies, including statistical, machine learning, and
hybrid approaches, across five benchmark datasets (UCI HAR, MobiFall,
SisFall, etc.). It will propose standardized evaluation frameworks for clinical
viability, emphasizing thresholds such as recall >90% and false positives <5%.
6. Conclusion
The study validates that hybrid models (CNN-SA, LSTM-GMM) outperform
unimodal approaches, achieving 93.2% accuracy and 95.7% fall recall on UCI
HAR. Statistical methods (IQR/Z-score) showed limited clinical utility (recall
<15%), while SVM bridged the gap but lacked temporal awareness. The
LSTM-GMM’s fusion of sequential learning (LSTM) and probabilistic clustering
(GMM) reduced false alarms by 98% versus threshold-based methods. This work
provides a deployable framework for fall detection systems, with immediate
applications in elderly care and remote health monitoring. Future efforts will
focus on real-world validation through app integration and peer-reviewed
dissemination.
24
References
[1] C. S. Abdullah, M. Kawser, M. T. Islam Opu, T. Faruk and M. K. Islam, "Human Fall
Detection using Built-in Smartphone Accelerometer," 2020 IEEE International Women in
Engineering (WIE) Conference on Electrical and Computer Engineering (WIECON-ECE),
Bhubaneswar, India, 2020, pp. 372-375, doi: 10.1109/WIECON-ECE52138.2020.9398010.
[3] R. K. Dwivedi, A. K. Rai and R. Kumar, "A Study on Machine Learning Based Anomaly
Detection Approaches in Wireless Sensor Network," 2020 10th International Conference on
Cloud Computing, Data Science & Engineering (Confluence), Noida, India, 2020, pp.
194-199, doi: 10.1109/Confluence47617.2020.9058311.
[4] R. Thomas and J. E. Judith, "Hybrid Outlier Detection in Healthcare Datasets using DNN
and One Class-SVM," 2020 4th International Conference on Electronics, Communication and
Aerospace Technology (ICECA), Coimbatore, India, 2020, pp. 1293-1298, doi:
10.1109/ICECA49313.2020.9297401.
[6] M. A. Yatbaz, G. Ertan, and B. Kök, “Lightweight Convolutional Neural Networks for
Human Activity Recognition and Anomaly Detection,” IEEE Access, vol. 9, pp.
86696–86707, 2021.
[7] S. Schmidl, K. Hundman, N. Laptev, and H. Zha, “Anomaly Detection for Time Series: A
Comprehensive Evaluation,” in Proc. 2022 SIAM Int. Conf. Data Mining (SDM), 2022, pp.
225–233.
[9] N. Han, S. Gao, J. Li, X. Zhang, and J. Guo, "Anomaly Detection in Health Data Based on
Deep Learning," in Proc. IC-NIDC 2018, 2018.
[10] X. Xu, H. Liu, and M. Yao, "Recent Progress of Anomaly Detection," Review Article.
[12] S. S. Khan and J. Hoey, "Review of fall detection techniques: A data availability
perspective." "Human Fall Detection Using Machine Learning Methods: A Survey."
25
[13] S. Rastogi and J. Singh, "A systematic review on machine learning for fall detection
systems"
[14] N. Zenouki, F. Harrot, A. Houacine, and Y. Sun, "Fall Detection Using Supervised
Machine Learning Algorithms: A Comparative Study."
[15] S. Usmani, A. Saboor, M. Haris, M. A. Khan, and H. Park, "Latest Research Trends in
Fall Detection and Prevention Using Machine Learning: A Systematic Review."
[17] J. Liu et al., “A Hybrid Human Fall Detection Method Based on Modified YOLOv8s and
AlphaPose,” Sci. Rep., vol. 14, p. 86429, 2024.
[18] K. Niazmand et al., “Machine-Learning-Based Human Fall Detection Using Contact and
Noncontact Sensors,” J. Healthc. Eng., 2022.
Individual Contribution
➢MICHAEL SENKAO (21053295)
Contribution in Project:
● Researched, implemented, and evaluated the One-Class Support Vector Machine
(OC-SVM) approach for detecting falls using smartphone sensor data.
● Developed a complete workflow for OC-SVM including preprocessing, feature
extraction, model training, evaluation, and visualization using Python.
● Performed hyperparameter tuning (on nu and gamma) and evaluated model
performance using confusion matrices and classification reports.
● Shared findings and helped the team compare OC-SVM performance with other
fall detection models (IQR, Z-Score, etc.).
Contribution in Review Paper:
● Provided a summary of the OC-SVM implementation results to support and
reinforce the theoretical explanation of SVM-based anomaly detection in the
review paper.
Contribution in Report:
● Wrote and formatted Section 3.4: One-Class SVM Based Detection, covering
rationale, feature engineering, model design, evaluation, visualizations, and
findings.
● Provided content for the OC-SVM workflow including diagrams, plots,
classification metrics, and explanatory text.
26
● Ensured that OC-SVM implementation details followed the same technical and
structural standards as the other methods in the report.
Contribution in PPT:
● Provided the content for slides explaining the OC-SVM methodology, feature
extraction process, and model evaluation results.
● Assisted in the alignment of presentation content with the report to maintain
consistency across project components.
Contribution in PPT:
● Created slides for LSTM-GMM model architecture, methodology, and key
results.
● Helped streamline the final presentation deck and presented the fall detection
demo using hybrid models.
13 %
SIMILARITY INDEX
10%
INTERNET SOURCES
9%
PUBLICATIONS
6%
STUDENT PAPERS
PRIMARY SOURCES
1
[Link]
Internet Source 1%
2
Submitted to National Institute of Technology
Warangal
1%
Student Paper
3
H L Gururaj, Francesco Flammini, V Ravi
Kumar, N S Prema. "Recent Trends in
1%
Healthcare Innovation", CRC Press, 2025
Publication
4
[Link]
Internet Source 1%
5
[Link]
Internet Source 1%
6
Ziad Salem, Felix Lichtenegger, Andreas Peter
Weiss, Claude Leiner, Christian Sommer,
<1%
Christian Krutzler. "Comparison of Machine
Learning Algorithms for Position-Oriented
Human Fall Detection", 2023 International
Wireless Communications and Mobile
Computing (IWCMC), 2023
Publication
7
[Link]
Internet Source <1%
8
Mehdi Ghayoumi. "Generative Adversarial
Networks in Practice", CRC Press, 2023
<1%
Publication
9
[Link]
Internet Source <1%
10
[Link]
Internet Source <1%
11
[Link]
Internet Source <1%
12
[Link]
Internet Source <1%
13
[Link]
Internet Source <1%
14
[Link]
Internet Source <1%
15
[Link]
Internet Source <1%
16
[Link]
Internet Source <1%
17
Lecture Notes in Computer Science, 2015.
Publication <1%
18
Meichuan Huang, Xiaoxuan Wang, Peng Sun,
Sheng Wang, Zhi Wang. "Wavelet Package
<1%
Analysis based Fall Detection and Diagnosis",
2018 37th Chinese Control Conference (CCC),
2018
Publication
19
[Link]
Internet Source <1%
20
Saeedeh Zebhi. "An efficient 3D convolutional
neural network with informative 3D volumes
<1%
for human activity recognition using wearable
sensors", Multimedia Tools and Applications,
2023
Publication
21
Submitted to University of Hull
Student Paper <1%
[Link]
<1%
Internet Source
22
23
[Link]
Internet Source <1%
24
Pham Van Thanh, Duc-Tan Tran, Dinh-Chinh
Nguyen, Nguyen Duc Anh, Dang Nhu Dinh, S.
<1%
El-Rabaie, Kumbesan Sandrasegaran.
"Development of a Real-Time, Simple and
High-Accuracy Fall Detection System for
Elderly Using 3-DOF Accelerometers", Arabian
Journal for Science and Engineering, 2018
Publication
25
[Link]
Internet Source <1%
26
[Link]
Internet Source <1%
27
[Link]
Internet Source <1%
28
[Link]
Internet Source <1%
29
[Link]
Internet Source <1%
30
Submitted to Texas A&M University - Corpus
Christi
<1%
Student Paper
31
Submitted to The Hong Kong Institute of
Education
<1%
Student Paper
32
[Link]
Internet Source <1%
33
[Link]
Internet Source <1%
34
[Link]
Internet Source <1%
35
Amani Alfakih, Zhengwang Xia, Bahzar Ali,
Saqib Mamoon, Jianfeng Lu. "Deep Causality
<1%
Variational Autoencoder Network for
Identifying the Potential Biomarkers of Brain
Disorders", IEEE Transactions on Neural
Systems and Rehabilitation Engineering, 2024
Publication
36
[Link]
Internet Source <1%
37
Mohammed A.A. Al-qaness, Abdelghani
Dahou, Mohamed Abd Elaziz, Ahmed M.
<1%
Helmi. "Human activity recognition and fall
detection using convolutional neural network
and transformer-based architecture",
Biomedical Signal Processing and Control,
2024
Publication