A harmony search–driven hyperparameter optimization framework for CNN-based intrusion detection

Convolutional Neural Networks (CNN) have been applied extensively in Intrusion Detection Systems (IDS) due to their capability of automatically learning hierarchical features representations of network traffic. However, the detection capabilities of CNN depend significantly on the quality of features and appropriate setting of hyperparameters configurations. In order to tackle these problems, this research proposes CNN hyperparameters optimization using harmony search (HS) optimization technique for developing an optimized one-dimensional convolutional neural network (1D-CNN) based IDS. Correlation matrix analysis is used in the preprocessing stage to select the features corresponding to the class of interest and remove redundancy among the highly correlated input features. Afterwards, the proposed method uses harmony search (HS) optimization algorithm, which is inspired by musical improvisation process, for optimization of CNN hyperparameters through exploration and exploitation of the search space. The proposed technique has been tested on NSL-KDD dataset using four classes of traffic: Normal, DoS, Others and Probe. Experimental results on test data set with 22,544 records show an overall accuracy of 97.50%. This model is able to yield results of the weighted Precision, weighted Recall and weighted F1-Score of approximately 97%. This reveals the power that can be unleashed by integrating data pre-processing approaches such as feature engineering based on correlation, Quantile Transformation, Class-weight and Hyperparameter optimization using Harmony Search technique in 1D-CNN based intrusion detection systems.

Authors

Institutions

Publication Details

Journal
Discover Networks
Published
2026-11-16
DOI
https://doi.org/10.1007/s44354-026-00059-6
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

A harmony search–driven hyperparameter optimization framework for CNN-based intrusion detection

Prashant Pranav, Shruti
5 links
Discover Networks
Network Security and Intrusion Detection
article

A harmony search–driven hyperparameter optimization framework for CNN-based intrusion detection

Prashant Pranav, Shruti
article en

Abstract

Convolutional Neural Networks (CNN) have been applied extensively in Intrusion Detection Systems (IDS) due to their capability of automatically learning hierarchical features representations of network traffic. However, the detection capabilities of CNN depend significantly on the quality of features and appropriate setting of hyperparameters configurations. In order to tackle these problems, this research proposes CNN hyperparameters optimization using harmony search (HS) optimization technique for developing an optimized one-dimensional convolutional neural network (1D-CNN) based IDS. Correlation matrix analysis is used in the preprocessing stage to select the features corresponding to the class of interest and remove redundancy among the highly correlated input features. Afterwards, the proposed method uses harmony search (HS) optimization algorithm, which is inspired by musical improvisation process, for optimization of CNN hyperparameters through exploration and exploitation of the search space. The proposed technique has been tested on NSL-KDD dataset using four classes of traffic: Normal, DoS, Others and Probe. Experimental results on test data set with 22,544 records show an overall accuracy of 97.50%. This model is able to yield results of the weighted Precision, weighted Recall and weighted F1-Score of approximately 97%. This reveals the power that can be unleashed by integrating data pre-processing approaches such as feature engineering based on correlation, Quantile Transformation, Class-weight and Hyperparameter optimization using Harmony Search technique in 1D-CNN based intrusion detection systems.

Discover NetworksVol. 2(1)
Birla Institute of Technology, Mesra (IN)
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