International Peer-Reviewed Journal•Open Access•ISSN 2456-8880
[email protected]•+91-7433024337

Home / Current Issue / Paper 1725116

1725116 Vol 10 · Issue 5 Download Paper

DCAD: A Dynamic Continual Anomaly Detection Framework for Adaptive Network Traffic Analysis under Concept Drift

Muhammad Mustapha Maihaja Nyangwarimam Obadiah Ali

Subject area: Science,Engineering and Technology  ·  Area of research: Computer Engineering

DOI: 10.64388/ire1725116

Abstract

Machine-learning-based network anomaly detectors are usually trained once on historical traffic, yet real traffic keeps changing as applications, software, and attack techniques evolve, a problem known as concept drift. Detectors that ignore drift raise false alarms and miss novel attacks, and periodic manual retraining is costly. This paper proposes the Dynamic Continual Anomaly Detection (DCAD) framework, which couples a preprocessing layer, an ADWIN-based concept-drift monitor, an incremental learning engine, a replay-based knowledge-retention layer, and a threshold-based decision layer. An Autoencoder trained only on normal traffic serves as the detection engine and flags flows whose reconstruction error exceeds a validation-selected threshold. On the NSL-KDD benchmark, the Autoencoder detector is compared with SVM, Random Forest, and Isolation Forest. It achieved the highest accuracy (83.4% versus 78.1%, 77.1%, and 70.6%), a false positive rate of 3.7%, an attack recall of 73.7%, and the lowest per-sample inference time. Over ten consecutive evaluation segments its accuracy fell by 1.8 percentage points, against 3.2 and 3.1 for SVM and Random Forest. A streaming experiment with ADWIN-triggered incremental updates illustrates the adaptation mechanism. The limitations of the evaluation, including a single dataset and the absence of an end-to-end drift-adaptation test of the Autoencoder, are discussed.

Keywords

Anomaly detection, autoencoder, concept drift, continual learning, network intrusion detection, NSL-KDD

References

[1] Aslan Ö, Aktuğ SS, Ozkan-Okay M, Yilmaz AA, Akin E. A comprehensive review of cyber security vulnerabilities, threats, attacks, and solutions. Electronics. 2023;12(6):1333.

[2] Chandola V, Banerjee A, Kumar V. Anomaly detection: A survey. ACM Comput. Surv. 2009;41(3):1–58.

[3] Sommer R, Paxson V. Outside the closed world: On using machine learning for network intrusion detection. In: Proc. IEEE Symp. Secur. Privacy, Oakland, CA, USA. 2010. p. Secur.

[4] Gama J, Žliobaitė I, Bifet A, Pechenizkiy M, Bouchachia A. A survey on concept drift adaptation. ACM Comput. Surv. 2014;46(4):1–37.

[5] Lu J, Liu A, Dong F, Gu F, Gama J, Zhang G. Learning under concept drift: A review. IEEE Trans. Knowl. Data Eng. 2019;31(12):2346–2363.

[6] Cortes C, Vapnik V. Support-vector networks. Mach. Learn. 1995;20(3):273–297.

[7] Breiman L. Random forests. Mach. Learn. 2001;45(1):5–32.

[8] Liu FT, Ting KM, Zhou ZH. Isolation forest. In: Proc. 8th IEEE Int. Conf. Data Mining, Pisa, Italy. 2008. p. 413–422.

[9] Hinton GE, Salakhutdinov RR. Reducing the dimensionality of data with neural networks. Science. 2006;313(5786):504–507.

[10] Sakurada M, Yairi T. Anomaly detection using autoencoders with nonlinear dimensionality reduction. In: Proc. MLSDA Workshop Mach. Learn. Sensory Data Anal. 2014. p. 4–11.

[11] Yin C, Zhu Y, Fei J, He X. A deep learning approach for intrusion detection using recurrent neural networks. IEEE Access. 2017;5:21954–21961.

[12] Mirsky Y, Doitshman T, Elovici Y, Shabtai A. Kitsune: An ensemble of autoencoders for online network intrusion detection. In: Proc. Netw. Distrib. Syst. Secur. Symp. (NDSS), San Diego, CA, USA. 2018.

[13] Axelsson S. The base-rate fallacy and the difficulty of intrusion detection. ACM Trans. Inf. Syst. Secur. 2000;3(3):186–205.

[14] Tavallaee M, Bagheri E, Lu W, Ghorbani AA. A detailed analysis of the KDD CUP 99 data set. In: Proc. IEEE Symp. Comput. Intell. Secur. Defense Appl., Ottawa, ON, Canada. 2009. p. Comput.

[15] Ring M, Wunderlich S, Scheuring D, Landes D, Hotho A. A survey of network-based intrusion detection data sets. Comput. Secur. 2019;86:147–167.

[16] Bifet A, Gavaldà R. Learning from time-changing data with adaptive windowing. In: Proc. SIAM Int. Conf. Data Mining, Minneapolis, MN, USA. 2007. p. 443–448.

[17] Kirkpatrick J, et al. Overcoming catastrophic forgetting in neural networks. Proc. Natl. Acad. Sci. U.S.A. 2017;114(13):3521–3526.

[18] Parisi GI, Kemker R, Part JL, Kanan C, Wermter S. Continual lifelong learning with neural networks: A review. Neural Netw. 2019;113:54–71.

