Source-linked AI summary

Quantum Computing for Network Security Classification: Near-Term Classification and Long-Term Memory Efficiency

Yuqing Li, Poonam Bala Nehru, Yunpeng Zhang, Danindu Gammanpilage, Xin Jin, Zeguan Wu, Junyu Liu

arXiv:2609.36479v1quant-phcs.AIcs.LG

TL;DR

The paper asks how quantum computing may contribute to network-security classification beyond task-specific accuracy evaluations. It compares quantum-kernel SVMs with classical baselines and uses QOS-inspired estimates to examine memory efficiency; results are dataset-dependent, with a memory-size advantage over explicit sparse/QRAM-style storage but a more nuanced comparison with streaming.

  • Problem

    Existing network-security quantum studies mainly evaluate task-specific classification accuracy, while near-term and longer-term contributions, including memory requirements, have not been systematically discussed.

    Source: §I · p. 1
  • Method

    The paper compares quantum-fidelity-kernel and classical SVMs on binary security tasks and evaluates QOS-inspired memory-size estimates against classical storage proxies.

    Source: §I · p. 2
  • Results

    Quantum kernels show dataset-dependent performance, while the QOS-based estimate is smaller than explicit sparse/QRAM-style storage at comparable accuracy and has a more nuanced comparison with streaming.

    Source: §I · p. 2, §VI · p. 6
  • Takeaways & Limitations

    The findings position quantum kernels as task-dependent alternatives and suggest memory-efficient data access as a longer-term contribution to network-security classification.

    Source: §V · p. 5

Abstract

from arXiv · show

Quantum computing has already been explored in several network-security applications. However, how quantum computing may contribute to network-security classification in both the near term and the longer term has not been systematically discussed. This paper studies this question through two complementary experiments. First, we evaluate near-term quantum-kernel support vector machines (SVMs) on practical network-security classification tasks and compare them with classical SVM baselines on KDD Cup 1999, CICIDS2017, and BoT-IoT. Across these runs, quantum kernels are competitive. They can match or improve classical baselines in some settings, while classical RBF kernels remain stronger in others. This suggests that near-term quantum-kernel methods should be evaluated as practical, dataset-dependent alternatives to classical kernels rather than as uniformly superior replacements. Second, we use quantum oracle sketching (QOS) to study a longer-term memory advantage for classification with streaming classical samples. In QOS, samples are processed online and used to incrementally construct an approximate quantum oracle, which provides coherent query access for downstream quantum algorithms without retaining the entire dataset. Under the QOS-inspired machine-size estimate, comparable accuracy corresponds to a substantially smaller effective memory-size proxy than explicit sparse/QRAM-style storage. Compared with a simple streaming proxy, the result is more nuanced because aggressive feature filtering can make the streaming dimension small. This suggests that the long-term value of quantum computing for network-security classification may lie in memory-efficient data access rather than immediate runtime speedup. Together, these experiments show how quantum computing may contribute to network-security classification from near-term classification performance and longer-term memory efficiency.

I. INTRODUCTION

Prior network-security quantum studies emphasize accuracy on individual tasks, leaving the broader near-term and longer-term contributions less systematically discussed. This paper pairs controlled quantum-kernel SVM comparisons with a QOS-inspired memory analysis.

I. INTRODUCTION

  • The paper frames a gap beyond task-specific accuracy evaluations: quantum computing’s potential contributions to network-security classification across near-term performance and longer-term memory efficiency remain underexplored.Prior studies span intrusion, DDoS, anomaly, and attack-type classification, with reported performance dependent on dataset, model, and evaluation setting.Source: §I · p. 1
  • The near-term experiment compares quantum-kernel and classical SVMs on matched binary tasks, finding dataset-dependent results rather than a uniform quantum advantage.Quantum kernels can match or improve classical baselines in some settings, while classical RBF kernels remain stronger in others.Source: §I · p. 2
  • The QOS-inspired experiment estimates memory requirements for analogous binary tasks, finding a smaller proxy than explicit sparse/QRAM-style storage but a more nuanced comparison with streaming.Aggressive feature filtering can make the streaming dimension small.Source: §I · p. 2
  • The two experiments use KDD Cup 1999, CICIDS2017, and BoT-IoT to examine near-term kernel comparisons and longer-term memory estimates on practical binary tasks.The paper treats one-class anomaly decisions as binary at the output level, keeping their scope consistent with the QOS-inspired binary analysis.Source: §I · pp. 1–2

