Published September 18, 2026 | Version v2

TriSentry: Code for a Unified, Uncertainty-Calibrated Architecture for Cross-Domain Cyber-Threat Detection

  • 1. ROR icon SRM Institute of Science and Technology

Description

TriSentry is a single shared neural architecture that jointly detects network intrusions, dark web traffic, and blockchain fraud across four benchmark datasets — UNSW-NB15, CIC-IDS-2017, CIC-Darknet2020, and Elliptic++ — instead of training a separate model per domain. It aggregates two-hop, precomputed neighborhood-structural features per domain through a shared residual MLP trunk with domain-specific input projections and output heads, trained with focal loss, minority-class oversampling, and validation-calibrated decision thresholds, with predictive uncertainty estimated via Monte Carlo Dropout. This repository contains the full pipeline: preprocessing, the shared-model training script, 5-fold cross-validation, a 6-configuration ablation study, classical ML baselines (Random Forest, XGBoost), and figure/table generation (including XAI via Random Forest importance and SHAP). See README.md for pipeline order and usage.

Files

README_1.md

Files (70.2 kB)

Name Size
md5:d35405ac66bc9c234413c9e260a59f91
830 Bytes Download
md5:d33c1175cb5e9780bc76f0711d783877
1.5 kB Download
md5:d3913f69aeacfed7c23c46ec5ff917f5
6.2 kB Preview Download
md5:9a2e1b3bed0770b1da3c6827ac3e8e70
61.7 kB Preview Download