<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Quantity, Quality, and Quantum Perspectives in Data-Driven Cybersecurity</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mansur Ziiatdinov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Salvatore Distefano</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Messina</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper addresses the critical challenge of imbalanced datasets in data-driven cybersecurity, afecting model eficacy. It investigates the impact of data quantity and quality management through random undersampling on multiclass classification using the UNSW-NB15 dataset and Support Vector Classifiers (SVC). Furthermore, it explores a quantum perspective by examining quantum SVC with diferent sampling methods. Obtained results show that balanced datasets, achieved via undersampling, yield superior classification performance. While quantum approaches demonstrate fast learning, current noise limitations are noted. This work underscores the importance of data preprocessing and highlights future avenues for quantum machine learning in robust threat detection.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Cybersecurity Analytics</kwd>
        <kwd>Network Intrusion Detection</kwd>
        <kwd>Data Quality</kwd>
        <kwd>Data Balancing</kwd>
        <kwd>Undersampling</kwd>
        <kwd>Machine Learning</kwd>
        <kwd>Quantum Computing</kwd>
        <kwd>Quantum Machine Learning</kwd>
        <kwd>Multiclass Classification</kwd>
        <kwd>UNSW-NB15 Dataset</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Cybersecurity is a fundamental quality aspect of Information and Communication Technologies aiming
to, e.g., restrict access to sensitive data, protect critical infrastructure from disruption, and ensure
national security against digital espionage and sabotage. The digital landscape poses persistent and
increasingly dificult threats, challenges, and evolving issues, including sophisticated ransomware
attacks, widespread phishing campaigns, distributed denial-of-service (DDoS) attacks, and insider
threats, to name a few. Such problems may be afected by rapidly evolving attack vectors, the increasing
complexity of systems, human error, and the growing vulnerabilities in Internet of Things (IoT) devices.
To address them, a combination of proactive and reactive solutions is consistently required. Proactive
measures include, e.g., threat intelligence, vulnerability management, security by design principles,
encryption, firewalls, and intrusion prevention systems. Reactive measures encompass approaches
such as robust incident response frameworks, digital forensics, prompt patch management, intrusion
detection systems (IDS), and comprehensive malware analysis.</p>
      <p>Models are of strategic importance in addressing both approaches. Models are usually used to design
and to assess computing system Cybersecurity aspects, and are particularly useful for predicting and
identifying threats as well as for assessing their impact. But, for such a purpose, they need large amount
of data to either fit statistical parameters and distributions of white-box models or to train black-box
(e.g. machine learning) ones. This is moving the focus of cybersecurity research on datasets and data
management, towards data-driven cybersecurity.</p>
      <p>As a consequence, cybersecurity data management presents significant challenges regarding data
availability, quantity and size, i.e. the number of data points available in a dataset. Cybersecurity datasets,
indeed, are typically quite unbalanced. Attack events, such as man-in-the-middle attacks, worm
infections, malware propagation, denial-of-service (DoS) attacks, SQL injection, cross-site scripting (XSS),
and privilege escalation, are inherently rare in real-world observations. Furthermore, cybersecurity data
quality impacts on quantity, implying preprocessing activities such as filtering, cleaning, aggregation,
and fusion that may afect the dataset size. Data scarcity in cybersecurity may lead to biased and
misleading representation of normal versus anomalous activities.</p>
      <p>Considering classification problems and machine learning models, therefore, dealing with data
quantity and quality in cybersecurity analysis is of utmost importance. Widely unbalanced datasets
may lead to model overfitting, where the model learns the majority class too well and performs poorly
on the rare attack instances. Conversely, small datasets can result in low accuracy and generalizability,
failing to capture the complexity of real-world phenomena.</p>
      <p>This paper performs an in-depth analysis of unbalanced datasets. It applies undersampling techniques
to obtain balanced datasets with diferent sizes. These modified datasets are then compared against
their original, unbalanced counterparts. The objective is to determine a proper size and optimal
mixture among classes for efective classification problems. Even diferent computational paradigms
are considered within this comparison, including classical and quantum computing approaches.</p>
      <p>The results obtained from investigating a real-world cybersecurity dataset provide interesting insights.
