Hybrid Quantum-Classical Intrusion Detection under Severe Class Imbalance: A Controlled Comparison with a Classical Counterpart

Abstract Intrusion Detection Systems (IDSs) must detect known threats and zero-day attacks in traffic with strong class imbalance. This study evaluates, under controlled conditions, whether a variational quantum circuit (VQC) contributes to classification in a hybrid IDS. Tabular traffic features from CICIoT2023 (five classes) and UNSW-NB15 (binary) are converted to grayscale images and processed by a ResNet18 backbone followed by a dressed head with an eight-dimensional bottleneck. The core of the head is either a VQC with 32 parameters (ResNet18-VQC), simulated without noise, or a classical block with 72 parameters (ResNet18-CDN); everything else is identical. The backbone is reused without external pre-trained weights, either frozen or with Layer 4 fine-tuned together with a genetic algorithm on the output layer, and XGBoost serves as a tabular reference. Across ten seeds, the circuit produced no change in macro F1-score detectable against training variability in either dataset or regime (Holm-adjusted paired t -test, $$p\ge 0.907$$ ). A bootstrap on the test set found a small advantage of the VQC only in the frozen regime of CICIoT2023 (+0.007). XGBoost obtained the highest macro F1-score in both datasets (0.885 and 0.918). The results come from noiseless simulation and do not indicate quantum advantage.

Authors

Institutions

Publication Details

Journal
SN Computer Science
Published
2026-11-11
DOI
https://doi.org/10.1007/s42979-026-05444-0
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Hybrid Quantum-Classical Intrusion Detection under Severe Class Imbalance: A Controlled Comparison with a Classical Counterpart

Kelton Augusto Pontara da Costa, João Paulo Papa, Felipe Rodrigues Perche Mahlow, F. F. Fanchini et al.
SN Computer Science
Network Security and Intrusion Detection
article

Hybrid Quantum-Classical Intrusion Detection under Severe Class Imbalance: A Controlled Comparison with a Classical Counterpart

Kelton Augusto Pontara da Costa, João Paulo Papa, Felipe Rodrigues Perche Mahlow, F. F. Fanchini, Ricardo Conde Camillo da Silva, Scherer Rafal
article en

Abstract

Abstract Intrusion Detection Systems (IDSs) must detect known threats and zero-day attacks in traffic with strong class imbalance. This study evaluates, under controlled conditions, whether a variational quantum circuit (VQC) contributes to classification in a hybrid IDS. Tabular traffic features from CICIoT2023 (five classes) and UNSW-NB15 (binary) are converted to grayscale images and processed by a ResNet18 backbone followed by a dressed head with an eight-dimensional bottleneck. The core of the head is either a VQC with 32 parameters (ResNet18-VQC), simulated without noise, or a classical block with 72 parameters (ResNet18-CDN); everything else is identical. The backbone is reused without external pre-trained weights, either frozen or with Layer 4 fine-tuned together with a genetic algorithm on the output layer, and XGBoost serves as a tabular reference. Across ten seeds, the circuit produced no change in macro F1-score detectable against training variability in either dataset or regime (Holm-adjusted paired t -test, $$p\ge 0.907$$ ). A bootstrap on the test set found a small advantage of the VQC only in the frozen regime of CICIoT2023 (+0.007). XGBoost obtained the highest macro F1-score in both datasets (0.885 and 0.918). The results come from noiseless simulation and do not indicate quantum advantage.

SN Computer ScienceVol. 7(8)
Federal Institute of São Paulo (BR), Częstochowa University of Technology (PL), Universidade Estadual Paulista (Unesp) (BR)
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon