A HYBRID CNN-LSTM AND ADABOOST MODEL FOR CLASSIFYING INTRUSION IN IoT NETWORKS
DOI:
https://doi.org/10.33003/fjs-2025-0905-3495Keywords:
Internet of Things (IoT), Intrusion Detection System (IDS), Hybrid CNN–LSTM, AdaBoost Ensemble Learning, Spatiotemporal Feature ExtractionAbstract
The rapid expansion of the Internet of Things (IoT) has vastly increased device connectivity but also expanded the attack surface. Resource constraints and heterogeneous protocols make traditional intrusion detection systems (IDS) inadequate: signature-based methods miss novel threats, and anomaly detectors yield high false positive rates. We propose a hybrid model integrating CNN, LSTM, and AdaBoost for robust IoT intrusion detection. Our two-stage pipeline begins with a hybrid CNN-LSTM model that automatically extracts spatial and temporal features from preprocessed network traffic. The CNN branch captures local attack patterns, while the LSTM branch models sequential traffic dependencies. We train on a combined UNSW-NB15 and RT-IoT2022 dataset of 205,449 instances with 127 initial features. Rigorous preprocessing (missing-value imputation, one-hot encoding, Z-score normalization, correlation-based elimination) reduces inputs to a 20-feature subset. In the second stage, we extract deep representations from the CNN-LSTM’s penultimate layer and input them to an AdaBoost classifier with decision-stump base learners. This ensemble adaptively weights features to boost accuracy while controlling computation. Experimental results show improved test performance: 99.70% accuracy, 99.90% precision, 99.78% recall, 99.84% F1-score, and a 2.43% false positive rate. These metrics outperform conventional IDS (e.g., [Churcher et al., 2021: 98.2% accuracy; Kumar et al., 2021: 98.5% F1-score]). The model’s computational efficiency during training (64 steps/sec) suggests potential for scalability, though real-world deployment validation remains future work.
References
Abolanle S.A., John A.O.O., Oluwaseyi S.O., Nobanathi W. M. B., Godwin O.O., Olaoluwa R.O. (2017). Determination of polycyclic aromatic hydrocarbon levels of groundwater in Ife north local government area of Osun state, Nigeria, / Toxicology Reports, 4 3948.
Adeniji, A. O., Okoh, O. O., &Okoh, A. I. (2019). Distribution pattern and health risk assessment of polycyclic aromatic hydrocarbons in the water and sediment of Algoa Bay, South Africa. Environmental geochemistry and health, 41, 1303-1320.
Anyakora C.A., Ogbeche K.A., Palmer P., Coker H., Ukpo G., Ogah C. (2004). A screen for Benzo(a)pyrene, a carcinogen: in the water samples from the Niger Delta region, Nig. J. Hosp. Med. 14 (2004) 288293.
Chen H, Gao G, Liu P, Pan R, Liu X, Lu C (2016) Determination of 16 polycyclic aromatic hydrocarbons in tea by simultaneous dispersive solid-phase extraction and liquidliquid extraction coupled with gas chromatographytandem mass spectrometry. Food Anal Methods 9:23742384.
Chih-Feng C., Yun-Ru J., Yee C. L., Shu-L.H., Mei-Ling T., Pei-Pei S., Ravi K., Chiu-Wen C., and Cheng-Di D. (2019), Determination of Polycyclic Aromatic Hydrocarbons in Sludge from Water and Wastewater Treatment Plants by GC-MS, Int. J. Environ. Res. Public Health, 16, 2604.
Dorea, H.S., Bispo. J.R.L., Arago, K.A.S., Chuna, B.B., Navickiene,. S., Alves,j.p.h., Garcia, C.A.B. (2007). Analysis of BTEX, PAHs and metal in the oilfield produced water in the brazil. Microchemical journal, 85(2), 234-238.
Dimitrios T (2023), GC-MS measurement of malondialdehyde (MDA) in clinical studies: Pre-analytical and clinical considerations, Journal of mass Spectrometry and Advances in the clinical Lab 30:10 24. https://doi.org/10.1016/
Duedahl-Olesen L, Navaratnam MA, Jewula J, Jensen A (2015) PAH in some brands of tea and cofee. Polycycl Aromat Compd 35:7490
Ediagbonya, T. F., Omokungbe, O.R., Bagbe ,A. S., Ajibare, O. A., Akinola, T.M., Obebe., F. C. (2024a) An assessment of the risks related to polychlorinated biphenyls (PCBs) in sediments, water, and Prawn (Nematopaleamon Hastatus) in Araromi Beach, Ondo State, Nigeria. Toxic and Environ Health 29;1-16
Ediagbonya, T. F., Francis, S. D., Omotayo-Tomo, M.S.,Oziegbe, F. E., Awojobi, O A (2024b) Risk Assessment and Quantification of Elemental Concentrations in River and Stream in Nigeria . Discover Toxicology.2:;1-16
Fabio I. M., Heronides A.D., Kellydas G.F. (2019). Simultanueous determination of 16 polycyclic aromatic hydrocarbons in groundwater by GC-FID after solid-phase extraction, SN appl. sci 1, 804.
Geiss O, Senaldi C, Bianchi I, Lucena A, Tirendi S, Barrero-Moreno J (2018) A fast and selective method for the determination of 8 carcinogenic polycyclic aromatic hydrocarbons in rubber and plastic materials. J Chromatogr A 1566:1322
Gorji M.E.H., Ahmadkhaniha R, Moazzen M, Yunesian M, Azari A, Rastkari N (2016) Polycyclic aromatic hydrocarbons in Iranian Kebabs. Food Control 60:5763.
Khalili F, Shariatifar N, Dehghani MH, Yaghmaeian K, Nodehi RN, Yaseri M (2021) The analysis and probabilistic health risk assessment of polycyclic aromatic hydrocarbons contamination in vegetables and fruits samples marketed Tehran with chemometric. Glob Nest J 23:112.
Kiani A, Ahmadloo M, Moazzen M, Shariatifar N, Shahsavari S, Arabameri M, Hasani MM, Azari A, Abdel-Wahhab MA (2021) Monitoring of polycyclic aromatic hydrocarbons and probabilistic health risk assessment in yogurt and butter in Iran. Food Sci Nutr 9:21142128.
Li, J., Wu, J., Wang, Y., Wu, Y., & Yang, L. (2022). Determination of polycyclic aromatic hydrocarbons in underground water using GC-FID and GC-MS with improved sensitivity and selectivity. Environmental Science and Pollution Research International, 29(12), 14461-14472.
Maks P, Przyjazny A, Boczkaj G (2018) Hydrophobic deep eutectic solvents as green extraction media for polycyclic aromatic hydrocarbons in aqueous samples. J Chromatogr A 1570:2837
Ogbuagu, D. H., Okoli, C. G., Gilbert, C. L., &Madu, S. (2011). Determination of the contamination of groundwater sources in Okrika Mainland with Polynuclear Aromatic Hydrocarbons (PAHs). British Journal of Environment and Climate Change, 1(3), 90-102
Olajire A., Alade A.O, Adeniyi A.A., Abemiwo O.M. (2007). Distribution of polycyclic aromatic hydrocarbons in surface soils and water from the vicinity of Agbabu bitumen field of southwestern Nigeria, J. Environ. Sci. Health 42 (8) 10431049.
Ogunfowokan, A.O., Asubiojo, O.I. & Fatoki, O.S. (2003). Isolation and determination of polycyclic aromatic hydrocarbon in surface runoff and sediments. Water, air & soil pollution. 147, 245-261
Onydinma, U. P., Aljerf, L., Obike, A., Onah, O. E., & Caleb, N. J. (2021). Evaluation of physicochemical characteristics and health risk of polycyclic aromatic hydrocarbons in borehole waters around automobile workshops in Southeastern Nigeria. Groundwater for Sustainable Development, 14, 100615.
Roudbari A, Nazari RR, Shariatifar N, Moazzen M, Abdolshahi A, Mirzamohammadi S, Madani-Tonekaboni M, Delvarianzadeh M, Arabameri M (2021). Concentration and health risk assessment of polycyclic aromatic hydrocarbons in commercial tea and coffee samples marketed in Iran. Environ Sci Pollut Res 28:48274839. 0
Shariatifar N, Moazzen M, Arabameri M, Moazzen M, Khaniki GJ, Sadighara P (2021) Measurement of polycyclic aromatic hydrocarbons (PAHs) in edible mushrooms (raw, grilled and fried) using MSPE-GC/MS method: a risk assessment study. Appl Biol Chem 64:111.
Teimoori, S., Shirkhanloo, H., Hassani, A. H., Panahi, M., &Mansouri, N. (2023). New extraction of toluene from water samples based on nano-carbon structure before determination by gas chromatography. International Journal of Environmental Science and Technology, 20(6), 6589-6608.
Thamatam, N., Ahn, J., Chowdhury, M., Sharma, A., Gupta, P., Marr, L. C., ...&Agah, M. (2023). A MEMS-enabled portable gas chromatography injection system for trace analysis. Analytica ChimicaActa, 1261, 341209
Ugochukwu, U. C., & Ochonogor, A. (2018). Groundwater contamination by polycyclic aromatic hydrocarbon due to diesel spill from a telecom base station in a Nigerian City: assessment of human health risk exposure. Environmental Monitoring and Assessment, 190(4).
Ukaogo P.O., Loai A.b, Anthony O., Ojah E.O., Nwaogwugwu J.C. (2021), Evaluation of physicochemical characteristics and health risk of polycyclic aromatic hydrocarbons in borehole waters around automobile workshops in Southeastern Nigeria. Groundwater for Sustainable Development, 14 100615.
Published
How to Cite
Issue
Section
FUDMA Journal of Sciences