The study demonstrates the efectiveness of random undersampling techniques. Furthermore, it reveals
better performance with balanced datasets, as opposed to unbalanced ones. This trend is much more
evident and further highlighted by increasing the dataset size to widely unbalanced ones.</p>
      <p>
        The remainder of the paper is organized as follows. Section 2 introduces and defines data-driven
cybersecurity, while Section 3 provides the background solutions and technologies for its enforcement.
Section 4 reports a case study on network intrusion detection systems based on the well-known
UNSWNB15 dataset [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ], dealing with classification problems exploiting both classical and quantum ML
models. Section 5 closes the paper with some final remarks.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Data-driven Cybersecurity</title>
      <p>
        Data-driven cybersecurity is an emerging approach that leverages data science and technologies such
as advanced analytics, machine learning, and vast amounts of security-related data to enhance the
detection, prevention, and response to cyber threats [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Data-driven security fundamentally redefines
the approach to cyber defense by leveraging computational analysis of extensive datasets to detect,
predict, and mitigate threats. This paradigm shifts from reactive, signature-based detection to a proactive,
adaptive posture, driven by insights extracted from various security telemetry sources [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. The core
principle involves transforming raw, heterogeneous security data—including network trafic logs, system
event records, user behavior profiles, and vulnerability scans—into actionable intelligence through
sophisticated analytical techniques.
      </p>
      <p>
        This paradigm shift from traditional, reactive security measures to proactive data-centric
methodologies has become essential as cyber threats grow in complexity and frequency. The increasing complexity
and frequency of cyber threats necessitate this evolution. By processing structured, semi-structured, and
unstructured data, organizations can derive actionable insights that inform robust security strategies,
thereby enhancing overall resilience against cyber attacks [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>
        At its heart, data-driven security relies heavily on machine learning (ML) and deep learning
algorithms. These models are trained on historical and real-time data to identify intricate patterns indicative
of malicious activity or anomalies that deviate from established baselines [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. This approach harnesses
advanced analytics, machine learning (ML), and extensive security-related datasets to improve the
detection, prevention, and response to cyber threats [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. ML algorithms facilitate real-time adaptation and
anomaly detection, significantly reducing the time required to identify and mitigate threats. Empirical
evidence suggests that security teams employing data-driven techniques exhibit a swifter response
to security breaches compared to those relying on conventional methods, underscoring the criticality
of data-centric strategies in modern cybersecurity frameworks [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Furthermore, the application of
predictive analytics empowers organizations to anticipate potential threats before their materialization,
marking a significant evolution in the cybersecurity landscape [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>
        Despite its demonstrable advantages, data-driven cybersecurity encounters several inherent
challenges. These include issues pertaining to data quality, the complexities of regulatory compliance, and
the imperative for efective inter-team collaboration. The reliance on diverse data sources necessitates
rigorous data management practices to ensure the accuracy and relevance of information, as suboptimal
data quality can inherently compromise threat detection capabilities. Moreover, organizations must
diligently navigate the intricate landscape of evolving data privacy regulations while simultaneously
optimizing model performance to mitigate false positives and combat alert fatigue. Data-driven security
systems, particularly in areas like smart grids, face challenges in integrating diverse data sources and
ensuring real-time analysis [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Similarly, for Android systems, flexible data-driven security models are
explored to address emerging threats [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. Smart cities also present opportunities and challenges for
data-driven cybersecurity [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ].
      </p>
      <p>
        As the cybersecurity landscape continues its dynamic evolution, the emphasis on data-driven
methodologies is projected to intensify, solidifying its role as a vital component of organizational security
strategies. The continuous progression of technologies such as artificial intelligence (AI) and machine
learning is poised to further amplify the potential of data-driven cybersecurity in advanced threat
management, thereby reinforcing its indispensable significance in safeguarding sensitive information
within an increasingly digitized global environment. This includes applications in industrial control
systems, where multilayer data-driven cyber-attack detection systems are being developed based on
network, system, and process data [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. The big data era also emphasizes the shift from merely securing
big data to leveraging data for enhanced security [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. This data-driven approach aims to improve
autonomous systems through data analytics and cybersecurity [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ].
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Methods</title>
      <sec id="sec-3-1">
        <title>3.1. Machine learning</title>
        <p>
          Machine learning (ML) enables systems to learn patterns from data without explicit programming. It
involves training models on datasets to make predictions or decisions. This process involves defining a
problem, collecting a dataset, data cleaning and feature engineering, selecting and training a model,
evaluating it and deploying the trained model. This section contains brief introduction to the ML; for
more detailed exposition please refer, for example, to [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ].
        </p>
        <p>A dataset is a structured collection of data items, typically represented as a matrix where rows
correspond to samples and columns represent features. For the supervised learning, the dataset additionally
contains the labels for each data item that represent the ground truth value. Formally, the dataset is
denoted by X = {x1, . . . , x} ∈ R× , the corresponding labels are denoted by  ∈ , where  is an
arbitrary finite set,  = 1, . . . , , and each class is denoted by C = {x ∈ X |  = }, where  ∈ .
By definition, C ∩ C = ∅ for  ̸= , and ⋃︀∈ C = X. Once the dataset is defined, the next step is
to split it into training and testing subsets to evaluate model performance.</p>
        <p>The dataset X is divided into training Xtrain and testing Xtest subsets to evaluate model performance:
X = Xtrain ∪ Xtest; Xtrain ∩ Xtest = ∅. The training set is used to train the model, while the test set
assesses its generalization to unseen data. Common splits include 80% training and 20% testing, with
stratified sampling to maintain tasks (i.e. the training and testing datasets contain the same proportion
of items of diferent classes). This ensures that the model performance is measured on representative
data.</p>
        <p>Building on this, multi-class classification is a supervised learning task where the goal is to assign
input data to one of multiple classes. Unlike binary classification, which distinguishes between two
classes, multi-class problems require models to diferentiate between three or more categories (e.g.,
classifying images into “cat,” “dog,” “bird”, or, as in our case, diferent types of attacks). To evaluate such
models, specific metrics are used.</p>
        <p>One of the metrics to evaluate the model efectiveness is the 1 score. This metric balances precision
(TP/(TP + FP)) and recall (TP/(TP + FN)), addressing trade-ofs between false positives (FP) and false
negatives (FN). For multi-class problems, the macro-averaged 1 score, the unweighted mean of 1
score for all classes, provides a balanced measure of model performance.</p>
        <p>There are a multitude of methods that can be used to solve the classification problem. One such
method is the use of support vector machines (SVMs). SVMs identify the optimal hyperplane to
separate classes in feature space. The Support Vector Classifier (SVC) is an implementation of SVM for
classification. Formally, SVC solves the following optimization problem
maximize
( 1,..., )
s.t.</p>
        <p>∑︀=1   − 12 ∑︀=1 ∑︀=1      (x, x ),</p>
        <p>0 ≤   ≤  and ∑︀=1   = 0,
where  (x, x ) = x · x denotes the dot product, the weights   are associated with the support
vectors (the points closest to the separating hyperplane), and  is a regularization hyperparameter.</p>
        <p>A key technique in SVMs is the kernel trick, which maps input data into a higher-dimensional space
using an arbitrary kernel function (x, x ) instead of the dot product. This allows linear separation
of non-linearly related data without explicitly computing the transformation, improving eficiency and
lfexibility. One of the most widely used kernels is the Radial Basis Function (RBF) kernel.</p>
        <p>The RBF kernel, defined as (, ) = exp(−  ‖ − ‖2), where  controls the kernel influence,
is a popular choice for non-linear problems. By mapping data into an infinite-dimensional space, it
efectively captures complex, non-linear relationships. This makes the RBF kernel particularly valuable
in scenarios where data is not linearly separable.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Imbalanced datasets and sampling</title>
        <p>In machine learning, sampling refers to the process of selecting a subset of data from a larger dataset to
train models. This is particularly critical when dealing with imbalanced datasets, where one class (the
majority class) significantly outnumbers the other (the minority class): i.e. if some class  outnumbers
other classes  : || ≫ |  |. Proper sampling techniques help ensure that models are trained on
representative data, reducing bias and improving generalization. Building on this, undersampling
methods are specifically designed to address class imbalance by removing some instances in the
majority class.</p>
        <p>To address class imbalance, undersampling techniques are employed to balance the dataset by
decreasing the number of majority class samples. Two common approaches are:
Random undersampling. This method randomly selects a subset of the majority class samples
to match the number of minority class samples. For example, if the minority class has 100 instances
and the majority class has 1,000, random undersampling would randomly retain majority samples.
While simple and computationally eficient, this approach risks losing important information from the
majority class, as random selection does not consider the distribution or relevance of the samples.
NearMiss methods. There are several closely related undersampling techniques that selects majority
class samples based on their proximity to the minority class. This study focuses on NearMiss-3 method,
which operates in three steps:
• For each minority sample, identify its  nearest neighbors from the majority class.
• select the  samples that are farthest from the minority sample (to avoid overfitting to noisy or
outlier samples).</p>
        <p>• Retain these selected majority samples for the balanced dataset.</p>
        <p>This method preserves the structure of the majority class while focusing on regions where the minority
class is most prevalent, making it more efective than random undersampling in retaining meaningful
patterns.</p>
        <p>By incorporating these undersampling strategies, it is possible to mitigate the efects of class imbalance
and achieve robust and fair model performance.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Quantum computing</title>
        <p>
          Quantum computing leverages principles of quantum mechanics, such as superposition and
entanglement, to perform computations that are infeasible for classical computers. Unlike classical bits,
which exist in a state of 0 or 1, quantum systems use qubits (quantum bits) to encode information in a
superposition of states. This enables parallelism and exponential speedups for specific problems, such as
factoring large numbers or simulating quantum systems. This section provides a basic introduction into
quantum computing; for a more detailed introduction please refer, for example, to the textbook [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ].
        </p>
        <p>A qubit is the fundamental unit of quantum information. It is represented as a quantum state in a
two-dimensional Hilbert space:</p>
        <p>| ⟩ =  |0⟩ +  |1⟩,
correspond to classical bits, but the qubit can exist in any linear combination of these states.
where ,</p>
        <p>∈ C are complex amplitudes satisfying | |2 + | |2 = 1. The basis states |0⟩ and |1⟩
For  qubits, the combined quantum state lives in a 2-dimensional Hilbert space. For example, two
qubits can be in a state:</p>
        <p>| ⟩ =  |00⟩ +  |01⟩ + 10⟩ +  |11⟩,
correlated in ways impossible for classical systems. A classic example is the Bell state:
where | |2 + | |2 + | |2 + | |2 = 1. This state can exhibit entanglement, where the qubits’ states are
1
|
Φ+⟩ = √2 (|00⟩ + |11⟩).
the state of an -qubit system is written as | ⟩ = ∑︀2− 1
=0   |⟩.</p>
        <p>The notation |⟩ for a number  ∈ Z≥ 0 means that |⟩ is a basis state with qubit states corresponding
to the binary notation of the number . For example, the state |10⟩ can be written as |2⟩, and in general,</p>
        <p>Quantum states can be modified by performing quantum operations. They are described by unitary
matrices  , which preserve the norm of the quantum state. For a single qubit, the Hadamard gate 
and Pauli gates , ,  are fundamental:
 = √
1 (︂ 1</p>
        <p>1 )︂
2</p>
        <p>Pauli gates can be used to define rotation gates, for example,  ( ) = −  / 2, where  ∈ [0, 2 ):
 ( ) =
︂( cos(/ 2) − sin(/ 2))︂
sin(/ 2)
cos(/ 2)
.</p>
        <p>Another important gate is the controlled-NOT (CNOT) gate, which is analogous to the “if-then-else”
construction in the classical programming:
CNOT = ⎜⎜⎝00 10 00 01⎟⎠⎟ .</p>
        <p>0 0 1 0
encode it in a quantum state.
encoding strategies include:</p>
        <p>To extract the information from the quantum state, one needs to perform measurements and get a
classical outcome. For a qubit in state | ⟩ = ∑︀2− 1</p>
        <p>=0   |⟩, the probability of measuring |⟩ is |  |2.</p>
        <p>After the measurement, the state collapses to the observed basis state, so subsequent measurements
will return the same outcome with probability 1.</p>
        <p>Quantum Machine Learning (QML) combines principles from quantum computing and machine
learning. It is used to process and analyze data, often ofering advantages in speed, scalability, or
expressivity over classical methods. QML typically outsources some step in the ML pipeline to a
quantum computer. In order to work with classical data on a quantum computer, it is necessary to
Data encoding is the process of translating classical input data into quantum states. Common
• amplitude encoding that represents 2-dimensional data as the amplitudes of a -qubit quantum
state:
• angle encoding that represents data as the angles of rotations, for example:
| (x)⟩ =
1</p>
        <p>∑︁ , |⟩ ,
‖x‖ =1

| (x)⟩ = ∏︁ ()(, ) ⃒⃒ 0⊗ ⟩︀ ,</p>
        <p>=1</p>
        <p>The choice of encoding depends on the task, the quantum hardware, and the desired trade-of between
expressivity and complexity.</p>
        <p>
          This study adopts a heuristic real amplitudes encoding ⃒⃒  qra(x)︀⟩ from the Qiskit circuit
library [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ], denoted here as QRA. This technique involves several layers of angle encoding interspersed
with entanglement layers. Since it is dificult to express the encoded state in closed form, the
corresponding circuit is described. Let the number  of qubits and the number of layers  be such that
 = , where  is the number of features. Then
⃒⃒  qra(x)︀⟩ = 1(x) 2(x) × · · · ×
 (x),
where  (x) = ⨂︀=1 Y(,+) rotates the qubits to encode some of the features (i.e.
,(− 1)+1, ,(− 1)+2, . . . , ,(− 1)+). The entanglement layer  performs CNOT gates between
-th and  + 1-th qubits for  ∈ { − 2,  − 3, . . . , 1, 0}. See Figure 1 for an example.
 (1)
 (2)
 (3)
 (4)
 (5)
 (6)
 (7)
 (8)
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Case study and experiments</title>
      <sec id="sec-4-1">
        <title>4.1. Dataset and testbed</title>
        <p>
          This study is based on the widely adopted UNSW-NB15 dataset [
          <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
          ] created for network intrusion
detection systems. Additionally, it has been cleaned from contaminant features [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ]. Each data item in
the dataset is the description of a network packet. After the cleaning and encoding the categorical feature
as an ordinal, the training dataset contains  = 175 341 data items with  = 32 numeric features, while
the test dataset contains 82 332 data items with the same features. Each data item is associated with two
labels: first, it is labeled as a “normal” packet or as an “attack” packet; second, it is further labeled by
diferent attack types, i.e. “Backdoor”, “DoS”, “Exploits”, etc. (10 classes in total). The dataset is highly
imbalanced: for example, the smallest class “Worms” contains only 130 data items, while the “Exploits”
class contains 33 393 data items. The whole dataset is denoted by X = {x1, . . . , x} ∈ R× , the
corresponding labels are denoted by  ∈ , where  = {Backdoor, . . . , Worms} and  = 1, . . . , , and
each class is denoted by C = {x ∈ X |  = }, where  ∈ . By definition, C ∩ C = ∅ for  ̸= ,
and ⋃︀∈ C = X.
        </p>
        <p>All tests were performed on a machine with the following characteristics. CPU: AMD Ryzen 9 5950X,
RAM: 64 GiB, OS: Linux, kernel: 6.6.74-gentoo, Python: 3.12.9, jupyter-core: 5.7.2, numpy: 2.2.2, qiskit:
1.3.2, qiskit-machine-learning: 0.8.2, scikit-learn: 1.6.1. The source code is available upon request.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Undersampling to Balance the Dataset</title>
        <p>The case study focus on the efects of balancing the dataset on the multiclass classification of a packet
into various attack classes. In this experiment, given the required class size ℓ, the random undersampling
method selects a random subset C′ ⊆ C for each class  ∈ . If ℓ ≤ | C| then |C′| = ℓ; otherwise,
the random undersampling method selects the whole class: C′ = C, and |C′| &lt; ℓ. After the random
undersampling step, the support vector classifier [ 19] is trained to classify the data items on the selected
subset X′ = ⋃︀∈ C′ of training dataset and its performance is assessed on randomly selected 100
data items (10 data items per class) from test dataset by using 1 score averaged over all classes.</p>
        <p>The experiment results are reported in Figure 2. Note that the maximum average 1 score roughly
coincides with ℓ = 130, which is the maximum ℓ value when the selected subset is still balanced, so
training on an imbalanced dataset doesn’t improve the results.</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Quantum Approaches for Learning</title>
        <p>
          Another (preliminary) result of this study is the investigation of the behavior of the quantum SVC in
conjunction with diferent sampling techniques such as random undersampling and the NearMiss-3
method [20], which is based on geometric ideas. The heuristic quantum kernel real amplitudes [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]
(denoted here as QRA-8-4; the kernel uses 8 qubits and 4 layers of encoding gates) is compared with
classical RBF kernel. In the experiment, the sampler selects a subset of the training set, and the SVC
is trained on this subset. The average 1 scores obtained in the experiment are reported on Figure 3.
As it can be seen, the classical methods outperform the quantum one, and the random undersampling
technique overperforms the NearMiss-3 method in both classical and quantum paradigms.
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusions</title>
      <p>This study rigorously investigated the interconnected challenges of data quantity and quality in
multiclass classification within data-driven cybersecurity, while also providing a preliminary quantum
perspective. Our experiments with the UNSW-NB15 dataset unequivocally demonstrate the critical
influence of data imbalance on model performance. We found that strategically managing data quantity
through random undersampling techniques to create balanced training sets significantly enhances
classification accuracy and generalizability compared to using highly imbalanced datasets, thereby
proving the direct link between data quality improvements and model eficacy. This finding highlights
the essential role of diligent data preprocessing and balancing strategies in developing efective threat
detection systems.</p>
      <p>Furthermore, our preliminary exploration into the quantum perspective of machine learning,
specifically with the quantum Support Vector Classifier, revealed promising fast learning capabilities. This
suggests a compelling potential for quantum computing to ofer novel computational paradigms for
cybersecurity analytics in the future. However, it is crucial to acknowledge the current technological
limitations, particularly concerning noise efects in contemporary quantum hardware, which underscore
the need for continuous advancements in both quantum hardware and algorithm development.</p>
      <p>Future work should focus on a deeper exploration of advanced data balancing techniques, including
more sophisticated methods for managing data quantity and quality beyond simple undersampling.
Investigating the robustness and scalability of quantum machine learning models on larger and more
diverse cybersecurity datasets will be paramount. Additionally, developing and implementing efective
noise mitigation strategies will be key to unlocking the full potential of quantum approaches and
transitioning these theoretical perspectives into practical, high-impact cybersecurity applications.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgments</title>
      <p>We acknowledge financial support under the National Recovery and Resilience Plan (PNRR), Mission
4, Component 2, Investment 1.4, Call for tender No. 1031 published on 17/06/2022 by the Italian
Ministry of University and Research (MUR), funded by the European Union – NextGenerationEU,
Project Title "National Centre for HPC, Big Data and Quantum Computing (HPC)" – Code National
Center CN00000013 – CUP D43C22001240001. This work has also been supported by the European
Union - Next Generation EU under the Italian National Recovery and Resilience Plan (NRRP), Mission
4, Component 2, Investment 1.3, project 3D-SEECSDE, CUP J33C22002810001, partnership on “SEcurity
and RIghts in the CyberSpace” (PE00000014 - program “SERICS”).</p>
    </sec>
    <sec id="sec-7">
      <title>Declaration on Generative AI</title>
      <p>During the preparation of this work, the author(s) used LLM tools in order to: Grammar and spelling
check. After using these tool(s)/service(s), the author(s) reviewed and edited the content as needed and
take(s) full responsibility for the publication’s content.
contaminant features in intrusion detection datasets, in: 2022 19th Annual International Conference
on Privacy, Security &amp; Trust (PST), 2022, pp. 1–11. doi:10.1109/PST55820.2022.9851974.
[19] C. Cortes, V. Vapnik, Support-vector networks, Machine Learning 20 (1995) 273–297. doi:10.</p>
      <p>1007/bf00994018.
[20] I. Mani, I. Zhang, knn approach to unbalanced data distributions: a case study involving information
extraction, in: Proceedings of workshop on learning from imbalanced datasets, volume 126, ICML
United States, 2003, pp. 1–7.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>N.</given-names>
            <surname>Moustafa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Slay</surname>
          </string-name>
          , Unsw-nb15:
          <article-title>a comprehensive data set for network intrusion detection systems (unsw-nb15 network data set)</article-title>
          ,
          <source>in: 2015 Military Communications and Information Systems Conference (MilCIS)</source>
          ,
          <year>2015</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>6</lpage>
          . doi:
          <volume>10</volume>
          .1109/MilCIS.
          <year>2015</year>
          .
          <volume>7348942</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>N.</given-names>
            <surname>Moustafa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Slay</surname>
          </string-name>
          , Unsw-nb15,
          <year>2024</year>
          . doi:
          <volume>10</volume>
          .34740/KAGGLE/DSV/9350725.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M.</given-names>
            <surname>Mattei</surname>
          </string-name>
          ,
          <string-name>
            <surname>Data-Driven</surname>
            <given-names>Cybersecurity</given-names>
          </string-name>
          :
          <article-title>Reducing risk with proven metrics, Manning Publications</article-title>
          , Shelter Island, NY,
          <year>2025</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>I. H.</given-names>
            <surname>Sarker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kayes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Badsha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Alqahtani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Watters</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ng</surname>
          </string-name>
          ,
          <article-title>Cybersecurity data science: an overview from machine learning perspective</article-title>
          ,
          <source>Journal of Big data 7</source>
          (
          <year>2020</year>
          )
          <fpage>1</fpage>
          -
          <lpage>29</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J.</given-names>
            <surname>Jacobs</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Rudis</surname>
          </string-name>
          ,
          <article-title>Data-driven security: analysis, visualization and dashboards</article-title>
          , John Wiley &amp; Sons,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Hesham</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Essam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Bahaa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Mohamed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gomaa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Hany</surname>
          </string-name>
          , W. Elsersy,
          <article-title>Evaluating predictive models in cybersecurity: A comparative analysis of machine and deep learning techniques for threat detection</article-title>
          ,
          <source>in: 2024 Intelligent Methods, Systems, and Applications (IMSA)</source>
          ,
          <year>2024</year>
          , pp.
          <fpage>33</fpage>
          -
          <lpage>38</lpage>
          . doi:
          <volume>10</volume>
          .1109/IMSA61967.
          <year>2024</year>
          .
          <volume>10652833</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>R.</given-names>
            <surname>Coulter</surname>
          </string-name>
          , Q.-L. Han,
          <string-name>
            <surname>L</surname>
          </string-name>
          . Pan,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xiang</surname>
          </string-name>
          ,
          <article-title>Data-driven cyber security in perspective-intelligent trafic analysis</article-title>
          ,
          <source>IEEE transactions on cybernetics 50</source>
          (
          <year>2019</year>
          )
          <fpage>3081</fpage>
          -
          <lpage>3093</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>N.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , P. Rimba,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. Y.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xiang</surname>
          </string-name>
          ,
          <article-title>Data-driven cybersecurity incident prediction: A survey</article-title>
          ,
          <source>IEEE communications surveys &amp; tutorials 21</source>
          (
          <year>2018</year>
          )
          <fpage>1744</fpage>
          -
          <lpage>1772</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>S.</given-names>
            <surname>Tan</surname>
          </string-name>
          , D. De, W.-
          <string-name>
            <given-names>Z.</given-names>
            <surname>Song</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>K. Das</surname>
          </string-name>
          ,
          <article-title>Survey of security advances in smart grid: A data driven approach</article-title>
          ,
          <source>IEEE Communications Surveys &amp; Tutorials</source>
          <volume>19</volume>
          (
          <year>2016</year>
          )
          <fpage>397</fpage>
          -
          <lpage>422</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>D.</given-names>
            <surname>Feth</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pretschner</surname>
          </string-name>
          ,
          <article-title>Flexible data-driven security for android</article-title>
          ,
          <source>in: 2012 IEEE Sixth International Conference on Software Security and Reliability</source>
          , IEEE,
          <year>2012</year>
          , pp.
          <fpage>41</fpage>
          -
          <lpage>50</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>N.</given-names>
            <surname>Mohamed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Al-Jaroodi</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Jawhar</surname>
          </string-name>
          ,
          <article-title>Opportunities and challenges of data-driven cybersecurity for smart cities</article-title>
          ,
          <source>in: 2020 IEEE systems security symposium (SSS)</source>
          , IEEE,
          <year>2020</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>7</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>F.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. A. D. E.</given-names>
            <surname>Kodituwakku</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. W.</given-names>
            <surname>Hines</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Coble</surname>
          </string-name>
          ,
          <article-title>Multilayer data-driven cyber-attack detection system for industrial control systems based on network, system, and process data</article-title>
          ,
          <source>IEEE Transactions on Industrial Informatics</source>
          <volume>15</volume>
          (
          <year>2019</year>
          )
          <fpage>4362</fpage>
          -
          <lpage>4369</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>D. B. Rawat</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Doku</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Garuba</surname>
          </string-name>
          ,
          <article-title>Cybersecurity in big data era: From securing big data to data-driven security</article-title>
          ,
          <source>IEEE Transactions on Services Computing</source>
          <volume>14</volume>
          (
          <year>2019</year>
          )
          <fpage>2055</fpage>
          -
          <lpage>2072</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>I. R.</given-names>
            <surname>Noman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. C.</given-names>
            <surname>Bortty</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K. K.</given-names>
            <surname>Bishnu</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. M. Aziz</surname>
            ,
            <given-names>M. R.</given-names>
          </string-name>
          <string-name>
            <surname>Islam</surname>
          </string-name>
          ,
          <article-title>Data-driven security: Improving autonomous systems through data analytics and cybersecurity</article-title>
          ,
          <source>Journal of Computer Science and Technology Studies</source>
          <volume>4</volume>
          (
          <year>2022</year>
          )
          <fpage>182</fpage>
          -
          <lpage>190</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>S. J.</given-names>
            <surname>Russell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Norvig</surname>
          </string-name>
          ,
          <article-title>Artificial intelligence: A modern approach</article-title>
          , Pearson,
          <year>2020</year>
          . 4th edition.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Nielsen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I. L.</given-names>
            <surname>Chuang</surname>
          </string-name>
          ,
          <source>Quantum Computation and Quantum Information</source>
          ,
          <year>2004</year>
          . doi:
          <volume>10</volume>
          . 1017/CBO9781107415324.004. arXiv:arXiv:
          <fpage>1011</fpage>
          .
          <year>1669v3</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>M.</given-names>
            <surname>Treinish</surname>
          </string-name>
          , et al.,
          <source>Qiskit/qiskit: Qiskit 1.4.3</source>
          ,
          <year>2025</year>
          . doi:
          <volume>10</volume>
          .5281/zenodo.15374661.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>L. D'Hooge</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Verkerken</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Wauters</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Volckaert</surname>
          </string-name>
          , F. De Turck,
          <string-name>
            <surname>Discovering</surname>
          </string-name>
          non-metadata
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>