Skip to main navigation Skip to search Skip to main content

A Comparative Analysis of Motif-Based and Quantum Feature Learning Techniques in Machine Learning Models for Network Anomaly Detection

  • University of Ghana

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

This study conducts a rigorous comparative evaluation of classical and hybrid quantum-classical machine learning (ML) models for network anomaly detection, with a particular emphasis on the impact of motif discovery and quantum feature extraction. The research explores how structural network motifs recurring subgraph patterns identified through directed graph analysis combined with quantum-enhanced feature representations, can improve the discriminative capacity of ML classifiers under noisy, real-world traffic conditions. A comprehensive set of experiments was conducted using six ML models: Support Vector Classifier (SVC), Random Forest, Gradient Boosting, XGBoost, Neural Network, and an ensemble meta-learner. Each model was evaluated across three distinct feature regimes: classical combined features, motif-only features, and quantum-derived features. Performance metrics including accuracy, precision, recall, F1-score, and ROC-AUC were analyzed to assess classifier robustness and generalization. The results demonstrate that motif-only features yielded superior classification performance compared to both classical and quantum-only features. Notably, the SVC model trained on motif features achieved the highest recall (0.515), F1-score (0.472), and ROC-AUC (0.609), indicating a strong ability to detect anomalous traffic patterns. Gradient Boosting on motif features also performed competitively with an accuracy of 71.1% and precision of 0.733. In contrast, models using combined features underperformed, suggesting that indiscriminate feature aggregation can dilute meaningful signal. Quantum-only features offered marginal improvements in recall over classical models but were outperformed by motif-driven approaches across most metrics. This research underscores the strategic value of structural motif discovery in feature engineering for network anomaly detection and reveals that quantum-enhanced features, while promising, require further refinement to consistently outperform classical methods. The study concludes that targeted motif-based representations provide a scalable and effective avenue for enhancing ML-based intrusion detection, and that their integration with quantum computing paradigms holds potential for future breakthroughs in cybersecurity analytics.

Original languageEnglish
Title of host publication2025 1st Future International Conference on Artificial Intelligence and Cybersecurity, FICAC 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages119-127
Number of pages9
ISBN (Electronic)9798331513832
DOIs
Publication statusPublished - 2025
Event2025 1st Future International Conference on Artificial Intelligence and Cybersecurity, FICAC 2025 - Cairo
Duration: 5 Nov 20256 Nov 2025

Publication series

Name2025 1st Future International Conference on Artificial Intelligence and Cybersecurity, FICAC 2025

Conference

Conference2025 1st Future International Conference on Artificial Intelligence and Cybersecurity, FICAC 2025
Country/TerritoryEgypt
CityCairo
Period5/11/256/11/25

Keywords

  • Anomaly Detection
  • Machine Learning
  • Network Motif Discovery
  • motif features
  • quantum features

Fingerprint

Dive into the research topics of 'A Comparative Analysis of Motif-Based and Quantum Feature Learning Techniques in Machine Learning Models for Network Anomaly Detection'. Together they form a unique fingerprint.

Cite this