Open Access iconOpen Access

ARTICLE

A Quantum-Inspired Algorithm for Clustering and Intrusion Detection

Gang Xu1,2, Lefeng Wang1, Yuwei Huang2, Yong Lu3, Xin Liu4, Weijie Tan5, Zongpeng Li6, Xiu-Bo Chen2,*

1 School of Artificial Intelligence and Computer Science, North China University of Technology, Beijing, 100144, China
2 Information Security Center, State Key Laboratory of Networking and Switching Technology, Beijing University of Posts and Telecommunications, Beijing, 100876, China
3 School of Information Engineering, Minzu University of China, Beijing, 100081, China
4 School of Digtial and Intelligence Industry, Inner Mongolia University of Science and Technology, Baotou, 014010, China
5 The State Key Laboratory of Public Big Data, College of Computer Science and Technology, Guizhou University, Guiyang, 550025, China
6 Institute for Network Sciences & Cyberspace, Tsinghua University, Beijing, 100084, China

* Corresponding Author: Xiu-Bo Chen. Email: email

Computers, Materials & Continua 2026, 87(1), 48 https://doi.org/10.32604/cmc.2025.074256

Abstract

The Intrusion Detection System (IDS) is a security mechanism developed to observe network traffic and recognize suspicious or malicious activities. Clustering algorithms are often incorporated into IDS; however, conventional clustering-based methods face notable drawbacks, including poor scalability in handling high-dimensional datasets and a strong dependence of outcomes on initial conditions. To overcome the performance limitations of existing methods, this study proposes a novel quantum-inspired clustering algorithm that relies on a similarity coefficient-based quantum genetic algorithm (SC-QGA) and an improved quantum artificial bee colony algorithm hybrid K-means (IQABC-K). First, the SC-QGA algorithm is constructed based on quantum computing and integrates similarity coefficient theory to strengthen genetic diversity and feature extraction capabilities. For the subsequent clustering phase, the process based on the IQABC-K algorithm is enhanced with the core improvement of adaptive rotation gate and movement exploitation strategies to balance the exploration capabilities of global search and the exploitation capabilities of local search. Simultaneously, the acceleration of convergence toward the global optimum and a reduction in computational complexity are facilitated by means of the global optimum bootstrap strategy and a linear population reduction strategy. Through experimental evaluation with multiple algorithms and diverse performance metrics, the proposed algorithm confirms reliable accuracy on three datasets: KDD CUP99, NSL_KDD, and UNSW_NB15, achieving accuracy of 98.57%, 98.81%, and 98.32%, respectively. These results affirm its potential as an effective solution for practical clustering applications.

Keywords

Intrusion detection; clustering; quantum artificial bee colony algorithm; K-means; quantum genetic algorithm

Cite This Article

APA Style
Xu, G., Wang, L., Huang, Y., Lu, Y., Liu, X. et al. (2026). A Quantum-Inspired Algorithm for Clustering and Intrusion Detection. Computers, Materials & Continua, 87(1), 48. https://doi.org/10.32604/cmc.2025.074256
Vancouver Style
Xu G, Wang L, Huang Y, Lu Y, Liu X, Tan W, et al. A Quantum-Inspired Algorithm for Clustering and Intrusion Detection. Comput Mater Contin. 2026;87(1):48. https://doi.org/10.32604/cmc.2025.074256
IEEE Style
G. Xu et al., “A Quantum-Inspired Algorithm for Clustering and Intrusion Detection,” Comput. Mater. Contin., vol. 87, no. 1, pp. 48, 2026. https://doi.org/10.32604/cmc.2025.074256



cc Copyright © 2026 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 617

    View

  • 253

    Download

  • 0

    Like

Share Link