← Lab /AI/ML

Neurosymbolic model reaches 95.27% F1 and 0.14% false positives for APT detection in IoT

The proposed neurosymbolic architecture delivers high-accuracy, explainable APT detection despite extreme class imbalance

AI/ML arXiv 28 Feb 2026 Method Prototype evidence

Published as “Neurosymbolic Learning for Advanced Persistent Threat Detection under Extreme Class Imbalance”

Why it matters

Provides a deployable, low-false-positive IDS for IoT gateways that also offers trustworthy, feature-level explanations for analysts.

Summary

The paper reports a binary detection F1 score of 95.27% with a false positive rate of 0.14% and a 76.75% macro F1 for multi-class APT stage categorization on the SCVIC-APT2021 dataset. These results come from a neurosymbolic BERT-LTN architecture that uses focal loss, hierarchical two-stage classification, and adaptive sampling to handle extreme class imbalance. Explainability is validated statistically, showing that 75% of features have significant attention differences between attack and normal traffic. The evidence is limited to a single public IoT dataset and the model’s 110 M-parameter BERT may be heavy for edge deployment.

What they found 3

  1. Binary detection achieves 95.27% F1 with 0.14% false positive rate.

    “operationally viable binary classification F1 score of 95.27% with a false positive rate of 0.14%”

  2. Multi-class APT stage categorization reaches 76.75% macro F1.

    “a 76.75% macro F1 score for multi-class attack categorization”

  3. 75% of the selected features show statistically significant attention differences between attack and normal traffic.

    “nine of twelve features (75%) demonstrate statistically significant differences in BERT attention weights between attack and normal traffic (p < 0.05)”

Caveats 5

  • The macro F1 of 76.75% is lower than non-interpretable SOTA methods (ACM 82.27% and PKI 81.37%).
  • The rare Data Exfiltration class attains only 40.86% F1, indicating poor detection of the stealthiest attacks.
  • Future work will explore model distillation and compression techniques to reduce computational requirements while retaining detection accuracy.
  • The current architecture, utilizing a full BERT model with 110M parameters, is designed for deployment on network gateway devices or monitoring servers with computational resources.
  • Performance is lowest on the ‘Data Exfiltration’ class (40.86% F1).

What’s new here 4

  • Integrates a pre-trained BERT transformer with Logic Tensor Networks to provide intrinsic, training-time explainability rather than post-hoc methods.
  • Employs a hierarchical two-stage classifier that separates binary detection from multi-class APT stage categorization, avoiding synthetic oversampling.
  • Combines neural attention weights and symbolic predicate satisfaction scores with statistical validation of feature importance.
  • Applies focal loss and weighted random sampling within a neurosymbolic framework to address extreme (≈98% benign) class imbalance.