A Data-Driven Computational Pipeline for Multi-Class Network Behavior Recognition Using Hybrid Feature Transformation and Distributed Verification Mechanisms
DOI:
https://doi.org/10.63646/EYQX4154Keywords:
Network behavior recognition, intrusion detection, hybrid feature transformation, multi-class classification, distributed verification, class imbalanceAbstract
The recognition of network behavior from traffic data has become a central problem in modern cybersecurity, yet the difficulty is no longer the scarcity of data but the challenge of turning heterogeneous, imbalanced, and rapidly evolving traffic into reliable multi-class decisions that operators can trust. This study proposes and evaluates a data-driven computational pipeline that recognizes several classes of network behavior at once, combining a hybrid feature-transformation stage with a distributed verification mechanism. The hybrid stage fuses three complementary representations of each network flow: statistical descriptors that summarize volume and timing, spectral coefficients that capture periodic structure, and learned embeddings produced by a compact autoencoder. The fused descriptor is classified by a convolutional-recurrent model trained with class- balancing, and the resulting verdicts are confirmed by a lightweight distributed verification layer in which several independent nodes must reach consensus before an alert is committed. The pipeline is evaluated on harmonized records drawn from three widely used benchmarks, covering normal traffic and seven attack families, using stratified training and a held-out test partition. Across the multi-class task the pipeline reaches a macro-averaged F1-score of 0.969 and a weighted accuracy of 98.4 percent, with per-class recall above 0.95 for every attack family including rare minority classes. An ablation analysis shows that each transformation branch contributes measurably and that fusing all three is consistently better than any single representation. The distributed verification layer adds only a few milliseconds of median latency while scaling to sixty-four nodes and reducing committed false positives by roughly a third. The article argues that treating representation and verification as joint design choices, rather than afterthoughts, materially improves both accuracy and trustworthiness, and it offers a practical blueprint for building behavior-recognition pipelines that remain dependable under class imbalance and concept drift.
How to Cite
References
Agrawal, S., Sarkar, S., Aouedi, O., Yenduri, G., Piamrat, K., Bhattacharya, S., Maddikunta, P. K. R., & Gadekallu, T. R. (2022). Federated learning for intrusion detection system: Concepts, challenges and future directions. Computer Communications, 195, 346–361. https://doi.org/10.1016/j.comcom.2022.09.012
Ahmad, Z., Shahid Khan, A., Wai Shiang, C., Abdullah, J., & Ahmad, F. (2021). Network intrusion detection system: A systematic study of machine learning and deep learning approaches. Transactions on Emerging Telecommunications Technologies, 32(1), e4150. https://doi.org/10.1002/ett.4150
Akgun, D., Hizal, S., & Cavusoglu, U. (2022). A new DDoS attacks intrusion detection model based on deep learning for cybersecurity. Computers & Security, 118, 102748. https://doi.org/10.1016/j.cose.2022.102748
Alani, M. M., & Damiani, E. (2023). XRecon: An explainable IoT reconnaissance attack detection system based on ensemble learning. Sensors, 23(11), 5298. https://doi.org/10.3390/s23115298
Alani, M. M., & Miri, A. (2022). Towards an explainable universal feature set for IoT intrusion detection. Sensors, 22(15), 5690. https://doi.org/10.3390/s22155690
Aldaej, A., Ullah, I., & Atiquzzaman, M. (2024). Ensemble technique of intrusion detection for IoT-edge platform. Scientific Reports, 14, 11703. https://doi.org/10.1038/s41598-024-62435-y
Almadhor, A., Altalbe, A., Bouazzi, I., Al Hejaili, A., & Kryvinska, N. (2024). Strengthening network DDoS ,attack detection in heterogeneous IoT environment with federated XAI learning approach. Scientific Reports 14(1), 24322. https://doi.org/10.1038/s41598-024-76016-6
Alsaedi, A., Moustafa, N., Tari, Z., Mahmood, A., & Anwar, A. (2020). TON_IoT telemetry dataset: A new generation dataset of IoT and IIoT for data-driven intrusion detection systems. IEEE Access, 8, 165130– 165150. https://doi.org/10.1109/ACCESS.2020.3022862
AlSharman, S. A., Al-Khaleel, O., & Al-Ayyoub, M. (2024). A detailed inspection of machine learning based intrusion detection systems for software defined networks. IoT, 5(4), 756–784. https://doi.org/10.3390/iot5040034
Caville, E., Lo, W. W., Layeghy, S., & Portmann, M. (2022). Anomal-E: A self-supervised network intrusion detection system based on graph neural networks. Knowledge-Based Systems, 258, 110030. https://doi.org/10.1016/j.knosys.2022.110030
Chandola, V., Banerjee, A., & Kumar, V. (2009). Anomaly detection: A survey. ACM Computing Surveys, 41(3), 1–58. https://doi.org/10.1145/1541880.1541882
Chen, A., Fu, Y., Zheng, X., & Lu, G. (2022a). An efficient network behavior anomaly detection using a hybrid DBN-LSTM network. Computers & Security, 114, 102600. https://doi.org/10.1016/j.cose.2021.102600
Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785–794). https://doi.org/10.1145/2939672.2939785
Chen, Y., Lin, Q., Wei, W., Ji, J., Wong, K.-C., & Coello Coello, C. A. (2022b). Intrusion detection using multi- objective evolutionary convolutional neural network for Internet of Things in fog computing. Knowledge- Based Systems, 244, 108505. https://doi.org/10.1016/j.knosys.2022.108505
Chuang, H.-M., Liu, F., & Tsai, C.-H. (2022). Early detection of abnormal attacks in software-defined networking using machine learning approaches. Symmetry, 14(6), 1178. https://doi.org/10.3390/sym14061178
Du, J., Yang, K., Hu, Y., & Jiang, L. (2023). NIDS-CNNLSTM: Network intrusion detection classification model based on deep learning. IEEE Access, 11, 24808–24821. https://doi.org/10.1109/ACCESS.2023.3254915
Ferrag, M. A., Maglaras, L., Moschoyiannis, S., & Janicke, H. (2020). Deep learning for cyber security intrusion detection: Approaches, datasets, and comparative study. Journal of Information Security and Applications, 50, 102419. https://doi.org/10.1016/j.jisa.2019.102419 yDATAMIND | Journal of Data-Driven AI and Computational Discover
Gamage, S., & Samarabandu, J. (2020). Deep learning methods in network intrusion detection: A survey and an objective comparison. Journal of Network and Computer Applications, 169, 102767. https://doi.org/10.1016/j.jnca.2020.102767
Halbouni, A., Gunawan, T. S., Habaebi, M. H., Halbouni, M., Kartiwi, M., & Ahmad, R. (2022). CNN-LSTM: Hybrid deep neural network for network intrusion detection system. IEEE Access, 10, 99837–99849. https://doi.org/10.1109/ACCESS.2022.3202237
Hassan, M. M., Gumaei, A., Alsanad, A., Alrubaian, M., & Fortino, G. (2020). A hybrid deep learning model for efficient intrusion detection in big data environment. Information Sciences, 513, 386–396. https://doi.org/10.1016/j.ins.2019.10.069
Kasongo, S. M., & Sun, Y. (2019). A deep learning method with filter based feature engineering for wireless intrusion detection system. IEEE Access, 7, 38597–38607. https://doi.org/10.1109/ACCESS.2019.2905633
Kasongo, S. M., & Sun, Y. (2020). A deep learning method with wrapper based feature extraction for wireless intrusion detection system. Computers & Security, 92, 101752. https://doi.org/10.1016/j.cose.2020.101752
Khan, F., Jan, M. A., Alturki, R., Alshehri, M. D., Shah, S. T., & Rehman, A. U. (2023). A secure ensemble learning-based fog-cloud approach for cyberattack detection in IoMT. IEEE Transactions on Industrial Informatics, 19(10), 10125–10132. https://doi.org/10.1109/TII.2022.3231424
Khraisat, A., Gondal, I., Vamplew, P., Kamruzzaman, J., & Alazab, A. (2019). A novel ensemble of hybrid intrusion detection system for detecting Internet of Things attacks. Electronics, 8(11), 1210. https://doi.org/10.3390/electronics8111210
Kumar, P., Gupta, G. P., & Tripathi, R. (2021). An ensemble learning and fog-cloud architecture-driven cyber- attack detection framework for IoMT networks. Computer Communications, 166, 110–124. https://doi.org/10.1016/j.comcom.2020.12.003
Le, T.-T.-H., Kim, H., Kang, H., & Kim, H. (2022). Classification and explanation for intrusion detection system based on ensemble trees and SHAP method. Sensors, 22(3), 1154. https://doi.org/10.3390/s22031154
LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436–444. https://doi.org/10.1038/nature14539
Liang, W., Xiao, L., Zhang, K., Tang, M., He, D., & Li, K.-C. (2022). Data fusion approach for collaborative anomaly intrusion detection in blockchain-based systems. IEEE Internet of Things Journal, 9(16), 14741– 14751. https://doi.org/10.1109/JIOT.2021.3053842
Liu, H., & Lang, B. (2019). Machine learning and deep learning methods for intrusion detection systems: A survey. Applied Sciences, 9(20), 4396. https://doi.org/10.3390/app9204396
Mahadik, S., Pawar, P. M., & Muthalagu, R. (2023). Efficient intelligent intrusion detection system for heterogeneous Internet of Things (HetIoT). Journal of Network and Systems Management, 31(1), 2. https://doi.org/10.1007/s10922-022-09697-x
Mighan, S. N., & Kahani, M. (2021). A novel scalable intrusion detection system based on deep learning. International Journal of Information Security, 20(3), 387–403. https://doi.org/10.1007/s10207-020-00508-x
Mothukuri, V., Khare, P., Parizi, R. M., Pouriyeh, S., Dehghantanha, A., & Srivastava, G. (2022). Federated- learning-based anomaly detection for IoT security attacks. IEEE Internet of Things Journal, 9(4), 2545– 2554. https://doi.org/10.1109/JIOT.2021.3077803
Moustafa, N., & Slay, J. (2015). UNSW-NB15: A comprehensive data set for network intrusion detection systems. In 2015 Military Communications and Information Systems Conference (MilCIS) (pp. 1–6). https://doi.org/10.1109/MilCIS.2015.7348942
Moustafa, N., & Slay, J. (2016). The evaluation of network anomaly detection systems: Statistical analysis of the UNSW-NB15 data set and the comparison with the KDD99 data set. Information Security Journal: A Global Perspective, 25(1–3), 18–31. https://doi.org/10.1080/19393555.2015.1125974
Pandey, N., & Mishra, P. K. (2023). Detection of DDoS attack in IoT traffic using ensemble machine learning techniques. Networks and Heterogeneous Media, 18(4), 1393–1409. https://doi.org/10.3934/nhm.2023061
Preuveneers, D., Rimmer, V., Tsingenopoulos, I., Spooren, J., Joosen, W., & Ilie-Zudor, E. (2018). Chained anomaly detection models for federated learning: An intrusion detection case study. Applied Sciences, 8(12), 2663. https://doi.org/10.3390/app8122663
Reyna, A., Martín, C., Chen, J., Soler, E., & Díaz, M. (2018). On blockchain and its integration with IoT. Challenges and opportunities. Future Generation Computer Systems, 88, 173–190. https://doi.org/10.1016/j.future.2018.05.046
Sanmorino, A., Marnisah, L., & Kesuma, H. D. (2024). Detection of DDoS attacks using fine-tuned multi-layer perceptron models. Engineering, Technology & Applied Science Research, 14(5), 16444–16449. https://doi.org/10.48084/etasr.8362
Sarhan, M., Layeghy, S., & Portmann, M. (2022). Evaluating standard feature sets towards increased generalisability and explainability of ML-based network intrusion detection. Big Data Research, 30, 100359. https://doi.org/10.1016/j.bdr.2022.100359
Sayem, I. M., Sayed, M. I., Saha, S., & Haque, A. (2024). ENIDS: A deep learning-based ensemble framework for network intrusion detection systems. IEEE Transactions on Network and Service Management, 21(5), 5809–5825. https://doi.org/10.1109/TNSM.2024.3414305
Sharafaldin, I., Lashkari, A. H., & Ghorbani, A. A. (2018). Toward generating a new intrusion detection dataset and intrusion traffic characterization. In Proceedings of the 4th International Conference on Information Systems Security and Privacy (ICISSP) (pp. 108–116). https://doi.org/10.5220/0006639801080116
Sharafaldin, I., Lashkari, A. H., Hakak, S., & Ghorbani, A. A. (2019). Developing realistic distributed denial of service (DDoS) attack dataset and taxonomy. In 2019 International Carnahan Conference on Security Technology (ICCST) (pp. 1–8). https://doi.org/10.1109/CCST.2019.8888419
Shone, N., Ngoc, T. N., Phai, V. D., & Shi, Q. (2018). A deep learning approach to network intrusion detection. IEEE Transactions on Emerging Topics in Computational Intelligence, 2(1), 41–50. https://doi.org/10.1109/TETCI.2017.2772792
Sicari, S., Rizzardi, A., Grieco, L. A., & Coen-Porisini, A. (2015). Security, privacy and trust in Internet of Things: The road ahead. Computer Networks, 76, 146–164. https://doi.org/10.1016/j.comnet.2014.11.008
Soflaei, M. R. A. B., Salehpour, A., & Samadzamini, K. (2024). Enhancing network intrusion detection: A dual- ensemble approach with CTGAN-balanced data and weak classifiers. The Journal of Supercomputing, 80(11), 16301–16333. https://doi.org/10.1007/s11227-024-06108-7
Thakkar, A., & Lohiya, R. (2021). A review on machine learning and deep learning perspectives of IDS for IoT: Recent updates, security issues, and challenges. Archives of Computational Methods in Engineering, 28(4), 3211–3243. https://doi.org/10.1007/s11831-020-09496-0
Thockchom, N., Singh, M. M., & Nandi, U. (2023). A novel ensemble learning-based model for network intrusion detection. Complex & Intelligent Systems, 9(5), 5693–5714. https://doi.org/10.1007/s40747-023-01013-7
Ullah, F., Ullah, S., Srivastava, G., & Lin, J. C.-W. (2024). IDS-INT: Intrusion detection system using transformer-based transfer learning for imbalanced network traffic. Digital Communications and Networks, 10(1), 190–204. https://doi.org/10.1016/j.dcan.2023.03.008
Wang, Z., Fok, K. W., & Thing, V. L. L. (2022). Machine learning for encrypted malicious traffic detection: Approaches, datasets and comparative study. Computers & Security, 113, 102542. https://doi.org/10.1016/j.cose.2021.102542
Xu, L., Xu, K., Qin, Y., Li, Y., Huang, X., & Lin, Z. (2022). TGAN-AD: Transformer-based GAN for anomaly detection of time series data. Applied Sciences, 12(16), 8085. https://doi.org/10.3390/app12168085







