Network Intrusion Detection System (NIDS) using Few-Shot Learning

Network Intrusion Detection System (NIDS) using Few-Shot Learning


Tagline

Few-shot learning for unseen network attacks.

Tech Stack

Python , TensorFlow/PyTorch , Scikit-learn , Pandas

Year
2025

A Siamese few-shot model for spotting zero-day attacks when labelled data is thin. Trained on paired traffic samples, evaluated with 5-fold cross-validation across five held-out attack classes. Hit 94 percent detection accuracy, beat an XGBoost supervised baseline by 11 points, and showed clean separation between benign flows and malicious patterns in the learned embedding.

Glimpse of the Project


Model Pipeline

01 / 05
01

Capture

Network flows are captured and aggregated into feature vectors — packet counts, byte rates, flag ratios, inter-arrival times — drawn from the CICIDS-style benchmark.

Pandas · NumPy

tap a step to explore →

Focused on model development, evaluation, and intrusion pattern separation rather than UI screenshots.


next project
Original Paintings