mlsanityData to 24 Nov 2026

KnowML: Improving Generalization of ML-NIDS with Attack Knowledge Graphs

arXiv 2506.19802 ↗Submitted 24 Jun 2025cs.CR cs.IRcited by 1

Not on the map. Why?

Abstract (arXiv)

Anomaly-based ML-NIDS (A-NIDS) model normal network behavior from benign data and classify deviations from this baseline as anomalies, theoretically enabling the detection of evolving attack variants without labeled attack data. The ability of A-NIDS to generalize critically depends on the quality of the feature space representing network behavior. However, the requirement for feature spaces that encode attack-relevant semantics has received little attention and remains poorly understood. As a consequence, these systems still struggle to meet practical operational constraints (low false positive rates without compromising detection performance and generalization to attack variants). We identify two limitations in the current feature spaces. First, Out-of-Dimension Blindness, where features do not capture essential attack mechanism properties. Second, Attack Strategy Aggregation Failure, where features cannot encode composite attack behaviors. Moreover, we demonstrate that two SotA data-driven generalization frameworks (based on incremental and contrastive learning) cannot compensate for these feature-level shortcomings. To bridge this gap, we present KnowML, a framework that encodes attack domain knowledge directly into the feature space. For each attack family, our method employs LLMs to construct a corresponding Knowledge Graph (KG) from attack implementations. Symbolic reasoning is then applied over the KG to enumerate potential attack strategies and their compositions. The resulting Knowledge-Augmented Feature Space enables effective generalization even when trained exclusively on benign traffic, a capability beyond current approaches. Systematic empirical evaluations show that KnowML achieves up to 99% detection rates while maintaining false positive rates at or below 0.0137%, substantially outperforming contemporary feature-based baselines across diverse attack variants.

Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Submitted 24 Jun 2025.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024KnowGraph: Knowledge-Enabled Anomaly Detection via Logical Reasoning on Graph Data
  2. 2024Problem space structural adversarial attacks for Network Intrusion Detection Systems based on Graph Neural Networks
  3. 2022Investigation and rectification of NIDS datasets and standardized feature set derivation for network attack detection with graph neural networks
  4. 2024Towards Explainable Network Intrusion Detection using Large Language Models
  5. 2025Poster: Enhancing GNN Robustness for Network Intrusion Detection via Agent-based Analysis
  6. 2026Content-Aware Attack Detection in LLM Agent Tool-Call Traffic: An Empirical Study of Features, Architectures, and Evaluation Protocols
  7. 2025AttackSeqBench: Benchmarking the Capabilities of LLMs for Attack Sequences Understanding
  8. 2024XG-NID: Dual-Modality Network Intrusion Detection using a Heterogeneous Graph Neural Network and Large Language Model