ISSN (Online): 2321-3418
server-injected
Engineering and Computer Science
Open Access

Comparison of Machine Learning Models for Stress Detection from Sensor Data Using Long Short-Term Memory (LSTM) Networks and Convolutional Neural Networks (CNNs)

,
DOI: 10.18535/ijsrm/v12i12.ec02· Pages: 1775-1792· Vol. 12, No. 12, (2024)· Published: December 13, 2024
PDF
Views: 610 PDF downloads: 410

Abstract

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.

Keywords

Stress detectionmachine learningLong Short-Term Memory (LSTM)Convolutional Neural

References

  1. https://doi.org/10.1007/BF00994018DOI ↗Google Scholar ↗
  2. Cross, P. A., & Dede, C. (2017). Automated mammogram analysis for early breast cancer detection. Journal of Diagnostic Imaging, 22(2), 67-79.Google Scholar ↗
  3. Ghulam, M. A., & Jamil, A. (2018). CAD systems for early detection of breast cancer: An overview. Journal of Medical Imaging, 16(4), 50-65.Google Scholar ↗
  4. 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.Google Scholar ↗
  5. Khusainov, R., & Novikov, D. (2020). Case study: Application of CNN for mammogram classification. Journal of Clinical Imaging Science, 5(2), 35-42.Google Scholar ↗
  6. LeCun, Y., &Bengio, Y. (2015). Deep learning. Nature, 521(7553), 436-444. https://doi.org/10.1038/nature14539DOI ↗Google Scholar ↗
  7. 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.Google Scholar ↗
  8. OladoyinAkinsuli, and OladoyinAkinsuli. “The Complex Future of Cyberwarfare - AI vs AI.” JETIR, 10(2), 2014, pp. f957–f978. https://www.jetir.org/view?paper=JETIR2302604Google Scholar ↗
  9. OladoyinAkinsuli, and OladoyinAkinsuli. “AI SECURITY as a SERVICE.” JETIR, 10(5), 2014, pp. p630–p649. https://www.jetir.org/view?paper=JETIR2305G85Google Scholar ↗
  10. 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.Google Scholar ↗
  11. Refaee, T., et al. (2017). Breast cancer detection using support vector machine. Journal of Medical Imaging and Health Informatics, 7(4), 1049-1056.Google Scholar ↗
  12. Shen, D., et al. (2019). Deep learning for breast cancer classification: A comprehensive review. IEEE Transactions on Biomedical Engineering, 66(4), 948-956.Google Scholar ↗
  13. Tizhoosh, H. R., &Pantanowitz, L. (2015). Mammographic image analysis using support vector machines. Computers in Biology and Medicine, 59, 1-9.Google Scholar ↗
  14. Wang, H., &Kwoh, C. K. (2018). Limitations of conventional methods in breast cancer diagnosis using mammograms. Cancer Imaging, 8(2), 34-47.Google Scholar ↗
  15. Wang, L., Liu, J., & Li, S. (2019). Breast cancer detection using SVM with mammogram images. Journal of Medical Imaging, 7(4), 225-233.Google Scholar ↗
  16. Zhang, D., & Zhao, Y. (2019). Challenges and opportunities in mammogram image analysis using deep learning. Journal of Medical Imaging, 12(2), 189-201.Google Scholar ↗
  17. 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.Google Scholar ↗
  18. Zhang, J., & Wang, S. (2018). Convolutional neural networks for breast cancer detection: A review. Journal of Healthcare Engineering, 2018, 1-9.Google Scholar ↗
  19. 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).Google Scholar ↗
  20. 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.Google Scholar ↗
  21. Kaushik, P., Jain, M., Patidar, G., Eapen, P. R., &PrabhaSharma, C. Smart Floor Cleaning Robot Using Android. Csjournals. Com10, 1-5.Google Scholar ↗
  22. KAUSHIK, P., JAIN, M., & SHAH, A. (2018). A Low Power Low Voltage CMOS Based Operational Transconductance Amplifier for Biomedical Application.Google Scholar ↗
  23. Kaushik, P., & Jain, M. A Low Power SRAM Cell for High Speed Applications Using 90nm Technology. Csjournals. Com, 10.Google Scholar ↗
  24. ADIMULAM, T., BHOYAR, M., & REDDY, P. (2019). AI-Driven Predictive Maintenance in IoT-Enabled Industrial Systems.Google Scholar ↗
  25. ADIMULAM, T., BHOYAR, M., & REDDY, P. (2019). AI-Driven Predictive Maintenance in IoT-Enabled Industrial Systems.Google Scholar ↗
  26. Selvarajan, G. P. (2019). Integrating machine learning algorithms with OLAP systems for enhanced predictive analytics.Google Scholar ↗
  27. Selvarajan, G. P. The Role of Machine Learning Algorithms in Business Intelligence: Transforming Data into Strategic Insights.Google Scholar ↗
  28. 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.Google Scholar ↗
  29. 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.Google Scholar ↗
  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.Google Scholar ↗
  31. 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.Google Scholar ↗
  32. 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.Google Scholar ↗
  33. 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.Google Scholar ↗
  34. 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.Google Scholar ↗
  35. 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.Google Scholar ↗
  36. 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.Google Scholar ↗
  37. 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.Google Scholar ↗
  38. 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.Google Scholar ↗
  39. 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.Google Scholar ↗
  40. Chaudhary, Arslan Asad. "EXPLORING THE IMPACT OF MULTICULTURAL LITERATURE ON EMPATHY AND CULTURAL COMPETENCE IN ELEMENTARY EDUCATION." Remittances Review 3.2 (2018): 183-205.Google Scholar ↗
  41. 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.Google Scholar ↗
  42. 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.DOI ↗Google Scholar ↗
  43. 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.005DOI ↗Google Scholar ↗
  44. 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.Google Scholar ↗
  45. 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.Google Scholar ↗
  46. 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.Google Scholar ↗
  47. Adenekan, T. K. (2024). Experimental and Numerical Study on the Behavior of Railway Ballast for Enhanced Track Stability.Google Scholar ↗
  48. Asimiyu, Z. (2024). Cloud-Powered IoT in Smart Grids: A New Era for Energy Management.Google Scholar ↗
  49. Areo, G. (2024). Behavioral Insights into Railway Ballast for Superior Track Stability.Google Scholar ↗
Author details
Mohit Jain
University of Illinois at Urbana-Campaign
✉ Corresponding Author
👤 View Profile →
Arjun Srihari
M.S. Ramaiah Institute of Technology
👤 View Profile →