AlertStar: Path-Aware Alert Prediction on Hyper-Relational Knowledge Graphs
About
Cyber-attacks continue to grow in scale and sophistication, yet existing network intrusion detection approaches lack the semantic depth required for path reasoning over attacker-victim interactions. We address this by first modelling network alerts as a knowledge graph, then formulating hyper-relational alert prediction as a hyper-relational knowledge graph completion (HR-KGC) problem, representing each network alert as a qualified statement (h, r, t, Q), where h and t are source and destination IPs, r denotes the attack type, and Q encodes flow-level metadata such as timestamps, ports, protocols, and attack intensity, going beyond standard KGC binary triples (h, r, t) that would discard this contextual richness. We introduce five models across three contributions: first, Hyper-relational Neural Bellman-Ford (HR-NBFNet) extends Neural Bellman-Ford Networks to the hyper-relational setting with qualifier-aware multi-hop path reasoning, while its multi-task variant MT-HR-NBFNet jointly predicts tail, relation, and qualifier-value within a single traversal pass; second, AlertStar fuses qualifier context and structural path information entirely in embedding space via cross-attention and learned path composition, and its multi-task extension MT-AlertStar eliminates the overhead of full knowledge graph propagation; third, HR-NBFNet-CQ extends qualifier-aware representations to answer complex first-order logic queries, including one-hop, two-hop chain, two-anchor intersection, and union, enabling multi-condition threat reasoning over the alert knowledge graph. Evaluated inductively on the Warden and UNSW-NB15 benchmarks across three qualifier-density regimes, AlertStar and MT-AlertStar achieve superior MR, MRR, and Hits@k, demonstrating that local qualifier fusion is both sufficient and more efficient than global path propagation for hyper-relational alert prediction.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Complex Query Answering | Warden Alert Inductive, 33% qualifier coverage | MR (Mean Rank)1.78 | 16 | |
| Knowledge Graph Completion | Warden Alert (Inductive) | MR2.53e+3 | 16 | |
| Knowledge Graph Completion | Warden Alert Transductive | MR589.8 | 16 | |
| Knowledge Graph Completion | UNSW-NB15 (Inductive) | MR (Mean Rank)3.645 | 12 | |
| Knowledge Graph Completion | UNSW-NB15 (Transductive) | MR3.79 | 12 | |
| Complex Query Answering | Warden Alert Inductive 66% qualifier coverage | Mean Rank (MR)28.05 | 8 | |
| Complex Query Answering | Warden Alert Inductive 100% qualifier coverage | Mean Rank (MR)18.727 | 8 | |
| Complex Query Answering | Warden Alert Transductive 100% qualifier coverage | MR18.725 | 8 | |
| Complex Query Answering | UNSW 100% Transductive | MR (Mean Rank)2.135 | 8 | |
| Complex Query Answering | Warden Alert (Transductive, 33% qualifier coverage) | Mean Rank (MR)12.25 | 8 |