arXiv:2611.16239v1 cs.LG

머신러닝과 하이브리드 메타휴리스틱 알고리즘을 이용한 방화벽 로그 분석의 최적 특징 선택

Optimal feature selection for firewall log analysis using Machine learning and Hybrid Metaheuristic algorithms

Seungwoo Han, Gil Hong, Jewan Kim, Jeuk Yu, Sangjun Lee, Byeongok Cho, Jusung Jeon

제출 2026-11-12

저자 비고

arXiv Comments

13 pages. Revised version of engrXiv preprint (doi:10.31224/osf.io/pm3hy) with a corrected, leakage-free evaluation protocol; original results retained for reference

한국어 초록

방화벽 로그 분류는 네트워크 트래픽을 모니터링하는 데 중요하다. 네트워크 관련 특징을 사용하는 머신러닝 분류기는 이 작업에서 좋은 결과를 보였으나, 고차원 특징은 분류 속도를 저하시킨다. 본 논문에서는 Q-러닝 기반 지역 탐색을 결합한 벌 군집 최적화 특징 선택(QBSO-FS)을 랜덤 포레스트(RF), k-최근접 이웃(KNN), 베르누이 나이브 베이즈(Bernoulli NB) 분류기와 함께 UCI Internet Firewall Data Set에 적용한다. 이 프리프린트의 첫 번째 버전은 12.8%의 완전 중복을 포함한 전체 데이터 세트의 동일한 5-겹 교차 검증에서 특징 부분집합을 선택하고 평가하였으므로, 보고된 점수는 낙관적으로 편향되어 있다. 이 확장 버전에서는 누수 없는 프로토콜로 방법을 다시 평가한다. 즉, 데이터를 학습, 검증, 테스트 세트로 분할하고, 검증 세트만을 사용하여 특징을 선택하며, 원본 데이터와 중복 제거 및 전처리를 거친 버전 모두에 대해 손대지 않은 테스트 세트에서 정확도와 매크로 평균 점수를 한 번만 측정한다. 단일 층화 분할에서 QBSO-FS는 5~7개의 특징을 선택한다. 선택된 부분집합은 두 데이터 세트 모두에서 KNN, 그리고 중복 제거된 데이터에서 RF에 대해 전체 특징을 사용할 때보다 Macro-F1을 8~19%p 뚜렷하게 향상시킨다. 원본 데이터의 RF와 Bernoulli NB의 경우 차이(0.2~1.5%p)는 다른 분할에서는 성립하지 않을 수 있다. 7개의 선택된 특징을 사용하는 RF는 중복 제거된 데이터에서 99.90%의 정확도와 94.88%의 Macro-F1에 도달한다. 동일한 분할에서 이는 선행 연구들의 심층 신경망 구성을 재구현한 결과와, 그중 한 연구에서 입자 군집 최적화로 선택한 특징 부분집합을 능가하며, 이 저차원 데이터 세트에서 절약되는 실행 시간은 작다. 이러한 결과는 본 방법이 자동 방화벽 로그 분석을 지원할 수 있음을 시사하며, 여러 분할에 걸친 평가는 향후 과제로 남아 있다.

원문 초록

Firewall log classification is important to monitor network traffic. Machine learning classifiers using network-related features have shown good results for this task, but high-dimensional features slow down classification. In this paper, we apply feature selection using bee swarm optimization with Q-learning-based local search (QBSO-FS) to the UCI Internet Firewall Data Set, together with random forest (RF), k-nearest neighbor (KNN), and Bernoulli na\"{\i}ve Bayes (Bernoulli NB) classifiers. The first version of this preprint selected and evaluated feature subsets on the same 5-fold cross-validation of the full data set, which contains 12.8\% exact duplicates; the reported scores are therefore optimistically biased. In this extended version, we re-evaluate the method with a leakage-free protocol: the data are split into training, validation, and test sets, features are selected using the validation set only, and accuracy and macro-averaged scores are measured once on the untouched test set, for both the raw data and a deduplicated, preprocessed version. On a single stratified split, QBSO-FS selects 5--7 features. The selected subsets clearly improve Macro-F1 over all features for KNN on both data sets and for RF on the deduplicated data (by 8--19 percentage points). For RF on the raw data and for Bernoulli NB, the differences (0.2--1.5 percentage points) may not hold for a different split. RF with 7 selected features reaches 99.90\% accuracy and 94.88\% Macro-F1 on the deduplicated data. On the same split, this exceeds our re-implementations of the deep neural network configurations of previous studies and the feature subset selected by particle swarm optimization in one of them, while the run time saved on this low-dimensional data set is small. These results suggest that the method can support automatic firewall log analysis, while evaluation over multiple splits remains future work.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2611.16239v1

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.