[19] Rolnick D, Ahuja A, Schwarz J, Lillicrap T, Wayne G. Experience replay for continual learning. In: Proc. Adv. Neural Inf. Process. Syst. (NeurIPS). 2019.

[20] Hu L, Lu Y, Feng Y. Concept drift detection based on deep neural networks and autoencoders. Appl Sci. 2025;15(6):3056.

[21] Park H, Kim T, Lee H, Shin D, Shin D, Park M. A continual learning process to detect both previously learned and newly emerging attack. Appl Sci. 2025;15(18):10034.

[22] Stocco A, Tonella P. Towards anomaly detectors that learn continuously. In: Proc IEEE Int Symp Softw Reliab Eng Workshops (ISSREW). 2020. p. 201–208.

[23] Li B, Gupta S, Müller E. State-transition-aware anomaly detection under concept drifts. Data Knowl. Eng. 2024;154:102365.

[24] Montiel J, et al. River: Machine learning for streaming data in Python. J. Mach. Learn. Res. 2021;22(110):1–8.

[25] Paszke A, et al. PyTorch: An imperative style, high-performance deep learning library. In: Proc. Adv. Neural Inf. Process. Syst. (NeurIPS). 2019.

[26] Kingma DP, Ba J. Adam: A method for stochastic optimization. In: Proc. 3rd Int. Conf. Learn. Represent. (ICLR), San Diego, CA, USA. 2015.

[27] Pedregosa F, et al. Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 2011;12:2825–2830.

[28] Sharafaldin I, Lashkari AH, Ghorbani AA. Toward generating a new intrusion detection dataset and intrusion traffic characterization. In: Proc. 4th Int. Conf. Inf. Syst. Secur. Privacy (ICISSP), Funchal, Portugal. 2018. p. 108–116.

[29] Moustafa N, Slay J. UNSW-NB15: A comprehensive data set for network intrusion detection systems. In: Proc. Mil. Commun. Inf. Syst. Conf. (MilCIS), Canberra, ACT, Australia. 2015. p. 1–6.

How to cite this paper

Muhammad Mustapha Maihaja, Nyangwarimam Obadiah Ali "DCAD: A Dynamic Continual Anomaly Detection Framework for Adaptive Network Traffic Analysis under Concept Drift" Iconic Research And Engineering Journals Volume 10 Issue 5 2026 Page 2841-2852 https://doi.org/10.64388/ire1725116
Muhammad Mustapha Maihaja, Nyangwarimam Obadiah Ali "DCAD: A Dynamic Continual Anomaly Detection Framework for Adaptive Network Traffic Analysis under Concept Drift" Iconic Research And Engineering Journals, vol. 10, no. 5, Nov. 2026, doi: https://doi.org/10.64388/ire1725116
Muhammad Mustapha Maihaja, Nyangwarimam Obadiah Ali (2026). DCAD: A Dynamic Continual Anomaly Detection Framework for Adaptive Network Traffic Analysis under Concept Drift. Iconic Research And Engineering Journals, 10(5). doi: https://doi.org/10.64388/ire1725116
Muhammad Mustapha Maihaja, Nyangwarimam Obadiah Ali "DCAD: A Dynamic Continual Anomaly Detection Framework for Adaptive Network Traffic Analysis under Concept Drift" Iconic Research And Engineering Journals, vol. 10, no. 5, Nov. 2026. Crossref, https://doi.org/10.64388/ire1725116
@article{1725116,
      author = {Muhammad Mustapha Maihaja, Nyangwarimam Obadiah Ali},
      title = {DCAD: A Dynamic Continual Anomaly Detection Framework for Adaptive Network Traffic Analysis under Concept Drift},
      journal = {Iconic Research And Engineering Journals},
      year = {2026},
      volume = {10},
      number = {5},
      pages = {2841-2852},
      issn = {2456-8880},
      url = {https://www.irejournals.com/formatedpaper/1725116.pdf},
      abstract = {Machine-learning-based network anomaly detectors are usually trained once on historical traffic, yet real traffic keeps changing as applications, software, and attack techniques evolve, a problem known as concept drift. Detectors that ignore drift raise false alarms and miss novel attacks, and periodic manual retraining is costly. This paper proposes the Dynamic Continual Anomaly Detection (DCAD) framework, which couples a preprocessing layer, an ADWIN-based concept-drift monitor, an incremental learning engine, a replay-based knowledge-retention layer, and a threshold-based decision layer. An Autoencoder trained only on normal traffic serves as the detection engine and flags flows whose reconstruction error exceeds a validation-selected threshold. On the NSL-KDD benchmark, the Autoencoder detector is compared with SVM, Random Forest, and Isolation Forest. It achieved the highest accuracy (83.4% versus 78.1%, 77.1%, and 70.6%), a false positive rate of 3.7%, an attack recall of 73.7%, and the lowest per-sample inference time. Over ten consecutive evaluation segments its accuracy fell by 1.8 percentage points, against 3.2 and 3.1 for SVM and Random Forest. A streaming experiment with ADWIN-triggered incremental updates illustrates the adaptation mechanism. The limitations of the evaluation, including a single dataset and the absence of an end-to-end drift-adaptation test of the Autoencoder, are discussed.},
      keywords = {Anomaly detection, autoencoder, concept drift, continual learning, network intrusion detection, NSL-KDD},
      month = {November},
      doi = {https://doi.org/10.64388/ire1725116}
  }