Leveraging Semi-Markov Models to Identify Anomalies of Activities of Daily Living in Smart Homes Processes
Abstract
1. Introduction
- 1.
- Current studies for analysing human activity focus primarily on sequence-based recognition of ADLs, often neglecting the explicit modelling of ADL durations. As ADLs evolve, incorporating the duration of such activities is crucial for a comprehensive understanding.
- 2.
- Existing semi-Markov studies model ADL durations, but they do not consider duration-based anomalies that progress over time.
- 3.
- Several approaches in activity recognition require the availability of a large amount of data. However, in the real world, especially in the smart home and healthcare domain, collecting such data is costly and not always practical.
- 4.
- Present studies on anomaly detection fail to consider anomalies in ADL durations, which limits their efficiency for long-term behavioural assessment.
- 1.
- A novel framework was developed that models ADL duration distributions using a Weibull mixture model to effectively represent the characteristics and heterogeneity of the different ADLs executed by the smart home residents.
- 2.
- The inverse transform sampling technique was implemented to generate synthetic ADL durations, while abnormal ADL durations were simulated by altering the mixing proportion of the fitted Weibull mixture model to represent gradual behavioural changes.
- 3.
- Log-likelihood ratio and chi-square tests were employed to effectively detect anomalies in the ADL durations.
- 4.
- Sequential monthly comparisons of baseline versus gradual assessment were conducted, allowing for detection of variations in both minor temporal variations and significant deviations in ADL durations.
2. Related Work
2.1. Traditional Approaches for Smart Homes
2.2. Process Mining in Smart Homes
3. Proposed Methodology
3.1. Dataset
3.2. Semi-Markov Modelling of ADL Duration
| Algorithm 1: Weibull mixture model parameter estimation [17] |
| Input: : ADL durations, J: maximum number of components. |
| Initialise: |
| K-means to partition data into J clusters. |
| Apply moment matching to initialise parameters across each cluster. |
| for to do: |
| E-step: Compute (Equation (4)) |
| M-step: Estimate and (Equation (5)) |
| Maximise Equation 3 using Nelder–Mead with established |
| Compute: Log-likelihood (Equation (3)) |
| if |
| break |
| Update: . |
| end for |
| Output: Estimated parameter |
- 1.
- Kullback–Leibler (KL) divergence: Alternatively known as relative entropy. This test is used to compute the difference between the empirical PDF computed from the data and the PDF of the Weibull mixture distribution , as shown in the following formula [58]:If , the data distribution is considered to exactly match the specified mixture model, whereas a higher value suggests increasing discrepancies between them. This test was conducted to measure how effectively the model fits the given data in high-density regions, thereby helping to ensure that the model can correctly capture the most common part of the distribution.
- 2.
- Kolmogorov–Smirnov (KS) test: This is a well-established technique that compares the Cumulative Distribution Functions (CDFs) using either the two-sample or one-sample approach. In this paper, we utilise the one-sample approach, in which the empirical CDF (ECDF) is compared with the CDF of the mixture model , as described in the equation below [59]:The null hypothesis is accepted if (. This means that there exists no variation between the computed CDFs. This test was used to primarily obtain the largest difference between the data and the model.
- 3.
- Cramér–von Mises (CvM) test: In contrast to the KS test, this method considers the squared difference between the ECDF of the data and the theoretical CDF of the mixture model. The test statistic is defined by the following formula [60]:While this test uses the same null hypothesis and probability condition as the KS test, it focuses on the overall measure of how the model fits across the entire distribution. In this way, minor variations between the model and data can be detected.
3.3. Simulating ADL Durations
3.4. Simulating Anomalous ADL Durations
- 1.
- To reproduce the sleeping behaviour in individuals affected by dementia, the Weibull mixture model was employed to simulate prolonged napping periods. The increase in the napping behaviour for individuals suffering from dementia is due to issues in their neural functioning, where the sleep–wake cycle of such individuals is disrupted, making it harder for them to remain awake, which in turn leads to increased napping durations [6].
- 2.
- To simulate the drink preparation behaviour in individuals experiencing dementia, we used the Weibull mixture model to simulate prolonged drink preparation durations. Extended periods of drink preparation occur because performing such essential tasks is more error-prone and is cognitively demanding for individuals suffering from dementia. Such behavioural changes are mainly driven by memory issues and reduced attention in such individuals [62].
- 3.
- To mimic the toileting behaviour in individuals affected by dementia, the Weibull mixture model was employed to generate extended toileting periods. Often, individuals suffering from dementia tend to take a longer time in the toilet due to issues like cognitive disarray, limited movements, or difficulty finding the toilet location [8].
- 4.
- To model the meal preparation behaviour in individuals influenced by dementia, we adjusted the Weibull mixture model to produce longer meal preparation durations. As dementia progresses, individuals often take a longer time preparing their meals. This is mainly due to their inability to organise, or even remember, the tasks required to prepare a meal [7].
3.5. Detecting Anomalous ADL Durations
- Null model : considers that the weights of the Weibull mixture model are the same, where the previous month’s weight is used for both models.
- Alternative model : assumes that the weights of the Weibull mixture model differ from month to month.
| Algorithm 2 Simulating and Detecting Anomalous ADL Durations |
| Input: total number of observations, M: total number of months, : fitted mixture proportion per month, : significance level, : fitted scale of Weibull mixture model, fitted shape of Weibull mixture model. |
| Initialise: |
| Obtain the fitted Weibull parameters |
| Obtain the fitted mixture proportion for each month. |
| for do |
| for do |
| Generate: using the inverse transform sampling |
| end for |
| Store the generated dataset |
| end for |
| for to do |
| Compute using , and the fitted parameters. (Equation (13)) |
| Compute: (Equation (14)) |
| if ( then |
| Duration drift is detected |
| else |
| No significant duration drift is detected. |
| end for |
| Output: Month-to-month drift detection. |
4. Results
4.1. Fitting Weibull Mixture Model to ADL Durations
4.2. Simulating ADL Durations
4.3. Detecting Anomalous ADL Durations
5. Conclusions and Discussion
- 1.
- Limitations: This study examines only a restricted set of ADLs (sleep, toileting, drink preparation, and meal preparation), which may not represent the full range of daily behaviour. The duration distributions of the ADLs are modelled using a Weibull mixture model, which has been shown in previous studies to provide a good fit [17]. Nonetheless, other types of models might better capture additional characteristics and distinct features of these distributions. The synthetic data generation method uses inverse probability integral and presumes that altering mixture weights sufficiently simulates anomalous behaviour. Furthermore, because the dataset primarily represents normal human behaviour, the resulting simulations are inherently hypothetical. They may not fully capture the variety of real-world behavioural drifts among individuals with dementia.
- 2.
- Future Work and Recommendation: The challenges in modelling ADL durations point to multiple directions for future research. For instance, while the current study focuses on modelling durations using a Weibull mixture model, other mixture models could be investigated to effectively capture subtle patterns in individual behaviour that may be missed by the Weibull mixture model. Moreover, incorporating the transitions of the ADL through a semi-Markov model may enhance the anomaly detection. Furthermore, the present work could extend the current monthly window analysis to real-time sequential analysis techniques, in which data collected in real time would be monitored continuously to enable early detection of behavioural anomalies. Multiple testing approaches, like the Benjamin–Hochberg (BH) approach, can be employed to limit the false discovery rate and recognise significant deviations more effectively [66]. Additionally, integrating temporal information, such as differences across time of the day or the day within the week, could enhance the realism of the synthetic anomaly simulation, making it more reflective of dementia-related behaviour patterns in the individuals.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Population. Available online: https://www.un.org/en/global-issues/population (accessed on 3 February 2026).
- Ageing. Available online: https://www.who.int/health-topics/ageing (accessed on 3 February 2026).
- Dementia. Available online: https://www.who.int/news-room/fact-sheets/detail/dementia (accessed on 3 February 2026).
- What Is Dementia? Symptoms, Types, and Diagnosis. Available online: https://www.nia.nih.gov/health/alzheimers-and-dementia/what-dementia-symptoms-types-and-diagnosis (accessed on 3 February 2026).
- Over 41 Million Cases of Dementia go Undiagnosed Across the Globe—World Alzheimer Report Reveals. Available online: https://www.alzint.org/news-events/news/over-41-million-cases-of-dementia-go-undiagnosed-across-the-globe-world-alzheimer-report-reveals/ (accessed on 3 February 2026).
- Cross, N.; Terpening, Z.; Rogers, N.L.; Duffy, S.L.; Hickie, I.B.; Lewis, S.J.; Naismith, S.L. Napping in older people ‘at risk’of dementia: Relationships with depression, cognition, medical burden and sleep quality. J. Sleep Res. 2015, 24, 494–502. [Google Scholar]
- Papachristou, I.; Giatras, N.; Ussher, M. Impact of dementia progression on food-related processes: A qualitative study of caregivers’ perspectives. Am. J. Alzheimer’s Dis. Other Dementias® 2013, 28, 568–574. [Google Scholar] [CrossRef]
- Aldridge, Z.; Harrison Dening, K. Dementia and continence issues. J. Community Nurs. 2021, 35, 58. [Google Scholar]
- Zhu, Y.; Luo, H.; Chen, R.; Zhao, F. Diamondnet: A neural-network-based heterogeneous sensor attentive fusion for human activity recognition. IEEE Trans. Neural Networks Learn. Syst. 2023, 35, 15321–15331. [Google Scholar] [CrossRef]
- Wang, J.; Zhu, T.; Gan, J.; Chen, L.L.; Ning, H.; Wan, Y. Sensor data augmentation by resampling in contrastive learning for human activity recognition. IEEE Sens. J. 2022, 22, 22994–23008. [Google Scholar] [CrossRef]
- Malhotra, P.; Singh, Y.; Anand, P.; Bangotra, D.K.; Singh, P.K.; Hong, W.C. Internet of things: Evolution, concerns and security challenges. Sensors 2021, 21, 1809. [Google Scholar] [CrossRef]
- Leemans, S.J.; van der Aalst, W.M.; Brockhoff, T.; Polyvyanyy, A. Stochastic process mining: Earth movers’ stochastic conformance. Inf. Syst. 2021, 102, 101724. [Google Scholar] [CrossRef]
- Kang, W.; Shin, D.; Shin, D. Detecting and predicting of abnormal behavior using hierarchical markov model in smart home network. In Proceedings of the 2010 IEEE 17Th International Conference on Industrial Engineering and Engineering Management, Xiamen, China, 29–31 October 2010; IEEE: New York, NY, USA, 2010; pp. 410–414. [Google Scholar]
- Wu, E.; Zhang, P.; Lu, T.; Gu, H.; Gu, N. Behavior prediction using an improved Hidden Markov Model to support people with disabilities in smart homes. In Proceedings of the 2016 IEEE 20th International Conference on Computer Supported Cooperative Work in Design (CSCWD), Nanchang, China, 4–6 May 2016; IEEE: New York, NY, USA, 2016; pp. 560–565. [Google Scholar]
- Flett, G.; Kelly, N. An occupant-differentiated, higher-order Markov Chain method for prediction of domestic occupancy. Energy Build. 2016, 125, 219–230. [Google Scholar]
- Moore, S.J.; Nugent, C.D.; Zhang, S.; Cleland, I.; Sani, S.; Healing, A. A markov model to detect sensor failure in IoT environments. In Proceedings of the 2020 IEEE World Congress on Services (SERVICES), Beijing, China, 18–23 October 2020; IEEE: New York, NY, USA, 2020; pp. 13–16. [Google Scholar]
- Shaikh, E.; Scotney, B.; McClean, S.I.; Tariq, Z.; Mohammad, N. Using Mixture Models to Characterize the Process Durations of Daily Living. In Proceedings of the 24th UK Workshop in Computational Intelligence, Edinburgh, UK, 3–5 September 2025. [Google Scholar]
- Fletcher-Lloyd, N.; Serban, A.I.; Kolanko, M.; Wingfield, D.; Wilson, D.; Nilforooshan, R.; Barnaghi, P.; Soreq, E. A Markov chain model for identifying changes in daily activity patterns of people living with dementia. IEEE Internet Things J. 2023, 11, 2244–2254. [Google Scholar] [CrossRef]
- Grammatikopoulou, M.; Lazarou, I.; Alepopoulos, V.; Mpaltadoros, L.; Oikonomou, V.P.; Stavropoulos, T.G.; Nikolopoulos, S.; Kompatsiaris, I.; Tsolaki, M. Assessing the cognitive decline of people in the spectrum of AD by monitoring their activities of daily living in an IoT-enabled smart home environment: A cross-sectional pilot study. Front. Aging Neurosci. 2024, 16, 1375131. [Google Scholar] [CrossRef]
- Gómez, Y.M.; Gallardo, D.I.; Marchant, C.; Sánchez, L.; Bourguignon, M. An in-depth review of the Weibull model with a focus on various parameterizations. Mathematics 2023, 12, 56. [Google Scholar] [CrossRef]
- Van Kasteren, T.; Noulas, A.; Englebienne, G.; Kröse, B. Accurate activity recognition in a home setting. In Proceedings of the 10th International Conference on Ubiquitous Computing, Seoul, Republic of Korea, 21–24 September 2008; pp. 1–9. [Google Scholar]
- Jose, A.C.; Malekian, R.; Letswamotse, B.B. Improving smart home security; integrating behaviour prediction into smart home. Int. J. Sens. Netw. 2018, 28, 253–269. [Google Scholar]
- Fabi, V.; Spigliantini, G.; Corgnati, S.P. Insights on smart home concept and occupants’ interaction with building controls. Energy Procedia 2017, 111, 759–769. [Google Scholar] [CrossRef]
- Jo, H.; Yoon, Y.I. Intelligent smart home energy efficiency model using artificial TensorFlow engine. Hum. Centric Comput. Inf. Sci. 2018, 8, 9. [Google Scholar]
- Bouchabou, D.; Nguyen, S.M.; Lohr, C.; LeDuc, B.; Kanellos, I. A survey of human activity recognition in smart homes based on IoT sensors algorithms: Taxonomies, challenges, and opportunities with deep learning. Sensors 2021, 21, 6037. [Google Scholar] [CrossRef]
- Paul, P.; George, T. An effective approach for human activity recognition on smartphone. In Proceedings of the 2015 IEEE International Conference on Engineering and Technology (ICETECH), Coimbatore, India, 20 March 2015; IEEE: New York, NY, USA, 2015; pp. 1–3. [Google Scholar]
- Guo, L.; Fang, H. Real-time human activity recognition in smart home with binary tree SVM. In Proceedings of the 2016 35th Chinese Control Conference (CCC), Chengdu, China, 27–29 July 2016; IEEE: New York, NY, USA, 2016; pp. 6977–6981. [Google Scholar]
- Xu, W.; Pang, Y.; Yang, Y.; Liu, Y. Human activity recognition based on convolutional neural network. In Proceedings of the 2018 24th International Conference on Pattern Recognition (ICPR), Beijing, China, 20–24 August 2018; IEEE: New York, NY, USA, 2018; pp. 165–170. [Google Scholar]
- Mahmoodzadeh, A. Human activity recognition based on deep belief network classifier and combination of local and global features. J. Inf. Syst. Telecommun. 2021, 9, 33. [Google Scholar]
- Bennett, T.R.; Massey, H.C.; Wu, J.; Hasnain, S.A.; Jafari, R. MotionSynthesis Toolset (MoST): An open source tool and data set for human motion data synthesis and validation. IEEE Sens. J. 2016, 16, 5365–5375. [Google Scholar]
- Hernangómez, R.; Visentin, T.; Servadei, L.; Khodabakhshandeh, H.; Stańczak, S. Improving radar human activity classification using synthetic data with image transformation. Sensors 2022, 22, 1519. [Google Scholar] [CrossRef]
- Romero, A.; Carvalho, P.; Côrte-Real, L.; Pereira, A. Synthesizing human activity for data generation. J. Imaging 2023, 9, 204. [Google Scholar] [CrossRef]
- de Souza, M.D.; Junior, C.R.S.; Quintino, J.; Santos, A.L.; da Silva, F.Q.; Zanchettin, C. Exploring the impact of synthetic data on human activity recognition tasks. Procedia Comput. Sci. 2023, 222, 656–665. [Google Scholar] [CrossRef]
- Alaghbari, K.A.; Saad, M.H.M.; Hussain, A.; Alam, M.R. Activities recognition, anomaly detection and next activity prediction based on neural networks in smart homes. IEEE Access 2022, 10, 28219–28232. [Google Scholar] [CrossRef]
- Sánchez, V.G.; Skeie, N.O. Decision Trees for Human Activity Recognition Modelling in Smart House Environments. Simul. Notes Eur. 2018, 28, 177–184. [Google Scholar] [CrossRef]
- Sarwar, N.; Bajwa, I.S.; Hussain, M.Z.; Ibrahim, M.; Saleem, K. IoT network anomaly detection in smart homes using machine learning. IEEE Access 2023, 11, 119462–119480. [Google Scholar] [CrossRef]
- Kanev, A.; Nasteka, A.; Bessonova, C.; Nevmerzhitsky, D.; Silaev, A.; Efremov, A.; Nikiforova, K. Anomaly detection in wireless sensor network of the “smart home” system. In Proceedings of the 2017 20th Conference of Open Innovations Association (FRUCT), St. Petersburg, Russia, 3–7 April 2017; IEEE: New York, NY, USA, 2017; pp. 118–124. [Google Scholar]
- Bertrand, Y.; Van den Abbeele, B.; Veneruso, S.; Leotta, F.; Mecella, M.; Serral, E. A survey on the application of process mining to smart spaces data. In Proceedings of the International Conference on Process Mining, Bolzano, Italy, 23–28 October 2022; Springer: Berlin/Heidelberg, Germany, 2022; pp. 57–70. [Google Scholar]
- Carolis, B.D.; Ferilli, S.; Redavid, D. Incremental learning of daily routines as workflows in a smart home environment. ACM Trans. Interact. Intell. Syst. (TiiS) 2015, 4, 1–23. [Google Scholar] [CrossRef]
- Ma’arif, M.R. Revealing daily human activity pattern using process mining approach. In Proceedings of the 2017 4th International Conference on Electrical Engineering, Computer Science and Informatics (EECSI), Yogyakarta, Indonesia, 19–21 September 2017; IEEE: New York, NY, USA, 2017; pp. 1–5. [Google Scholar]
- Theodoropoulou, G.; Bousdekis, A.; Miaoulis, G.; Voulodimos, A. Process mining for activities of daily living in smart homecare. In Proceedings of the 24th Pan-Hellenic Conference on Informatics, Athens, Greece, 20–22 November 2020; pp. 197–201. [Google Scholar]
- Dogan, O.; Akkol, E.; Olucoglu, M. Understanding patient activity patterns in smart homes with process mining. In Proceedings of the Iberoamerican Knowledge Graphs and Semantic Web Conference, Madrid, Spain, 21–23 November 2022; Springer: Berlin/Heidelberg, Germany, 2022; pp. 298–311. [Google Scholar]
- Helske, J.; Helske, S.; Saqr, M.; López-Pernas, S.; Murphy, K. A modern approach to transition analysis and process mining with Markov models in education. In Learning Analytics Methods and Tutorials: A Practical Guide Using R; Springer: Cham, Switzerland, 2024; pp. 381–427. [Google Scholar]
- Asghari, P.; Soleimani, E.; Nazerfard, E. Online human activity recognition employing hierarchical hidden Markov models. J. Ambient Intell. Humaniz. Comput. 2020, 11, 1141–1152. [Google Scholar]
- Kalra, L.; Zhao, X.; Soto, A.J.; Milios, E. Detection of daily living activities using a two-stage Markov model. J. Ambient Intell. Smart Environ. 2013, 5, 273–285. [Google Scholar]
- Kalenkova, A.; Mitchell, L.; Roughan, M. Performance analysis: Discovering semi-markov models from event logs. IEEE Access 2025, 13, 38035–38053. [Google Scholar] [CrossRef]
- Van Kasteren, T.; Englebienne, G.; Kröse, B.J. Activity recognition using semi-Markov models on real world smart home datasets. J. Ambient Intell. Smart Environ. 2010, 2, 311–325. [Google Scholar]
- McClean, S.; Yang, L. Semi-Markov models for process mining in smart homes. Mathematics 2023, 11, 5001. [Google Scholar] [CrossRef]
- McClean, S.; Wang, D.; Yang, L.; McChesney, I.; Tariq, Z.; Prasad, S. Using semi-Markov models for generating, validating, and analyzing artificial smart home processes. In Proceedings of the International Conference on Ubiquitous Computing and Ambient Intelligence, Belfast, UK, 27–29 November 2024; Springer: Berlin/Heidelberg, Germany, 2024; pp. 300–312. [Google Scholar]
- Yang, L.; Mc Clean, S.; Bashar, A.; Moore, S.; Tariq, Z. Using semi-Markov models to identify long holding times of activities of daily living in smart homes. In Proceedings of the 2023 IEEE Smart World Congress (SWC), Portsmouth, UK, 28–31 August 2023; IEEE: New York, NY, USA, 2023; pp. 748–753. [Google Scholar]
- Chau, J.Y.; Gomersall, S.R.; Van Der Ploeg, H.P.; Milton, K. The evolution of time use approaches for understanding activities of daily living in a public health context. BMC Public Health 2019, 19, 451. [Google Scholar] [CrossRef]
- Jiajin, X.; Zhentong, G. From Gaussian Distribution to Weibull Distribution. Glob. J. Res. Eng. I Numer. Methods 2023, 23, 1–6. [Google Scholar]
- Weibull, W. A statistical distribution function of wide applicability. J. Appl. Mech. 1951, 18, 290–293. [Google Scholar] [CrossRef]
- Papoulis, A. Random Variables and Stochastic Processes; McGraw Hill: New York, NY, USA, 1965. [Google Scholar]
- Dempster, A.P.; Laird, N.M.; Rubin, D.B. Maximum likelihood from incomplete data via the EM algorithm. J. R. Stat. Soc. Ser. B (Methodol.) 1977, 39, 1–22. [Google Scholar]
- Cohen, A.C. Maximum likelihood estimation in the Weibull distribution based on complete and on censored samples. Technometrics 1965, 7, 579–588. [Google Scholar] [CrossRef]
- Singer, S.; Nelder, J. Nelder-mead algorithm. Scholarpedia 2009, 4, 2928. [Google Scholar] [CrossRef]
- Kullback, S.; Leibler, R.A. On information and sufficiency. Ann. Math. Stat. 1951, 22, 79–86. [Google Scholar] [CrossRef]
- Berger, V.W.; Zhou, Y. Kolmogorov–smirnov test: Overview. In Wiley Statsref: Statistics Reference Online; Wiley Online Library: Hoboken, NK, USA, 2014. [Google Scholar]
- Anderson, T.W. On the distribution of the two-sample Cramer-von Mises criterion. Ann. Math. Stat. 1962, 33, 1148–1159. [Google Scholar] [CrossRef]
- Henderson, S.G.; Nelson, B.L. Handbooks in Operations Research and Management Science: Simulation; Elsevier: Amsterdam, The Netherlands, 2006; Volume 13. [Google Scholar]
- Ramsden, C.M.; Kinsella, G.J.; Ong, B.; Storey, E. Performance of everyday actions in mild Alzheimer’s disease. Neuropsychology 2008, 22, 17. [Google Scholar]
- Koch, K.R. Parameter Estimation and Hypothesis Testing in Linear Models; Springer: Berlin/Heidelberg, Germany, 1999. [Google Scholar]
- Wilks, S.S. The large-sample distribution of the likelihood ratio for testing composite hypotheses. Ann. Math. Stat. 1938, 9, 60–62. [Google Scholar] [CrossRef]
- Nguyen, M. A Guide on Data Analysis: From Basics to Causal Inference; Bookdown: Boca Raton, FL, USA, 2020. [Google Scholar]
- Benjamini, Y.; Hochberg, Y. Controlling the false discovery rate: A practical and powerful approach to multiple testing. J. R. Stat. Soc. Ser. B (Methodol.) 1995, 57, 289–300. [Google Scholar]













| Paper | Data | Strengths | Limitations |
|---|---|---|---|
| [30] | Sensor signals | Provides open-source tool for data synthesis, validation and visualisation | Requires MATLAB access |
| [31] | Radar signals | Reduce dependency on limited dataset | Restricted radar modelling |
| [32] | 2D avatar video | Supports generation of customisable and realistic data | Struggles with complex human actions |
| [33] | Time series data | Boosts ML performance on limited data | Heavily relies on GAN stability. |
| [35] | Daily activities | Interpretable results | Restricted generalisability |
| [37] | Sensor data streams; network traffic | Accounts for both device-level metrics and network traffic | Restricted scalability and practical applicability |
| [34] | Daily activities | Provides activity recognition, prediction and anomaly detection | Depends on labelled data |
| [36] | IoT traffic dataset | Uses real dataset to examine malicious behaviour | Does not offer interpretability |
| Paper | Strengths | Limitations |
|---|---|---|
| [39] | Graphical representation of ADLs | Limited interpretability |
| [40] | Focused on simplifying the visualisation of process models | Only considered frequent sequential patterns |
| [41] | Compared performance of alpha, heuristic, fuzzy, and inductive miner algorithms | Majorly focused on comparing PM algorithms |
| [42] | Considered frequency, length of stay, and user pathways to examine human behaviour | Did not consider activity duration. |
| [13] | Hierarchical behaviour modelling | Model requires optimisation |
| [44] | Online recognition of disrupted activities | Depends on labelled data |
| [14] | Reliable personalised prediction | Complex temporal model |
| [45] | Model complex activity sequences | Resource-intensive model |
| [15] | Accurate multi-resident prediction | Minimal improvement over traditional models |
| [48] | Considers activity duration | Does not consider progressive anomaly simulation and detection |
| [49] | Considers activity duration | Only focused on toilet and breakfast activity |
| [50] | Considers activity duration | Focused only on long holding time |
| Sleep | Toilet | Drink Preparation | Meal Preparation | |
|---|---|---|---|---|
| 0.924 | 0.783 | 0.812 | 0.738 | |
| 0.962 | 0.860 | 0.850 | 0.833 | |
| 0.113 | 0.162 | 0.630 | 0.373 |
| Sleep | Toilet | Drink Preparation | Meal Preparation | |
|---|---|---|---|---|
| 0.994 | 0.941 | 0.983 | 0.808 | |
| 0.066 | 0.018 | 0.038 | 0.059 |
| Activity | Months | Previous Month | Next Month | ||
|---|---|---|---|---|---|
| Nap | 1 vs. 2 | 16.6% | 20% | 6.30 | 1.21 × |
| 2 vs. 3 | 20% | 30% | 54.29 | 1.73 × | |
| 3 vs. 4 | 30% | 45% | 55.24 | 1.07 × | |
| 4 vs. 5 | 45% | 65% | 135.84 | 0.0 | |
| 5 vs. 6 | 65% | 95% | 434.21 | 0.0 | |
| Prolonged toileting | 1 vs. 2 | 41.5% | 43% | 4.33 | 3.74 × |
| 2 vs. 3 | 43% | 48% | 10.92 | 9.50 × | |
| 3 vs. 4 | 48% | 55% | 18.68 | 1.54 × | |
| 4 vs. 5 | 55% | 67% | 55.57 | 8.97 × | |
| 5 vs. 6 | 67% | 82% | 80.43 | 0.00 | |
| Extended meal preparation | 1 vs. 2 | 40% | 43.5% | 8.87 | 2.90 × |
| 2 vs. 3 | 43.5% | 48% | 8.64 | 3.29 × | |
| 3 vs. 4 | 48% | 52% | 9.07 | 2.60 × | |
| 4 vs. 5 | 52% | 58% | 13.55 | 2.33 × | |
| 5 vs. 6 | 58% | 67% | 35.22 | 2.95 × | |
| Longer drink preparation | 1 vs. 2 | 10% | 13% | 11.54 | 6.81 × |
| 2 vs. 3 | 13% | 22% | 33.41 | 7.47 × | |
| 3 vs. 4 | 22% | 34% | 60.58 | 7.11 × | |
| 4 vs. 5 | 34% | 49% | 89.92 | 0.00 | |
| 5 vs. 6 | 49% | 68% | 105.10 | 0.00 |
| Activity | Month 2 Proportion | ||
|---|---|---|---|
| Nap | 25% | 54.19 | 1.82 × |
| 30% | 68.21 | 1.11 × | |
| 35% | 175.66 | 2.23 × | |
| 40% | 238.20 | 2.23 × | |
| 45% | 429.30 | 2.23 × | |
| Prolonged toileting | 45% | 6.02 | 1.41 × |
| 48% | 11.21 | 8.100 × | |
| 51% | 25.43 | 4.58 × | |
| 54% | 39.59 | 3.12 × | |
| 57% | 60.05 | 9.21 × | |
| Extended meal preparation | 43% | 5.07 | 2.43 × |
| 47% | 5.48 | 1.92 × | |
| 50% | 40.11 | 2.39 × | |
| 54% | 32.13 | 1.44 × | |
| 65% | 248.97 | 2.23 × | |
| Longer drink preparation | 12.2% | 13.80 | 2.03 × |
| 13.8% | 14.92 | 1.12 × | |
| 15.1% | 35.42 | 2.66 × | |
| 16.7% | 25.96 | 3.47 × | |
| 18.2% | 57.40 | 3.55 × |
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.
Share and Cite
Shaikh, E.; McClean, S.; Tariq, Z.; Scotney, B.; Mohammad, N. Leveraging Semi-Markov Models to Identify Anomalies of Activities of Daily Living in Smart Homes Processes. Algorithms 2026, 19, 150. https://doi.org/10.3390/a19020150
Shaikh E, McClean S, Tariq Z, Scotney B, Mohammad N. Leveraging Semi-Markov Models to Identify Anomalies of Activities of Daily Living in Smart Homes Processes. Algorithms. 2026; 19(2):150. https://doi.org/10.3390/a19020150
Chicago/Turabian StyleShaikh, Eman, Sally McClean, Zeeshan Tariq, Bryan Scotney, and Nazeeruddin Mohammad. 2026. "Leveraging Semi-Markov Models to Identify Anomalies of Activities of Daily Living in Smart Homes Processes" Algorithms 19, no. 2: 150. https://doi.org/10.3390/a19020150
APA StyleShaikh, E., McClean, S., Tariq, Z., Scotney, B., & Mohammad, N. (2026). Leveraging Semi-Markov Models to Identify Anomalies of Activities of Daily Living in Smart Homes Processes. Algorithms, 19(2), 150. https://doi.org/10.3390/a19020150