II. EXPERIMENTAL DESIGN

The experimental design builds controlled binary network-security tasks from three datasets. It compares SVM kernels for near-term performance and machine-size estimates for longer-term resource efficiency.

A. Datasets and Binary Tasks

  • KDD Cup 1999, CICIDS2017, and BoT-IoT provide controlled binary tasks for both the SVM comparison and QOS memory analysis.The experiments do not aim to cover every attack category.Source: A. Datasets and Binary Tasks · p. 2
  • KDD Cup 1999 and CICIDS2017 use one-class training on benign samples, while BoT-IoT uses supervised DoS-versus-DDoS classification because its subset has too few normal flows for stable one-class training.The one-class models make binary normal/benign-versus-attack decisions, but are not trained with a supervised binary objective.Source: A. Datasets and Binary Tasks · p. 2
  • The workflow compares classical RBF and quantum fidelity-kernel SVMs under matched samples and preprocessing, alongside classical and QOS-inspired machine-size estimates at comparable accuracy.The resource-efficiency branch contrasts streaming/sparse estimates with the QOS-inspired estimate.Source: A. Datasets and Binary Tasks · p. 2

B. Near-Term SVM Comparison

The near-term comparison holds the sampled data, preprocessing, and SVM objective fixed within each dataset so that the kernel function is the main difference. The pipeline reduces encoded features to angle inputs shared by classical and quantum SVMs.

B. Near-Term SVM Comparison

  • Classical and quantum models use the same sampled rows, train/test split, low-dimensional angle features, and training-fitted preprocessing pipeline.The workflow’s near-term branch compares classical and quantum SVM kernels for detection and classification performance.Source: B. Near-Term SVM Comparison · p. 2, Figure 1 · p. 3
  • KDD Cup 1999 and CICIDS2017 train one-class SVMs on normal or benign samples; BoT-IoT instead uses supervised DoS-versus-DDoS classification because stable one-class training is not supported by its subset.The BoT-IoT task uses balanced samples from the two attack classes.Source: B. Near-Term SVM Comparison · p. 2
  • After categorical encoding and numerical standardization, TruncatedSVD maps features to a shared dimension equal to the qubit count, and the resulting coordinates are scaled to angles in [0, π].The main runs use 12 dimensions for KDD Cup 1999 and CICIDS2017 and 10 for BoT-IoT.Source: B. Near-Term SVM Comparison · pp. 2–3
  • The classical SVM applies an RBF kernel to the shared angle features, while the quantum SVM uses fidelity between quantum feature states produced by an entangled feature map.The feature map uses single-qubit Ry rotations followed by nearest-neighbor phase interactions; exact statevector simulation computes the kernel matrix in row blocks to control memory.Source: B. Near-Term SVM Comparison · p. 3
  • Across eight random seeds, the main comparison reports ROC-AUC, average precision, and threshold-optimized best F1 as mean ± standard deviation.The one-class objective is used for KDD Cup 1999 and CICIDS2017, while BoT-IoT uses supervised SVC; comparisons should remain within each dataset and objective setting.Source: B. Near-Term SVM Comparison · p. 3

C. Longer-Term QOS Memory-Advantage Analysis

The QOS analysis treats machine size as an effective memory proxy and evaluates it for binary network-security classification. It compares estimates across feature-filtered datasets while distinguishing memory savings from runtime speedup.

C. Longer-Term QOS Memory-Advantage Analysis

  • QOS processes classical samples one at a time to build an approximate quantum oracle for downstream queries, rather than storing the full dataset in a quantum state.Under the QOS framework's assumptions, binary classification can use quantum machine size poly(log D).Source: C. Longer-Term QOS Memory-Advantage… · p. 4
  • Varying min df changes each feature matrix's dimension and sparsity; a ridge classifier's accuracy is recorded for each resulting matrix.The analysis applies this feature-filtering procedure to estimate memory requirements for comparable classification tasks.Source: C. Longer-Term QOS Memory-Advantage… · p. 4
  • The comparison is an estimate-based memory analysis, not a runtime or hardware-speedup claim; QOS is much smaller than explicit sparse/QRAM storage, while its advantage over streaming depends on feature filtering.The streaming estimate can become small when features are aggressively filtered.Source: C. Longer-Term QOS Memory-Advantage… · p. 4

