Back to search

Carleton University

Correlation-Aware Variational Autoencoder with Cross-Attention for Zero-Day Network Anomaly Detection

Abstract

dc:description.abstract

Network intrusion detection systems struggle to identify zero-day attacks using traditional Autoencoders (AEs) that rely on hand-crafted statistical features and assume simplified latent representations. This thesis introduces CAVAD, a novel Correlation- Aware Variational Autoencoder framework designed to overcome these limitations. CAVAD operates directly on raw packet bytes to preserve fine-grained attack signatures. Its key innovations include modeling complex inter-dimensional dependencies using full-covariance Gaussian posteriors and a Dual-Directional Cross-Attention mechanism that verifies semantic consistency between packet headers and payloads. Extensive evaluation on the CICIDS-2017 and CICIDS-2018 datasets demonstrates CAVAD’s superior performance compared to state-of-the-art baselines. On CICIDS- 2017, it achieved 94.54% accuracy and a 96.22% F1-score. The framework’s robustness was proven on the CICIDS-2018 dataset under severe traffic imbalance, where it achieved 94.7% attack detection accuracy with an 80% accuracy on benign traffic. This research confirms that modeling correlated latent representations from raw packets substantially enhances zero-day attack detection.

Degree

thesis:*
Name thesis:degree_name
Master of Applied Science (M.App.Sc.)
Level thesis:degree_level
Master's
Discipline thesis:degree_discipline
Engineering, Electrical and Computer
Grantor dc:publisher
Carleton University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Zhang, Yifei

Subjects

dc:subject × 2

Rights

dc:rights
Statement dc:rights
  • Copyright © 2025 the author(s). Theses may be used for non-commercial research, educational, or related academic purposes only. Such uses include personal study, distribution to students, research and scholarship. Theses may only be shared by linking to the Carleton University Institutional Repository and no part may be copied without proper attribution to the author; no part may be used for commercial purposes directly or indirectly via a for-profit platform; no adaptation or derivative works are permitted without consent from the copyright owner.
Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Carleton University
Base URL
carleton.scholaris.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Zhang, Yifei. Correlation-Aware Variational Autoencoder with Cross-Attention for Zero-Day Network Anomaly Detection. Master's thesis, Carleton University, 2026. https://hdl.handle.net/20.500.14718/45195