# Machine learning-based network intrusion detection for big and imbalanced data using oversampling, stacking feature embedding and feature extraction

オーバーサンプリング、スタッキング特徴埋め込み、特徴抽出を用いた、大規模・不均衡データ向けの機械学習ベースのネットワーク侵入検知

Md. Alamin Talukder, Md. Manowarul Islam, Md Ashraf Uddin, Khondokar Fida Hasan, Selina Sharmin, Salem A. Alyami ほか1名 · arXiv · 2024年1月22日

- **課題** 大規模かつ不均衡なネットワーク侵入検知データに対して、特徴数とクラス不均衡を同時に扱う方法が必要です。
- **手法** ROでクラス不均衡を減らし、クラスタリングに基づくSFEでメタ特徴を加えた後、PCAで次元を削減します。
- **結果** UNSW-NB15、CIC-IDS2017、CIC-IDS2018で、Proposal設定の複数の分類器が高い精度を報告しています。

## 問題設定：大規模で不均衡な侵入検知データ

この論文は、機械学習をネットワーク侵入検知システム（IDS）に適用する際の2つの困難を同時に扱います。第一に、実際の攻撃トラフィックは正常トラフィックに比べて非常に少なく、クラス不均衡が激しくなっています。第二に、データが大きくなるほど学習に必要な特徴数が増え、次元削減が必要になります。著者らは、既存研究の多くが古いか均衡の取れたデータセットに依存していること、また多くの研究が全特徴集合をそのまま使うため計算負荷が大きいことを限界として指摘しています。

この研究は、こうした問題を解決するため、不均衡処理、特徴埋め込み、次元削減を1つの処理の流れとして組み合わせています。評価の対象は、UNSW-NB15、CIC-IDS2017、CIC-IDS2018の3つのベンチマークデータセットです。

## 提案の処理の流れ：RO、SFE、PCAの組み合わせ

提案手法はまずデータを整えます。欠損値と無限大の値を除去し、列名の空白を取り除き、重複行を削除し、インスタンス数の少ないクラスを統合します。続いて標準化とラベルエンコーディングを適用します。

不均衡の処理にはRandom Oversampling（RO）を使います。ROは、少数クラスのサンプルをランダムに複製して学習データのクラス比率をそろえます。特徴生成にはStacking Feature Embedded（SFE）を使います。K-MeansとGaussian Mixtureのクラスタリングを行い、その結果をメタ特徴として元の特徴空間に加えます。その後、Principal Component Analysis（PCA）で拡張された特徴集合の次元を削減します。論文はこの組み合わせをSFE-PCAと呼んでいます。

