01 /Overview.
Supervised intrusion detectors learn the attacks in their training data. Faced with a new attack type, they often label it as normal traffic or force it into a known category, which is the most dangerous kind of quiet.
Why it matters. Security teams need to know both what a detector catches and where it goes silent. A high accuracy number on known attacks says little about the attacks that matter most.
Workflow. Network flow features feed two streams in parallel: supervised classifiers estimate the probability of a known attack, and an autoencoder trained only on benign traffic scores reconstruction error. A fusion engine combines both into Normal, Known Attack, or Suspicious, and SHAP attributes the verdict to features.
Outcome. A reproducible prototype showing where supervised detectors stay silent on an unseen attack type, and how an anomaly stream can catch part of what they miss.
02 /My contribution.
I developed the FalseQuiet prototype represented by the repository: data preparation, the XGBoost, TabTransformer, and autoencoder models, the hybrid decision engine, SHAP explanations, the evaluation experiments, and the FastAPI-backed monitoring dashboard.
Constraints.
- The held-out experiment must exclude the attack category from all supervised training.
- Every reported number must come from a committed evaluation artifact.
- Explanations must point to the flow features that drove a verdict.
03 /System architecture.
04 /Technical implementation.
Primary technologies. Python · FastAPI · XGBoost · PyTorch · TabTransformer · SHAP
- Supervised baselines include Random Forest, XGBoost, and a PyTorch TabTransformer evaluated on held-out splits.
- A symmetric autoencoder trained only on benign traffic flags flows whose reconstruction error crosses a percentile threshold.
- The fusion engine maps classifier probability and anomaly score to Normal, Known Attack, or Suspicious.
- A FastAPI backend serves the models to a monitoring dashboard with scenario simulation and CSV batch scanning.
Hardest engineering problem. The hard part was designing an honest test for unseen attacks. DDoS was removed from supervised training and replayed afterwards: the supervised models sent 42.3% of those flows to BENIGN, while the hybrid engine flagged 71.1% of the 1,000 held-out flows as a threat.
Two streams, one verdict
Supervised models handle known attacks; an autoencoder trained on benign traffic catches deviations they were never shown.
Hold an attack category out
Excluding DDoS from training gives a concrete proxy for zero-day behavior instead of a claim.
Explain every flag
SHAP attributions name the flow features behind each verdict so an analyst can check it.
05 /Testing and validation.
- On the benign-versus-PortScan holdout, XGBoost reached 99.994% accuracy on 17,248 flows; this split is narrow and is not a general benchmark.
- In the held-out DDoS experiment, the hybrid engine flagged 71.1% of 1,000 unseen attack flows, while the supervised models sent 42.3% of DDoS flows to BENIGN.
06 /Results and evidence.
Results come from committed evaluation artifacts on the CIC-IDS2017 dataset. The supervised scores are for a narrow benign-versus-PortScan split, and the held-out DDoS experiment uses one excluded attack category. Neither is evidence of real-world or general zero-day detection. The public deployment serves the monitoring dashboard and its prediction API, with sample scenarios and CSV batch scanning.
- The prototype shows a concrete blind spot of supervised detectors on an unseen attack type.
- The anomaly stream recovers part of that blind spot, and the result is reported with its limits.
- Held-out DDoS detection
- 71.1%Hybrid engine on 1,000 flows from an attack category excluded from training (CIC-IDS2017)
- Missed as benign
- 42.3%Share of held-out DDoS flows the supervised models labeled BENIGN
07 /Limitations.
- The held-out experiment covers one excluded CIC-IDS2017 category; it is not proof of real-world zero-day detection.
- The supervised accuracy figures are for a narrow two-class split.
- The repository does not contain a comparable aggregate benchmark for the fused engine.
- The public deployment runs lightweight NumPy inference; it is a demo, not a monitoring service for real traffic.
08 /What I would build next.
Repeat the held-out experiment across every attack category and a second dataset, then report the fused engine with a single comparable benchmark.
- Report where a detector is silent, not only where it is accurate.
- A proxy experiment is useful when it is labeled as a proxy.