← Lab /Security & privacy

Hybrid TDA-LSTM achieves perfect AUC and near-perfect F1 on CIC-IDS2017

The authors claim their TDA+LSTM model attains an AUC of 1.000 and F1 of 1.000 on the CIC-IDS2017 dataset

Security & privacy arXiv 30 Jun 2026 Method Prototype evidence

Published as “Hybrid Topological Data Analysis and LSTM Networks for Enhanced Network Intrusion Detection Using CIC-IDS2017 Dataset”

Why it matters

The approach could improve detection of complex attacks, but the added computational cost may hinder deployment in high-throughput environments.

Summary

The hybrid TDA+LSTM model achieves perfect detection on the CIC-IDS2017 benchmark, reporting an AUC of 1.000 and an F1-score of 1.000, with 5-fold cross-validation mean AUC of 1.000 ± 0.000 and mean F1 of 0.999 ± 0.001. Ablation shows the topological component alone reaches F1 = 0.990 while the LSTM alone reaches F1 = 1.000, indicating the hybrid does not improve over LSTM alone. Statistical significance testing reports p-values of 1.000 (vs LSTM) and 0.480 (vs TDA+Random Forest), showing no significant advantage over strong baselines. The authors note substantial computational overhead, parameter sensitivity, dataset-specific validation, and real-time latency as limitations.

What they found 1

  1. Hybrid TDA+LSTM model attains perfect AUC and F1 performance on CIC-IDS2017.

    “Our hybrid TDA+LSTM model has an AUC of 1.000 and F1score of 1.000, with 5-fold cross-validation producing a mean AUC of 1.000 ± 0.000 and mean F1 of 0.999 ± 0.001.”

Caveats 6

  • Statistical significance testing shows no significant difference between TDA+LSTM and LSTM alone (p-value 1.000).
  • Ablation results indicate LSTM-only already achieves F1-score 1.000, so the hybrid adds no measurable gain.
  • • Computational Overhead: TDA computations significantly increase computational costs, especially for largescale installations
  • • Parameter Sensitivity: The method necessitates careful adjustment of filtering settings and window sizes
  • • Dataset Specificity: Results are based on CIC-IDS2017; more validation is needed before generalising to other modern datasets, such as CICIoT2023 and UNSW-NB15
  • • Real-time Constraints: In high-speed network contexts, processing latency may restrict applicability

What’s new here 4

  • Integrates persistent homology-derived Betti curve features with LSTM temporal modeling for intrusion detection.
  • Uses an MLP fusion network to concatenate topological and sequential representations.
  • Provides a detailed ablation study quantifying the complementary contributions of TDA and LSTM components.
  • Applies the hybrid approach to the large-scale CIC-IDS2017 dataset with extensive cross-validation.