Zero-Day Attack Detection Using CNN-BiLSTM with Multi-Head Attention and Transfer Learning — ICACNC 2026 | TechShield Publications
ICACNC 2026 · Conference Article

Zero-Day Attack Detection Using CNN-BiLSTM with Multi-Head Attention and Transfer Learning

Authors: Qazi Ayaan Ud Din, Asad Ur Rehman, Aoun Muhammad, Sana Tariq

Abstract

A zero-day attack is a very serious threat to network security because it is based upon a vulnerability that is currently not known and therefore cannot be taken into account by security systems. Based on this, a new deep learning model to detect these attacks in network traffic is proposed in this study. The model is based on CNN, BiLSTM, Multi-Head attention and transfer learning. The UNSW-NB15 database is used for testing this model. To test zero-day attacks correctly, one type of attack (Exploits) is not included in training and used only during testing. CNN is able to identify important patterns in the data, BiLSTM identifies temporal relationships, and the attention mechanism identifies the important features. Transfer learning helps the model to detect new types of attacks even without previous examples. This model is evaluated in comparison to other models including XGBoost, and to a similar model without transfer learning. Results show that the planned model performs better in terms of accuracy, detection rate, F1-score, and false alarm reduction.

Zero-Day Attack Detection Transfer Learning CNN BiLSTM Multi-Head Attention UNSW-NB15

Cite This Paper

Q. A. U. Din, A. U. Rehman, A. Muhammad, and S. Tariq, “Zero-Day Attack Detection Using CNN-BiLSTM with Multi-Head Attention and Transfer Learning,” Proc. Int. Conf. on AI, Cybersecurity, and Next-Gen Computing (ICACNC 2026), The Government Sadiq College Women University Bahawalpur, Jul. 2026, doi: 10.67535/tsp.000003.014.