A method for selecting relevant features can improve firewall-log classification with some models. An updated study tests a combination of bee swarm optimization and Q-learning-based local search (QBSO-FS) on the UCI Internet Firewall Data Set. It also addresses a weakness in the earlier evaluation: that version selected features and measured performance on the same cross-validation data, which contained many exact duplicates.
The new evaluation separates training, validation, and test data. Feature selection uses only the validation set, and results are measured once on a previously untouched test set. On a single stratified split, QBSO-FS selected five to seven features. Compared with using all features, Macro-F1 improved by 8 to 19 percentage points for KNN on both dataset versions and for random forest on the deduplicated version.
For random forest on the raw data and for Bernoulli naive Bayes, differences were small, at 0.2 to 1.5 percentage points, and the authors say they might not persist with another split. On the deduplicated data, a random forest using seven features reached 99.90% accuracy and 94.88% Macro-F1. Comparisons with re-implemented neural networks and a particle-swarm feature selection method used the same split.
The study suggests the method could support firewall-log analysis, but it does not establish robust performance across different data splits. Runtime savings were also small on this low-dimensional dataset. The original paper gives further details on the evaluation protocol and results for both dataset versions. Read the paper on arXiv