Abstract
As the volume of cyber threats escalates, security teams face significant challenges in prioritizing vulnerabilities for remediation. This paper presents a novel Quantum Machine Learning (QML) framework designed to improve the clustering and categorization of cybersecurity vulnerabilities. By utilizing quantum-enhanced distance calculations—specifically QCSWAPK-means and QkernelK-means—the research demonstrates superior precision in risk stratification compared to classical algorithms. Applied to the 2022 CISA Known Exploited Vulnerabilities (KEV) catalog, the quantum models achieved higher Silhouette scores and better cluster separation, offering a more strategic approach to proactive defense.
Introduction
The modern cybersecurity landscape is characterized by an overwhelming influx of vulnerabilities, leaving security professionals struggling to identify which threats require immediate intervention. Traditional prioritization methods often rely on classical clustering algorithms like k-means to group similar threats. However, these methods frequently struggle with high-dimensional data and produce "fuzzy" clusters that fail to clearly delineate risk levels.
This study addresses these limitations by integrating quantum computing principles—such as interference and entanglement—into unsupervised learning. The goal is to develop a more discerning mechanism for vulnerability management, allowing organizations to allocate resources more effectively by identifying high-risk clusters with greater accuracy.
Methodology
The researchers developed a hybrid framework that combines classical data preprocessing with quantum-enhanced clustering algorithms. The core innovation centers on two distinct quantum approaches:
1. QCSWAPK-means
This algorithm utilizes the Controlled SWAP (CSWAP) test to measure similarity. In a quantum circuit, an ancillary qubit is employed to determine the overlap between a data point and a cluster centroid. This quantum measurement replaces the standard Euclidean distance calculation used in classical k-means, leveraging quantum state properties to assess similarity.
2. QkernelK-means
Inspired by Quantum Support Vector Machines, this method employs quantum kernels to calculate similarity. By mapping data into a high-dimensional quantum state space via unitary transformations, the algorithm can identify complex, non-linear patterns that are often invisible to classical computational methods.
Data Encoding
To process classical data on quantum simulators, the study utilized angle encoding. Each feature of a data point was mapped to the state of a qubit on the Bloch sphere. For the two-feature dataset used in this study, the kernel method required only two qubits, while the CSWAP method utilized five, demonstrating the efficiency of quantum representation for cybersecurity datasets.
Experimental Setup and Dataset
The framework was evaluated using the 2022 CISA Known Exploited Vulnerabilities (KEV) catalog, comprising 777 data samples. The researchers focused on categorical features, specifically "Vendor/Project" and "Product" identifiers, which were converted into numerical values via label encoding. The objective was to uncover latent patterns in vulnerability propagation across different software ecosystems and vendors.
Results and Discussion
The quantum algorithms demonstrated a statistically significant advantage over classical methods across three primary clustering metrics:
- Silhouette Score: Quantum methods achieved a score of 0.491, outperforming classical k-means (0.451) and spectral clustering (0.486). This indicates that the quantum-derived clusters were better defined and more cohesive.
- Davies-Bouldin Index: The quantum models produced lower scores (0.739 - 0.745) compared to classical k-means (0.883), signifying superior cluster separation.
- Calinski-Harabasz Index: QkernelK-means reached a score of 885.954, substantially higher than the classical k-means score of 678.137.
Beyond numerical metrics, the framework successfully stratified vulnerabilities into four distinct risk "buckets":
- Cluster 0: Critical, high-exposure vulnerabilities primarily affecting Microsoft products.
- Cluster 1: Medium-severity threats distributed across diverse enterprise software.
- Cluster 2: High-severity vulnerabilities concentrated in Adobe, Cisco, and Google products.
- Cluster 3: High-to-medium severity threats, largely involving Microsoft and Oracle.
These results suggest that quantum state overlap provides a more nuanced metric for similarity than Euclidean distance, allowing for the identification of "critical mass" areas where risk is disproportionately concentrated.
Conclusion and Future Work
This research highlights the potential of QML to transform cybersecurity operations. By producing more compact and well-separated clusters, the quantum framework enables more precise risk categorization than traditional classical approaches.
However, several limitations remain. The study was conducted on the PennyLane quantum simulator; future research must validate these results on Noisy Intermediate-Scale Quantum (NISQ) hardware to account for physical decoherence and noise. Additionally, the authors plan to expand the feature set to include CVSS sub-scores and attack vector details, and to test the scalability of the framework on larger, real-time datasets. Despite these hurdles, the study provides a compelling proof-of-concept for quantum-enhanced strategic defense.
Summary updated