About the journal
Browse
Collections
Multimedia collections
Authors & reviewers
A Normalization-Free APT Detection Scheme Based on Dual-Gated Selective State-Space Learning
Mahmoud Basi , Tao Shang , Weiwei Wang
Advanced persistent threats (APTs) generate stealthy, multi-stage, and temporally dispersed network activities whose individual flows may be difficult to distinguish from benign traffic. Existing neural detectors often depend on internal normalization or a single representation mechanism, limiting their ability to jointly capture nonlinear feature interactions and temporal attack behavior. In this paper, we propose KAMBA++, a novel normalization-free sequence-learning architecture for APT and network-intrusion detection. KAMBA++ comprises three branches that process the transformed sequences. Firstly, an Enhanced Dynamic Tanh (EDyT) block performs an input-conditioned feature transformation without internal neural normalization. Secondly, a Sparse Kolmogorov-Arnold Network (SKAN) captures compact nonlinear interactions with an input-conditioned sparsity level, while a SwiGLU module learns gated responses that emphasize informative traffic patterns. Thirdly, a Dual-Gated Selective State-Space Model (DSSSM) captures temporal dependencies while controlling the retention and incorporation of sequential information. An input-conditioned controller sets the SKAN sparsity threshold and the DSSSM discretization step from a sequence-level descriptor, while adaptive fusion combines the representations. KAMBA++ is evaluated on DAPT-2020 and CIC-IDS2017 using leakage-aware sequence construction; Flow-ID- or block-disjoint (but not host-disjoint or chronological) training, validation, and test partitions; and five independent seeds. On DAPT-2020, it achieves an accuracy of 0.9789, an F1-score of 0.9635, an MCC of 0.9489, and an AUROC of 0.9979. On CIC-IDS2017, it achieves an accuracy of 0.9639, an F1-score of 0.9150, an MCC of 0.8971, and an AUROC of 0.9984. Controlled comparisons show that KAMBA++ outperforms MLP, CNN, dense KAN, and standalone selective state-space baselines on both datasets, obtaining the highest F1-score and MCC among the compared sequence models and, on CIC-IDS2017, the highest precision of all neural models (0.9947), although random forest on pooled sequence statistics and the Transformer remain stronger reference models. Ablation results identify EDyT as the most consistent component; removing it reduces the CIC-IDS2017 F1-score from 0.9150 to 0.8054. Input-conditioned EDyT obtains higher mean scores than the original DyT and an input-independent variant and performs comparably to BatchNorm, LayerNorm, and RMSNorm without requiring batch statistics. Among structurally matched alternatives, KAMBA++ yields the most consistent results across seeds. At batch size 256, throughput exceeds 40,000 sequences/s on both datasets, and at batch size one on a CPU KAMBA++ is about ten times faster than random forest with a model about 25 times smaller, although its GPU latency and memory exceed those of the Transformer. These findings support high-throughput flow-sequence-based network monitoring. More broadly, the study demonstrates how complementary nonlinear and temporal representations, together with leakage-aware evaluation, can advance reliable and reproducible APT-detection research.
APT detection / Dynamic Tanh / Kolmogorov-Arnold Network / State-space model / Network traffic analysis
Higher Education Press 2026
/
| 〈 |
|
〉 |