III. NEAR-TERM SVM RESULTS

Near-term SVM results vary by dataset and task: classical RBF is stronger on KDD Cup 1999, quantum OCSVM results improve on CICIDS2017, and BoT-IoT metrics are split. A smaller-sample ablation likewise finds dataset- and setting-dependent behavior.

III. NEAR-TERM SVM RESULTS

  • KDD Cup 1999 favors the classical RBF OCSVM on all three metrics; CICIDS2017 favors the quantum OCSVM on ROC-AUC, AP, and best F1; BoT-IoT splits by metric.On BoT-IoT, classical RBF SVC has slightly higher ROC-AUC and AP, while quantum SVC has higher best F1; both are near saturation.Source: §III · p. 4
  • The authors relate the mixed results to task geometry after shared SVD-to-angle preprocessing, with the BoT-IoT best-F1 difference mainly reflecting a more favorable threshold.They describe the KDD reduced space as well matched to RBF geometry and the CICIDS2017 fidelity kernel as providing a better ranking signal.Source: §III · p. 4
  • In the smaller-sample ablation, RBF is the strongest tested classical kernel, qubit-count gains are nonmonotonic, and quantum kernels sometimes lead on KDD ROC-AUC/AP and BoT-IoT best F1.The ablation uses three seeds and smaller samples; its difference from the full KDD result underscores sensitivity to sampling scale.Source: §III · p. 4

IV. ORACLE SKETCHING AND MEMORY EFFICIENCY

The memory analysis varies feature filtering, measures ridge-classifier accuracy, and compares classical memory proxies with a QOS-inspired estimate. At comparable accuracy, QOS has a smaller effective memory-size proxy than explicit sparse/QRAM storage, but not uniformly than streaming.

IV. ORACLE SKETCHING AND MEMORY EFFICIENCY

  • The analysis varies min df to remove rare features, records ridge-classifier accuracy, and compares streaming, explicit sparse/QRAM-style, and QOS-inspired machine-size estimates.In this implementation, the QOS compact-oracle estimate scales logarithmically with dimensions and sparsity.Source: §IV · pp. 4–5
  • Across all three datasets, comparable accuracy is associated with a much smaller QOS effective memory-size proxy than explicit sparse/QRAM-style storage.The streaming comparison is not uniformly in QOS's favor because aggressive feature removal can make the streaming dimension small.Source: §IV · p. 5
  • The comparison is a memory-size analysis rather than a runtime-speedup claim, and it does not model the engineering cost of a real quantum data-access mechanism.The near-term SVM experiment is evaluated in simulation, while the oracle-sketching experiment compares effective memory-size proxies.Source: §IV · pp. 4–5

V. DISCUSSION

The experiments examine two distinct routes for quantum computing in network-security classification: task-dependent kernel alternatives and memory-efficient data access. They are not presented as one end-to-end quantum system.

V. DISCUSSION

  • The experiments suggest task-dependent near-term kernel alternatives and memory-efficient data access for future large-scale classification.The SVM comparison holds preprocessing and objectives fixed; the oracle-sketching experiment examines memory size.Source: §V · p. 5
  • The experiments do not demonstrate a unified, deployed quantum IDS pipeline.Kernel performance is evaluated under simulation, while QOS provides an estimate-based memory-size analysis.Source: §V · p. 5

CICIDS2017

The supplied figure caption identifies an ROC-AUC ablation across qubit counts and kernel choices, with error bars showing standard deviation across three seeds.

CICIDS2017

  • ROC-AUC is compared across qubit counts and kernel choices, with error bars showing standard deviation across three seeds.Source: Figure 2 · p. 5

VI. CONCLUSION

The paper concludes that quantum computing may contribute to network-security classification through near-term, task-dependent kernel alternatives and longer-term memory-efficient data access.

VI. CONCLUSION

  • Quantum kernels improve CICIDS2017 metrics and BoT-IoT best F1, but underperform the RBF baseline on KDD.Source: §VI · p. 6
  • QOS suggests a memory advantage over explicit sparse/QRAM-style storage, while comparison with a simple streaming proxy depends on feature filtering.Source: §VI · p. 6
Loading 2609.36479v1…