Comparison of Machine Learning Models for Stress Detection from Sensor Data Using Long Short-Term Memory (LSTM) Networks and Convolutional Neural Networks (CNNs)
Downloads
Stress has become one of the serious concerns in modern society and affects health, both mentally and physically, influencing productivity and quality of life. Chronic stress has grave health consequences, including cardiovascular diseases, anxiety, depression, and suppression of immune responses. Early detection and management are thus of utmost importance for mitigating its adverse effects. The increased popularity of wearable devices and physiological sensors now allows the detection of stressors using real-time data. The presented research is targeted at the study and comparison of the performance of two leading deep learning architectures: LSTM networks and CNN, based on stress detection according to physiological sensor data.
This research is based on a dataset of three important physiological parameters: Heart Rate Variability, Galvanic Skin Response, and Skin Temperature, recorded using wearable devices. All these data are filtered for noise and normalized for quality and consistency. In this paper, LSTM and CNN models have been designed, trained, and tested on the same datasets so that a fair comparison can be performed. Accuracy, precision, recall, F1-score, and computational efficiency were the metrics considered to evaluate the model's effectiveness.
These results emphasize the fact that LSTM networks outperform CNNs in terms of extracting temporal dependencies in time-series data, yielding high accuracy, recall, and F1-score. This underlines the fact that LSTMs are much more appropriate in applications such as detection of stress, which requires the deeper understanding of sequential patterns. On the other hand, CNNs do have more computational efficiency and multi-dimensional feature extraction capability, useful in cases where real-time performance is required using limited resources.
This comparative analysis not only points out the trade-offs of the two models but also serves as a pointer to the potential hybrid approaches which integrate the strengths of LSTM and CNN architectures. The findings of this study give practical insights to the researchers, developers, and practitioners in the domain of health monitoring and stress detection. It therefore enhances the knowledge to date on the ability and limits of the models in the general domain of the application of machine learning in mental health, hence more accurate, scalable, yet efficient automatic stress detection systems are enabl
ed.
Downloads
https://doi.org/10.1007/BF00994018
3. Cross, P. A., & Dede, C. (2017). Automated mammogram analysis for early breast cancer detection. Journal of Diagnostic Imaging, 22(2), 67-79.
4. Ghulam, M. A., & Jamil, A. (2018). CAD systems for early detection of breast cancer: An overview. Journal of Medical Imaging, 16(4), 50-65.
5. Jiang, X., et al. (2020). Medical image analysis using deep learning techniques: Challenges and opportunities. Journal of Imaging Science and Technology, 64(1), 8-21.
6. Khusainov, R., & Novikov, D. (2020). Case study: Application of CNN for mammogram classification. Journal of Clinical Imaging Science, 5(2), 35-42.
7. LeCun, Y., &Bengio, Y. (2015). Deep learning. Nature, 521(7553), 436-444. https://doi.org/10.1038/nature14539
8. Li, X., Zhang, W., & Tan, H. (2021). Real-time breast cancer screening using SVM and CNN. Computational Methods in Applied Mathematics, 21(3), 113-121.
9. OladoyinAkinsuli, and OladoyinAkinsuli. “The Complex Future of Cyberwarfare - AI vs AI.” JETIR, 10(2), 2014, pp. f957–f978. https://www.jetir.org/view?paper=JETIR2302604
10. OladoyinAkinsuli, and OladoyinAkinsuli. “AI SECURITY as a SERVICE.” JETIR, 10(5), 2014, pp. p630–p649. https://www.jetir.org/view?paper=JETIR2305G85
11. Rajaraman, S., & Pang, W. (2021). A comparative study of machine learning algorithms for breast cancer detection in mammograms: SVM vs. CNN. Computational Biology and Chemistry, 94, 107574.
12. Refaee, T., et al. (2017). Breast cancer detection using support vector machine. Journal of Medical Imaging and Health Informatics, 7(4), 1049-1056.
13. Shen, D., et al. (2019). Deep learning for breast cancer classification: A comprehensive review. IEEE Transactions on Biomedical Engineering, 66(4), 948-956.
14. Tizhoosh, H. R., &Pantanowitz, L. (2015). Mammographic image analysis using support vector machines. Computers in Biology and Medicine, 59, 1-9.
15. Wang, H., &Kwoh, C. K. (2018). Limitations of conventional methods in breast cancer diagnosis using mammograms. Cancer Imaging, 8(2), 34-47.
16. Wang, L., Liu, J., & Li, S. (2019). Breast cancer detection using SVM with mammogram images. Journal of Medical Imaging, 7(4), 225-233.
17. Zhang, D., & Zhao, Y. (2019). Challenges and opportunities in mammogram image analysis using deep learning. Journal of Medical Imaging, 12(2), 189-201.
18. Zhang, D., Liu, Z., & Zhao, Y. (2020). Deep learning for early detection of malignant tumors in mammogram images. Journal of Digital Imaging, 33(6), 1027-1036.
19. Zhang, J., & Wang, S. (2018). Convolutional neural networks for breast cancer detection: A review. Journal of Healthcare Engineering, 2018, 1-9.
20. Kaushik, P., & Jain, M. (2018). Design of low power CMOS low pass filter for biomedical application. International Journal of Electrical Engineering & Technology (IJEET), 9(5).
21. Kaushik, P., Jain, M., & Jain, A. (2018). A pixel-based digital medical images protection using genetic algorithm. International Journal of Electronics and Communication Engineering, 31-37.
22. Kaushik, P., Jain, M., Patidar, G., Eapen, P. R., &PrabhaSharma, C. Smart Floor Cleaning Robot Using Android. Csjournals. Com10, 1-5.
23. KAUSHIK, P., JAIN, M., & SHAH, A. (2018). A Low Power Low Voltage CMOS Based Operational Transconductance Amplifier for Biomedical Application.
24. Kaushik, P., & Jain, M. A Low Power SRAM Cell for High Speed Applications Using 90nm Technology. Csjournals. Com, 10.
25. ADIMULAM, T., BHOYAR, M., & REDDY, P. (2019). AI-Driven Predictive Maintenance in IoT-Enabled Industrial Systems.
26. ADIMULAM, T., BHOYAR, M., & REDDY, P. (2019). AI-Driven Predictive Maintenance in IoT-Enabled Industrial Systems.
27. Selvarajan, G. P. (2019). Integrating machine learning algorithms with OLAP systems for enhanced predictive analytics.
28. Selvarajan, G. P. The Role of Machine Learning Algorithms in Business Intelligence: Transforming Data into Strategic Insights.
29. Rahaman, M. M., Rani, S., Islam, M. R., & Bhuiyan, M. M. R. (2023). Machine learning in business analytics: Advancing statistical methods for data-driven innovation. Journal of Computer Science and Technology Studies, 5(3), 104-111.
30. Islam, M. R., Rahaman, M. M., Bhuiyan, M. M. R., & Aziz, M. M. (2023). Machine learning with health information technology: Transforming data-driven healthcare systems. Journal of Medical and Health Studies, 4(1), 89-96.
31. Islam, M. R., Rahaman, M. M., Bhuiyan, M. M. R., & Aziz, M. M. (2023). Machine learning with health information technology: Transforming data-driven healthcare systems. Journal of Medical and Health Studies, 4(1), 89-96.
32. Bhuiyan, M. M. R., Rahaman, M. M., Aziz, M. M., Islam, M. R., & Das, K. (2023). Predictive analytics in plant biotechnology: Using data science to drive crop resilience and productivity. Journal of Environmental and Agricultural Studies, 4(3), 77-83.
33. Damacharla, P., Javaid, A. Y., Gallimore, J. J., &Devabhaktuni, V. K. (2018). Common metrics to benchmark human-machine teams (HMT): A review. IEEE Access, 6, 38637-38655.
34. Damacharla, P., Rao, A., Ringenberg, J., &Javaid, A. Y. (2021, May). TLU-net: a deep learning approach for automatic steel surface defect detection. In 2021 International Conference on Applied Artificial Intelligence (ICAPAI) (pp. 1-6). IEEE.
35. Ashraf, S., Aggarwal, P., Damacharla, P., Wang, H., Javaid, A. Y., &Devabhaktuni, V. (2018). A low-cost solution for unmanned aerial vehicle navigation in a global positioning system–denied environment. International Journal of Distributed Sensor Networks, 14(6), 1550147718781750.
36. Dhakal, P., Damacharla, P., Javaid, A. Y., &Devabhaktuni, V. (2019). A near real-time automatic speaker recognition architecture for voice-based user interface. Machine learning and knowledge extraction, 1(1), 504-520.
37. Ashraf, S., Aggarwal, P., Damacharla, P., Wang, H., Javaid, A. Y., &Devabhaktuni, V. (2018). A low-cost solution for unmanned aerial vehicle navigation in a global positioning system–denied environment. International Journal of Distributed Sensor Networks, 14(6), 1550147718781750.
38. Linkon, A. A., Noman, I. R., Islam, M. R., Bortty, J. C., Bishnu, K. K., Islam, A., ... & Abdullah, M. (2024). Evaluation of Feature Transformation and Machine Learning Models on Early Detection of Diabetes Melitus. IEEE Access.
39. Rahaman, M. M., Islam, M. R., Bhuiyan, M. M. R., Aziz, M. M., Manik, M. M. T. G., & Noman, I. R. (2024). Empowering Sustainable Business Practices Through AI, Data Analytics and Blockchain: A Multi-Industry Perspectives. European Journal of Science, Innovation and Technology, 4(2), 440-451.
40. Chaudhary, A. A. (2018). Enhancing Academic Achievement and Language Proficiency Through Bilingual Education: A Comprehensive Study of Elementary School Students. Educational Administration: Theory and Practice, 24(4), 803-812.
41. Chaudhary, Arslan Asad. "EXPLORING THE IMPACT OF MULTICULTURAL LITERATURE ON EMPATHY AND CULTURAL COMPETENCE IN ELEMENTARY EDUCATION." Remittances Review 3.2 (2018): 183-205.
42. Chaudhary, A. A. (2022). Asset-Based Vs Deficit-Based Esl Instruction: Effects On Elementary Students Academic Achievement And Classroom Engagement. Migration Letters, 19(S8), 1763-1774.
43. Benjamin Staar, Michael Lütjen, Michael Freitag, Anomaly detection with convolutional neural networks for industrial surface inspection, Procedia CIRP, Volume 79, 2019, Pages 484-489, ISSN 2212-8271, https://doi.org/10.1016/j.procir.2019.02.123.
44. Jain, Mohit & Srihari, Arjun. (2024). Comparison of Machine Learning Algorithm in Intrusion Detection Systems: A Review Using Binary Logistic Regression. International Journal of Computer Science and Mobile Computing. 13. 45-53. 10.47760/ijcsmc.2024.v13i10.005
45. Bi, S., & Lian, Y. (2024). Advanced portfolio management in finance using deep learning and artificial intelligence techniques: Enhancing investment strategies through machine learning models. Journal of Artificial Intelligence Research, 4(1), 233-298.
46. Nguyen, T. T., Nguyen, H. H., Sartipi, M., & Fisichella, M. (2023). Multi-vehicle multi-camera tracking with graph-based tracklet features. IEEE Transactions on Multimedia, 26, 972-983.
47. Bi, S., Lian, Y., & Wang, Z. (2024). Research and Design of a Financial Intelligent Risk Control Platform Based on Big Data Analysis and Deep Machine Learning. arXiv preprint arXiv:2409.10331.
48. Adenekan, T. K. (2024). Experimental and Numerical Study on the Behavior of Railway Ballast for Enhanced Track Stability.
49. Asimiyu, Z. (2024). Cloud-Powered IoT in Smart Grids: A New Era for Energy Management.
50. Areo, G. (2024). Behavioral Insights into Railway Ballast for Superior Track Stability.
Copyright (c) 2024 Mohit Jain, Arjun Srihari
This work is licensed under a Creative Commons Attribution 4.0 International License.