Submitted:
01 September 2025
Posted:
03 September 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. Overview and Research Setting
2.2. Ethics Statement
2.3. Device Design and Sensor Setup
2.4. Training Seizure Alert Behaviour
2.5. Data Collection and Labelling
2.6. Data Splitting and Segmentation Strategy

2.7. Preprocessing and Feature Extraction
- Low-Variance Filtering: Features with a variance below a threshold of 0.1 were removed to eliminate quasi-constant predictors.
- Collinearity Reduction: To reduce multicollinearity, a correlation analysis was performed, and one of any two features with a Pearson correlation coefficient greater than 0.95 was discarded.
- Univariate Feature Selection: Finally, an ANOVA F-test was employed via SelectKBest to identify the 20 features with the most discriminative power relative to the target classes.
2.8. Machine Learning Model Development and Evaluation
3. Results
3.1. Comparison with Heuristic Methods
3.2. Supervised Model Performance
3.3. Comparative Analysis of Segment- and Event-Level Performance
4. Discussion
4.1. Robustness Across Canines
4.2. Bridging Animal Behaviour and the Internet of Animals and Medical Things
4.3. Implications for Real-World Deployment
4.4. Limitations
4.5. Future Directions
5. Conclusions
Funding
Institutional Review Board Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| VOC / VOCs | Volatile Organic Compound(s) |
| IoMT | Internet of Medical Things |
| LODO | Leave-One-Dog-Out |
| SVM | Support Vector Machine |
| IMU | Inertial Measurement Unit |
| USB | Universal Serial Bus |
| SD | Secure Digital (card) |
| ROC-AUC | Receiver Operating Characteristic – Area Under the Curve |
| ECG | Electrocardiogram |
| EEG | Electroencephalogram |
| DCUREC | Dublin City University Research Ethics Committee |
| ANOVA | Analysis of Variance |
References
- World Health Organization. *Epilepsy Fact Sheet*; WHO: Geneva, Switzerland, 2024. [Google Scholar]
- Safarpour, D.; Dabbaghhoseini, M.; et al. Incidence and predictors of seizure-related injuries among people with epilepsy: a systematic review and meta-analysis. Scientific Reports 2025, 15, 86268. [Google Scholar] [CrossRef]
- O’Haire, M.E.; Rodriguez, K.E.; et al. Service dogs for veterans and military members with posttraumatic stress disorder: Effects on PTSD symptoms, anxiety, depression, social isolation and quality of life. JAMA Netw. Open 2024, 7, e2418142. [Google Scholar] [CrossRef]
- Oliva, J.L.; Johnston, C.; et al. The effects of service dogs on psychosocial health and wellbeing in individuals with physical or medical disabilities: A cross-sectional study. BMC Psychol. 2023, 11, 75. [Google Scholar] [CrossRef]
- Stern, S.L.; Donohue, R.A.; O’Haire, M.E. PTSD service dogs: Confidence, safety, and independence in veterans. Front. Vet. Sci. 2023, 10, 1040. [Google Scholar] [CrossRef]
- van Hezik-Wester, V.; de Groot, S.; Kanters, T.; et al. Effectiveness of seizure dogs for people with severe refractory epilepsy: results from the EPISODE randomized trial. Neurology ePub Feb 28. 2024. [Google Scholar] [CrossRef] [PubMed]
- Mair, A.; De Santis, M.; et al. An overview of the literature on assistance dogs using text mining. Animals 2024, 14, 950. [Google Scholar] [CrossRef]
- Shirasu, M.; Touhara, K. The scent of disease: volatile organic compounds of the human body related to disease and disorder. J. Biochem. 2011, 150, 257–266. [Google Scholar] [CrossRef]
- Smith, J.D.; Nguyen, H.; et al. Exhaled volatile organic compounds as novel biomarkers for early detection of infectious diseases: a systematic review. Sci. Rep. 2025, 15, 86268. [Google Scholar] [CrossRef]
- Lee, A.Y.; Kim, S.J.; et al. Volatile organic compounds in biological matrices: emerging diagnostic tools for neurodegenerative and metabolic genetic disorders. Nat. Rev. Dis. Primers 2025, 11, 45. [Google Scholar] [CrossRef]
- Patel, R.; Zhou, T.; et al. Breath gas analysis for asthma biomarkers in 2024: current status and future directions. Metabolomics 2024, 20, 12. [Google Scholar] [CrossRef]
- Maa, E.H.; Arnold, J.; Bush, C.K. Epilepsy and the smell of fear. Epilepsy Behav. 2021, 121, 108078. [Google Scholar] [CrossRef]
- Maa, E.H.; Arnold, J.; Ninedorf, K.; Olsen, H. Canine detection of volatile organic compounds unique to human epileptic seizure: a prospective study. Epilepsy Behav. 2021, 115, 107690. [Google Scholar] [CrossRef] [PubMed]
- Martos Martinez-Caja, A.; De Herdt, V.; Boon, P.; Brandl, U.; Cock, H.; Parra, J.; Perucca, E.; Thadani, V.; Moons, C.P.H. Seizure-alerting behavior in dogs owned by people experiencing seizures. Epilepsy Behav. 2019, 94, 104–111. [Google Scholar] [CrossRef] [PubMed]
- Luff, G.C.; Belluomo, I.; Lugarà, E.; Walker, M.C. The role of trained and untrained dogs in the detection and warning of seizures. Epilepsy Behav. 2024, 150, 109563. [Google Scholar] [CrossRef] [PubMed]
- Van Hezik-Wester, V.; de Groot, S.; Kanters, T.A.; van Heugten, C.M.; Tan, I.Y.; Leijten, F.S.S.; Hendriksen, J.G.M.; Utens, E.M.W.J.; Aarts, J.W.M. Effectiveness of seizure dogs for people with severe refractory epilepsy: results from the EPISODE randomized trial. Neurology 2024, 102, e987–e997. [Google Scholar] [CrossRef]
- Powell, N.A.; Ruffell, A.; Arnott, G. The Untrained Response of Pet Dogs to Human Epileptic Seizures. Animals 2021, 11. [Google Scholar] [CrossRef]
- Catala, A.; Cousillas, H.; Hausberger, M.; Grandgeorge, M. Dog alerting and/or responding to epileptic seizures: a scoping review. PLoS One 2018, 13, e0208280. [Google Scholar] [CrossRef]
- Kerr, W.T.; McFarlane, K.N.; Figueiredo Pucci, G. The present and future of seizure detection, prediction, and forecasting with machine learning. Front. Neurol. 2024, 15, 1425490. [Google Scholar] [CrossRef]
- Raju, H.; Sharma, A.; Smeaton, A.; Smeaton, A.F. Automatic detection of signalling behaviour from assistance dogs as they forecast the onset of epileptic seizures in humans. arXiv 2023, arXiv:2303.06407. [Google Scholar] [CrossRef]
- Riaboff, L.; Shalloo, L.; Smeaton, A.F.; Couvreur, S.; Madouasse, A.; Keane, M.T. Predicting livestock behaviour using accelerometers: a systematic review of processing techniques for ruminant behaviour prediction from raw accelerometer data. Comput. Electron. Agric. 2022, 192, 106610. [Google Scholar] [CrossRef]
- González-Ortega, D.; Díaz-Pernas, F.J.; Martínez-Zarzuela, M.; Antón-Rodríguez, M. A physiological sensor-based Android application synchronized with a driving simulator for driver monitoring. ArXiv 2024, arXiv:2402.07937. [Google Scholar] [CrossRef]
- Catala, A.; Latour, P.; Martinez-Caja, A. M.; Cousillas, H.; Hausberger, M.; Grandgeorge, M. Is there a Profile of Spontaneous Seizure-Alert Pet Dogs? A Survey of French People with Epilepsy. Animals 2020, 10. [Google Scholar] [CrossRef]
- Fernández-Cao, E.; Fernández, E.; Gómez-Herrero, G.; López-Alonso, V.; Escudero, J. Wearable Epileptic Seizure Prediction System Based on Machine Learning and Multimodal Signals. Sensors 2022, 22. [Google Scholar] [CrossRef]
- Sandia National Laboratories. Silicon “Nose” Small Sensor “Smells” Incipient Seizures; Sandia National Laboratories: Albuquerque, NM, USA, 20 June 2023. [Google Scholar]
- Olyanasab, T.; Annabestani, M. Leveraging Machine Learning for Personalized Wearable Biomedical Devices: A Review. J. Pers. Med. 2024, 14, 289. [Google Scholar] [CrossRef] [PubMed]
- Al-Momani, M.; Kanjo, E.; Yazdani, A.; Chamberlain, A. Detection and Monitoring of Stress Using Wearables: A Systematic Review. Front. Comput. Sci. 2024, 6, 132. [Google Scholar] [CrossRef]
- García, G.; Ríos-Aguilar, S.; Salazar, J.; Lozano, J. Machine Learning Applied to Edge Computing and Wearable Devices: A Systematic Review. Sensors 2024, 24, 1742. [Google Scholar]
- Rooney, N.J.; Gaines, S.; Bradshaw, J.W.S. Behavioural and glucocorticoid responses of dogs (Canis familiaris) to kennelling: Investigating mitigation of stress by prior habituation. Physiol. Behav. 2008, 94, 487–494. [Google Scholar] [CrossRef]
- Lit, L.; Schweitzer, J.B.; Oberbauer, A.M. Handler beliefs affect scent detection dog outcomes. Anim. Cogn. 2011, 14, 387–394. [Google Scholar] [CrossRef]
- Cobb, M.L.; Otto, C.M.; Fine, A.H. The animal welfare science of working dogs: Current perspectives on recent advances and future directions. Front. Vet. Sci. 2021, 8, 666898. [Google Scholar] [CrossRef]
- Saad, H.S.; Zaki, J.F.W.; Abdelsalam, M.M. Employing of Machine Learning and Wearable Devices in Healthcare System: Tasks and Challenges. Neural Comput. Appl. 2024, 36, 17829–17849. [Google Scholar] [CrossRef]
- Mancini, C. Towards an animal-centred ethics for Animal-Computer Interaction. International Journal of Human-Computer Studies. 2017 Feb 1;98(C):221-33. [CrossRef]



| Model | Within-Subject Accuracy | Within-Subject F1-score | LODO Accuracy | |
| Heuristic Baseline | 0.70 | 0.74 | 0.60 | |
| Random Forest | 0.95 | 0.87 | 0.92 |
| Model | Within-Subject Accuracy | Within-Subject F1-score | LODO Accuracy | LODO F1-Score | LODO ROC-AUC |
| Random Forest | 0.95 | 0.87 | 0.924 | 0.65 | 0.70 |
| SVM | 0.94 | 0.83 | 0.920 | 0.54 | 0.59 |
| Naïve Bayes | 0.92 | 0.82 | 0.890 | 0.63 | 0.77 |
| Logistic Regression | 0.94 | 0.83 | 0.924 | 0.64 | 0.63 |
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. |
© 2025 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/).