RepositoryPython
AFAgarap

AFAgarap/gru-svm

[ICMLC 2018] A Neural Network Architecture Combining Gated Recurrent Unit (GRU) and Support Vector Machine (SVM) for Intrusion Detection

172sao
38fork
0issue
1lượt xem

🛡️ GRU-SVM: Phát hiện xâm nhập mạng bằng sự kết hợp GRU + SVM

Thay thế Softmax bằng SVM trong lớp đầu ra của mạng GRU, cải thiện độ chính xác và tốc độ dự đoán trong phát hiện xâm nhập.

Đây là mô hình được trình bày tại ICMLC 2018 (Macau, Trung Quốc), kết hợp Gated Recurrent Unit (GRU) — một biến thể của LSTM trong mạng recurrent neural network (RNN) — với Support Vector Machine (SVM) tuyến tính. Thay vì dùng Softmax + cross-entropy như các mạng RNN truyền thống, mô hình này dùng SVM làm bộ phân loại cuối cùng và hàm loss dựa trên margin. Được huấn luyện trên dữ liệu giao thông mạng từ honeypot của Đại học Kyoto năm 2013.

✨ Điểm nổi bật

  • Kết hợp GRU + SVM: Dùng GRU để trích xuất đặc trưng chuỗi thời gian, SVM phân loại
  • Thay thế Softmax: SVM dùng trực tiếp ở lớp đầu ra thay cho Softmax
  • Hàm loss margin-based: Thay thế cross-entropy bằng hàm loss dựa trên margin
  • Phát hiện xâm nhập mạng: Áp dụng cho bài toán phân loại nhị phân trên dữ liệu honeypot Kyoto
  • Hiệu suất cao hơn: Độ chính xác test ~84.15% so với ~70.75% của GRU-Softmax
  • Tốc độ dự đoán nhanh hơn: SVM nhanh hơn Softmax trong thời gian dự đoán
  • Hỗ trợ huấn luyện và kiểm tra: Cung cấp script CLI để train/test mô hình

💡 Vì sao đáng chú ý

Mô hình đề xuất cải tiến kiến trúc mạng RNN truyền thống bằng cách thay thế Softmax — thường dùng trong các mạng như GRU hay LSTM — bằng SVM. Điều này giúp tận dụng khả năng tối ưu margin của SVM, đồng thời giảm thiểu nhược điểm của Softmax trong việc xử lý dữ liệu mạng có tính chất phi tuyến phức tạp. Kết quả cho thấy GRU-SVM vượt trội hơn GRU-Softmax cả về độ chính xác lẫn tốc độ dự đoán, đặc biệt hiệu quả trong nhiệm vụ phát hiện xâm nhập mạng.


#GRU #SVM #IntrusionDetection #TensorFlow #MachineLearning #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC++
tensorflow/tensorflow

An Open Source Machine Learning Framework for Everyone

201.9k
Dec 1, 2026
RepositoryPython
mravanelli/pytorch-kaldi

pytorch-kaldi is a project for developing state-of-the-art DNN/RNN hybrid speech recognition systems. The DNN part is managed by pytorch, while feature extraction, label computation, and decoding are performed with the kaldi toolkit.

2.4k
Mar 14, 2022
RepositoryPython
albertogaspar/dts

A Keras library for multi-step time-series forecasting.

184
Apr 20, 2023
RepositoryPython
amineHorseman/facial-expression-recognition-svm

Training SVM classifier to recognize people expressions (emotions) on Fer2013 dataset

177
Sep 13, 2018
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryJupyter Notebook
tatsuyah/vehicle-detection

Vehicle detection using machine learning and computer vision techniques for Udacity's Self-Driving Car Engineer Nanodegree.

1.1k
Oct 31, 2017
RepositoryJupyter Notebook
uricamic/clandmark

Open Source Landmarking Library

198
Aug 7, 2019
RepositoryHTML
lucko515/speech-recognition-neural-network

This is the end-to-end Speech Recognition neural network, deployed in Keras. This was my final project for Artificial Intelligence Nanodegree @Udacity.

191
Aug 15, 2017
RepositoryJupyter Notebook
MarcoMeter/recurrent-ppo-truncated-bptt

Baseline implementation of recurrent PPO using truncated BPTT

160
Apr 28, 2024