![Figure 1: Proposed framework for stacking feature embedded with PCA for intrusion detec- tion](https://refivu.com/papers/ffcd2c90-0ecb-4bf2-968e-883dd5d0ec8e/figures/figure-42d57853e06b58e5fce9dbc59ff752d7.png?thumb=512)

**Fig. 1** Proposed framework for stacking feature embedded with PCA for intrusion detec- tion.

[出典](https://arxiv.org/abs/2401.12262v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Md. Alamin Talukder, Md. Manowarul Islam, Md Ashraf Uddin, Khondokar Fida Hasan, Selina Sharmin, Salem A. Alyami, Mohammad Ali Moni · Machine learning-based network intrusion detection for big and imbalanced data using oversampling, stacking feature embedding and feature extraction · 論文の図を引用 · 元のPDFの14ページ目から図の部分を抽出しています。

![Figure 7: Random oversampling process](https://refivu.com/papers/ffcd2c90-0ecb-4bf2-968e-883dd5d0ec8e/figures/figure-a4991aa0f7957dfaecdd074539e00ec1.png?thumb=512)

**Fig. 7** Random oversampling process

[出典](https://arxiv.org/abs/2401.12262v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Md. Alamin Talukder, Md. Manowarul Islam, Md Ashraf Uddin, Khondokar Fida Hasan, Selina Sharmin, Salem A. Alyami, Mohammad Ali Moni · Machine learning-based network intrusion detection for big and imbalanced data using oversampling, stacking feature embedding and feature extraction · 論文の図を引用 · 元のPDFの23ページ目から図の部分を抽出しています。

![Figure 8: SFE process](https://refivu.com/papers/ffcd2c90-0ecb-4bf2-968e-883dd5d0ec8e/figures/figure-7b25328b9f2c1bca3f6fa52d4ee6cebb.png?thumb=512)

**Fig. 8** SFE process

[出典](https://arxiv.org/abs/2401.12262v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Md. Alamin Talukder, Md. Manowarul Islam, Md Ashraf Uddin, Khondokar Fida Hasan, Selina Sharmin, Salem A. Alyami, Mohammad Ali Moni · Machine learning-based network intrusion detection for big and imbalanced data using oversampling, stacking feature embedding and feature extraction · 論文の図を引用 · 元のPDFの24ページ目から図の部分を抽出しています。

PCA設定では、著者らは次元削減率（RR）を出力次元数を入力次元数で割った値として定義しています。この値が小さいほど次元削減の効率が高いと説明しています。本研究では、UNSW-NB15では45次元の入力を10次元に、CIC-IDS2017では79次元の入力を10次元に減らす設定を用いました。

![Figure 9: Dimension reduction process using PCA](https://refivu.com/papers/ffcd2c90-0ecb-4bf2-968e-883dd5d0ec8e/figures/figure-8e5693dc1bea65680f985cfb088e6987.png?thumb=512)

**Fig. 9** Dimension reduction process using PCA

[出典](https://arxiv.org/abs/2401.12262v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Md. Alamin Talukder, Md. Manowarul Islam, Md Ashraf Uddin, Khondokar Fida Hasan, Selina Sharmin, Salem A. Alyami, Mohammad Ali Moni · Machine learning-based network intrusion detection for big and imbalanced data using oversampling, stacking feature embedding and feature extraction · 論文の図を引用 · 元のPDFの26ページ目から図の部分を抽出しています。

## 検証設計と評価指標

分類器はDecision Tree、Random Forest、Extra Trees、XGBoostの4種類を用います。評価はk=10のk-fold交差検証で行います。各foldでデータを90%の学習と10%のテストに分け、foldごとの値を平均する方法です。

![Figure 10: K-fold cross-validation process](https://refivu.com/papers/ffcd2c90-0ecb-4bf2-968e-883dd5d0ec8e/figures/figure-23b0b5d0f3f8420c868eb9258b1f83d5.png?thumb=512)

**Fig. 10** K-fold cross-validation process

[出典](https://arxiv.org/abs/2401.12262v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Md. Alamin Talukder, Md. Manowarul Islam, Md Ashraf Uddin, Khondokar Fida Hasan, Selina Sharmin, Salem A. Alyami, Mohammad Ali Moni · Machine learning-based network intrusion detection for big and imbalanced data using oversampling, stacking feature embedding and feature extraction · 論文の図を引用 · 元のPDFの31ページ目から図の部分を抽出しています。

性能は、精度、適合率、再現率、F1-score、混同行列、ROC曲線で確認します。精度は全観測のうち正しく予測された割合で、F1-scoreは適合率と再現率の調和平均です。結果表では、All Features設定とProposal設定を並べて比較し、前処理と特徴処理の影響を同じ分類器で示しています。

## 主要な結果と解釈の範囲

UNSW-NB15の二値分類では、Proposal設定のRFの精度は99.59%と報告されています。同じ設定でETは多クラス分類の精度99.95%を示しています。CIC-IDS2017の二値分類では、Proposal設定のDTの精度が99.91%と報告されており、多クラス分類ではDT、RF、ETが99.99%を記録しています。CIC-IDS2018では、DTとETが99.94%を記録しました。

この数値は、著者らが提案の特徴集合と該当する分類器の組み合わせで得た結果です。本文の表でも、モデルごとに結果が異なるため、最高スコアをすべての分類器に共通して当てはめてはいけません。また、先行研究のスコアは異なるデータや設定で得られた値なので、直接比較の根拠としてのみ読むべきです。

## 限界と適用範囲

著者らはこの研究の限界として、深層学習モデルと最適化手法を併用しなかった点を明記しています。したがって、提案手法の結果は、この論文で用いた古典的な分類器4種類と3つのベンチマークデータセットの範囲で解釈する必要があります。今後の研究として、深層学習モデルを組み合わせる方向が示されています。

## 論文情報

- **著者**: Md. Alamin Talukder, Md. Manowarul Islam, Md Ashraf Uddin, Khondokar Fida Hasan, Selina Sharmin, Salem A. Alyami, Mohammad Ali Moni
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2024年1月22日
- **登録日**: 2026年11月6日
- **更新日**: 2024年1月22日
- **バージョン**: v1
- **arXiv**: 2401.12262
- **カテゴリ**: cs.CR · cs.LG
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2401.12262v1) · [PDF ↗](https://arxiv.org/pdf/2401.12262v1)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

Cybersecurity has emerged as a critical global concern. Intrusion Detection Systems (IDS) play a critical role in protecting interconnected networks by detecting malicious actors and activities. Machine Learning (ML)-based behavior analysis within the IDS has considerable potential for detecting dynamic cyber threats, identifying abnormalities, and identifying malicious conduct within the network. However, as the number of data grows, dimension reduction becomes an increasingly difficult task when training ML models. Addressing this, our paper introduces a novel ML-based network intrusion detection model that uses Random Oversampling (RO) to address data imbalance and Stacking Feature Embedding based on clustering results, as well as Principal Component Analysis (PCA) for dimension reduction and is specifically designed for large and imbalanced datasets. This model's performance is carefully evaluated using three cutting-edge benchmark datasets: UNSW-NB15, CIC-IDS-2017, and CIC-IDS-2018. On the UNSW-NB15 dataset, our trials show that the RF and ET models achieve accuracy rates of 99.59% and 99.95%, respectively. Furthermore, using the CIC-IDS2017 dataset, DT, RF, and ET models reach 99.99% accuracy, while DT and RF models obtain 99.94% accuracy on CIC-IDS2018. These performance results continuously outperform the state-of-art, indicating significant progress in the field of network intrusion detection. This achievement demonstrates the efficacy of the suggested methodology, which can be used practically to accurately monitor and identify network traffic intrusions, thereby blocking possible threats.

## この論文を引用

Md. Alamin Talukder, Md. Manowarul Islam, Md Ashraf Uddin, Khondokar Fida Hasan, Selina Sharmin, Salem A. Alyami, Mohammad Ali Moni (2024). Machine learning-based network intrusion detection for big and imbalanced data using oversampling, stacking feature embedding and feature extraction. arXiv:2401.12262v1. https://arxiv.org/abs/2401.12262v1

**BibTeX**

```
@misc{talukder2024machine,
  title = {{Machine learning-based network intrusion detection for big and imbalanced data using oversampling, stacking feature embedding and feature extraction}},
  author = {Md. Alamin Talukder and Md. Manowarul Islam and Md Ashraf Uddin and Khondokar Fida Hasan and Selina Sharmin and Salem A. Alyami and Mohammad Ali Moni},
  year = {2024},
  eprint = {2401.12262},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.12262v1}
}
```

## この論文の用語

- [accuracy](https://refivu.com/ja/terms/1995c0cd6282-accuracy)
- [confusion matrix](https://refivu.com/ja/terms/101b07f65787-confusion-matrix)
- [K-means](https://refivu.com/ja/terms/43bff6ec1a4e-k-means)
- [F1-Score](https://refivu.com/ja/terms/bab94490d1a7-f1-score)
- [Principal Component Analysis](https://refivu.com/ja/terms/5e8334d817e7-principal-component-analysis)
- [decision tree](https://refivu.com/ja/terms/3158e0807c66-decision-tree)
- [k-fold cross-validation](https://refivu.com/ja/terms/0ad05af8de0e-k-fold-cross-validation)
- [Extreme Gradient Boosting](https://refivu.com/ja/terms/2fad2c2f8094-extreme-gradient-boosting)
- [reduction ratio](https://refivu.com/ja/terms/85ed828f8a49-reduction-ratio)

## ほかの論文解説

- [Deep Visual Attention Prediction](https://refivu.com/ja/papers/f63842a2-f64a-4970-8075-0c7abdfe8be0-deep-visual-attention-prediction.md)
- [A Comprehensive Survey of Deep Learning for Image Captioning](https://refivu.com/ja/papers/c7cbf1e3-42d7-4d5f-b402-6cde0511793d-a-comprehensive-survey-of-deep-learning-for-image.md)
- [A Review and Comparative Study on Probabilistic Object Detection in Autonomous Driving](https://refivu.com/ja/papers/a821d485-d9f8-4b31-a6dd-8d37dd242cd9-a-review-and-comparative-study-on-probabilistic-object.md)
- [DL-Droid: Deep learning based android malware detection using real devices](https://refivu.com/ja/papers/e8c4fb2d-bb8d-43c7-b570-745e501ed499-dl-droid-deep-learning-based-android-malware-detection.md)
- [A Deep Learning Approach for Brain Tumor Classification and Segmentation Using a Multiscale Convolutional Neural Network](https://refivu.com/ja/papers/c75a012b-6db8-4ef0-a0e2-0109acd56af3-a-deep-learning-approach-for-brain-tumor-classification.md)
- [Geometric Feature-Based Facial Expression Recognition in Image Sequences Using Multi-Class AdaBoost and Support Vector Machines](https://refivu.com/ja/papers/35c52440-dea0-43bf-acc7-d2f2458fe00a-geometric-feature-based-facial-expression-recognition-in.md)
- [Avoiding Overfitting: A Survey on Regularization Methods for Convolutional Neural Networks](https://refivu.com/ja/papers/726fc9f2-ea0b-4f5f-b42e-cc0c9f6e4c3a-avoiding-overfitting-a-survey-on-regularization-methods-for.md)
- [Mastering the Game of Stratego with Model-Free Multiagent Reinforcement Learning](https://refivu.com/ja/papers/c8ba1a5f-8040-4096-92b0-d848951ca124-mastering-the-game-of-stratego-with-model-free.md)
- [Learning Agile Soccer Skills for a Bipedal Robot with Deep Reinforcement Learning](https://refivu.com/ja/papers/3ef41329-5e9b-477a-9ece-c7d4b12b603d-learning-agile-soccer-skills-for-a-bipedal-robot.md)
- [Real-World Humanoid Locomotion with Reinforcement Learning](https://refivu.com/ja/papers/8e42e14f-83b7-4879-ab8c-1bd8a7bcea8a-real-world-humanoid-locomotion-with-reinforcement-learning.md)
- [A Perspective on Explainable Artificial Intelligence Methods: SHAP and LIME](https://refivu.com/ja/papers/419ea828-55f0-4840-8bb1-a99a036efbe5-a-perspective-on-explainable-artificial-intelligence-methods.md)
- [Weakly-Supervised Convolutional Neural Networks for Multimodal Image Registration](https://refivu.com/ja/papers/bfc7dfd6-1596-4541-9723-c26ab0c5a3f5-weakly-supervised-convolutional-neural-networks-for.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/ffcd2c90-0ecb-4bf2-968e-883dd5d0ec8e-machine-learning-based-network-intrusion-detection-for-big)
