A Hybrid Intrusion Detection System for Smart Home Security Using LSTM and Autoencoder Neural Networks

Article Preview

Abstract:

Smart homes continuously grow in popularity and effectiveness, however, the interconnection of devices raises concerns over intrusion detection. The amount of smart devices continues to expand and the complexity of the intrusion detection systems needs to equally match these wide intruder capable environments. This article focused on this need by proposing a new solution, which is a hybrid intrusion detection system consisting of autoencoder based feature extraction and Long Short-Term Memory (LSTM) neural network in its classification phase. The entire process included a total data preprocessing stage that had various processes such as the normalization, data shuffling, data partitioning, data cleaning and label splitting and others. These processes were effective in achieving the objectives of the study. The proposed methodology was demonstrated through the application of the famous ‘NSL-KDD’ dataset where training achieved a significant accuracy of 99.467% while the test dataset produced an accuracy of 99.391%. This research is important not only because of its high accuracy but also because of the robust added value it provides to smart home protection. Enabling an autoencoder on a data set allowed us to emphasize specific features and therefore lower the dimensionality space remaining useful information. In addition, the further use of trained LSTM networks allowed the system to understand even more complex sequences of normal and hostile actions done by users improving the prediction. Furthermore, the strictly followed data preprocessing steps made sure that the model was exposed to good and reasonable data, which is an important factor for the efficiency and applicability of any IDS.

You might also be interested in these eBooks

Info:

Periodical:

Engineering Headway (Volume 35)

Pages:

277-294

Citation:

Online since:

February 2026

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2026 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] Amru, M., Kannan, R. J., Ganesh, E. N., Muthumarilakshmi, S., Padmanaban, K., Jeyapriya, J., & Murugan, S. (2024). Network intrusion detection system by applying ensemble model for smart home. International Journal of Electrical & Computer Engineering (2088-8708), 14(3).‏

DOI: 10.11591/ijece.v14i3.pp3485-3494

Google Scholar

[2] Adamova, A., Zhukabayeva, T., & Adamov, N. (2024). Machine Learning Algorithms for Intrusion Detection in IoT-enabled Smart Homes. Procedia Computer Science, 241, 427-432.‏

DOI: 10.1016/j.procs.2024.08.059

Google Scholar

[3] Balasubramanian, M., Kakade, K. S., Mane, S. B., & Anand, S. J. (2024). Deep learning for smart home security systems: CNN-based home security. International Journal of Electronic Security and Digital Forensics, 16(4), 451-463.‏

DOI: 10.1504/ijesdf.2024.139652

Google Scholar

[4] Sallay, H. (2024). Designing an Adaptive Effective Intrusion Detection System for Smart Home IoT: A Device-Specific Approach with SDN Deployment. International Journal of Advanced Computer Science & Applications, 15(1).‏

DOI: 10.14569/ijacsa.2024.0150194

Google Scholar

[5] Ali, H. H., Naif, J. R., & Humood, W. R. (2023). A new smart home intruder detection system based on deep learning. Al-Mustansiriyah Journal of Science, 34(2), 60-69.‏

DOI: 10.23851/mjs.v34i2.1267

Google Scholar

[6] Rani, D., Gill, N. S., Gulia, P., Arena, F., & Pau, G. (2023). Design of an intrusion detection model for IoT-enabled smart home. IEEE Access, 11, 52509-52526.‏

DOI: 10.1109/access.2023.3276863

Google Scholar

[7] Abdusalomov, A., Kilichev, D., Nasimov, R., Rakhmatullayev, I., & Im Cho, Y. (2024). Optimizing Smart Home Intrusion Detection with Harmony-Enhanced Extra Trees. IEEE Access.‏

DOI: 10.1109/access.2024.3422999

Google Scholar

[8] Wang, M., Yang, N., & Weng, N. (2023). Securing a smart home with a transformer-based iot intrusion detection system. Electronics, 12(9), 2100.‏

DOI: 10.3390/electronics12092100

Google Scholar

[9] Sarwar, N., Bajwa, I. S., Hussain, M. Z., Ibrahim, M., & Saleem, K. (2023). IoT network anomaly detection in smart homes using machine learning. IEEE Access.‏

DOI: 10.1109/access.2023.3325929

Google Scholar

[10] Elsayed, N., Zaghloul, Z. S., Azumah, S. W., & Li, C. (2021, August). Intrusion detection system in smart home network using bidirectional lstm and convolutional neural networks hybrid model. In 2021 IEEE international midwest symposium on circuits and systems (MWSCAS) (pp.55-58). IEEE.‏

DOI: 10.1109/mwscas47672.2021.9531683

Google Scholar

[11] Yuan, D., Ota, K., Dong, M., Zhu, X., Wu, T., Zhang, L., & Ma, J. (2020, June). Intrusion detection for smart home security based on data augmentation with edge computing. In ICC 2020-2020 IEEE International Conference on Communications (ICC) (pp.1-6). IEEE.‏

DOI: 10.1109/icc40277.2020.9148632

Google Scholar

[12] Azumah, S. W., Elsayed, N., Adewopo, V., Zaghloul, Z. S., & Li, C. (2021, June). A deep lstm based approach for intrusion detection iot devices network in smart home. In 2021 IEEE 7th World Forum on Internet of Things (WF-IoT) (pp.836-841). IEEE.‏

DOI: 10.1109/wf-iot51360.2021.9596033

Google Scholar

[13] Scott, E., Panda, S., Loukas, G., & Panaousis, E. (2022). Optimising user security recommendations for AI-powered smart-home.

DOI: 10.1109/dsc54232.2022.9888829

Google Scholar

[14] Elsayed, N., Zaghloul, Z. S., Azumah, S. W., & Li, C. (2021). Intrusion Detection System in Smart Home Network Using Bidirectional LSTM and Convolutional Neural Networks Hybrid Model. arXiv preprint arXiv:2105.12096.

DOI: 10.1109/mwscas47672.2021.9531683

Google Scholar

[15] Lata, N., & Kumar, R. (2022). Communication Technologies, Smart Home Solution and Security Trends in Internet of Things. Journal of Algebraic Statistics, 13(1), 42-61.

Google Scholar

[16] Graves, A., & Graves, A. (2012). Long short-term memory. Supervised sequence labelling with recurrent neural networks, 37-45.‏

DOI: 10.1007/978-3-642-24797-2_4

Google Scholar

[17] Van Houdt, G., Mosquera, C., & Nápoles, G. (2020). A review on the long short-term memory model. Artificial Intelligence Review, 53(8), 5929-5955.‏

DOI: 10.1007/s10462-020-09838-1

Google Scholar

[18] Zhu, X., Sobihani, P., & Guo, H. (2015, June). Long short-term memory over recursive structures. In International conference on machine learning (pp.1604-1612). PMLR.‏

Google Scholar

[19] Yuan, D., Ota, K., Dong, M., Zhu, X., Wu, T., Zhang, L., & Ma, J. (2020, June). Intrusion detection for smart home security based on data augmentation with edge computing. In ICC 2020-2020 IEEE International Conference on Communications (ICC) (pp.1-6). IEEE.

DOI: 10.1109/icc40277.2020.9148632

Google Scholar

[20] Elsayed, N., Zaghloul, Z. S., Azumah, S. W., & Li, C. (2021, August). Intrusion detection system in smart home network using bidirectional LSTM and convolutional neural networks hybrid model. In 2021 IEEE International Midwest Symposium on Circuits and Systems (MWSCAS) (pp.55-58). IEEE.

DOI: 10.1109/mwscas47672.2021.9531683

Google Scholar