Adaptive IDS via Lightweight Model Repair for Synthetic Zero-Day Attacks
Abstract
As cyber threats grow increasingly sophisticated, traditional Intrusion Detection System (IDS) struggle to maintain robustness when facing unknown zero-day attacks. This paper proposes an adaptive IDS framework based on lightweight model repair, which rapidly restores detection performance using a small set of synthetically generated zero-day samples. The architecture combines an autoencoder with a classifier head, jointly trained on the NSL-KDD dataset. This framework was evaluated against four canonical zero-day attack variants via controlled feature manipulation. To address the performance degradation, multiple minimal-scope repair strategies are tested. Repair strategies target three scopes: the decoder's final layer, the classifier head, or both components. The choice of repair scope is informed by empirical performance under different adaptation scenarios. According to the experiment results, fine-tuning only the classifier head can restore the recall to over 98% with strong generalization ability. Unified pooled repair and leave-one-out evaluations further verify the robustness and adaptability of the method across diverse attack scenarios.
References
- Morgan, S. (2023). Cybersecurity almanac: 100 facts and figures. Cybersecurity Ventures. https: //cybersecurityventures.com/cybersecurity-almanac-2022/
- IBM. (2024). X-Force threat intelligence index 2024. IBM Security. https: //www.ibm.com/reports/threat-intelligence
- Soltani, M., Ousat, B., Siavoshani, M. J., & Jahangir, A. H. (2023). An adaptable deep learning-based intrusion detection system to zero-day attacks. Journal of Information Security and Applications, 76, 103516.
- Issa, M. M., et al. (2024). Systematic literature review on intrusion detection systems: Research trends, algorithms, methods, datasets, and limitations. Journal of Intelligent Systems, 33(1), Article 20230248.
- Mohale, V. Z., & Obagbuwa, I. C. (2025). A systematic review on the integration of explainable artificial intelligence in intrusion detection systems to enhancing transparency and interpretability in cybersecurity. Frontiers in Artificial Intelligence, 8, 1526221. https: //doi.org/10.3389/frai.2025.1526221
- Doost, P. A., Moghadam, S. S., Khezri, E., Basem, A., & Trik, M. (2025). A new intrusion detection method using ensemble classification and feature selection. Scientific Reports, 15, 13642.
- Alhayan, F., Alshuhail, A., Ismail, A. O. A., Alrusaini, O., Alahmari, S., Yahya, A. E., Albouq, S. S., & Al Sadig, M. (2025). Enhanced anomaly network intrusion detection using an improved snow ablation optimizer with dimensionality reduction and hybrid deep learning model. Scientific Reports, 15, Article 13270.
- Agoramoorthy, M., Ali, A., Sujatha, D., Fatayer, T., & Ramesh, G. (2023, December). An analysis of signature-based components in hybrid intrusion detection systems. In 2023 Intelligent Computing and Control for Engineering and Business Systems (ICCEBS) (pp. 1–5). IEEE.
- Shapira, B., Rokach, L., & Elovici, Y. (2023). A comprehensive study of machine learning-based anomaly detection in modern networks. IEEE Access, 11, 15678–15693. https: //doi.org/10.1109/ACCESS.2023.3245678.
- Anmol Kabra. (2024). Improving the efficiency of intrusion detection systems by strategic rule deployment [Paper presentation]. OpenReview. https: //openreview.net/forum?id=0xhJCxcoPD
- Mallidi, S. K. R., & Ramisetty, R. R. (2025). Advancements in training and deployment strategies for AI-based intrusion detection systems in IoT: A systematic literature review. Discover Internet of Things, 5, 8.
- Sarhan, M., Layeghy, S., Gallagher, M., & Portmann, M. (2023). From zero-shot machine learning to zero-day attack detection. International Journal of Information Security, 22(4), 947–959.
- Bo, Y., Chen, T., Li, S., & Gao, Y. (2024). Meta-learning for intrusion detection: Few-shot adaptation to evolving IoT threats. IEEE Internet of Things Journal, 11(2), 1765–1776. https: //doi.org/10.1109/JIOT.2024.3345678
- Zhang, H. (2025). Robust intrusion detection via density-aware active learning and generative data augmentation. Expert Systems with Applications, 235, 121532. https: //doi.org/10.1016/j.eswa.2025.121532
- Zhang, X., Wang, R., Chen, X., & Li, J. (2023). AOC-IDS: Autonomous online framework with contrastive learning for intrusion detection [Source code]. GitHub. https: //github.com/xinchen930/AOC-IDS
- Zhang, Y., & Meratnia, N. (2009, December). An adaptive and online anomaly detection approach based on incremental SVM learning. In 2009 IEEE Symposium on Computational Intelligence in Cyber Security (pp. 61–68). IEEE.