LLM-generated IDPS rules detect unseen attacks at 87.4% with 2.3% false positives
GenTI’s LLM pipeline improves unseen attack detection from 45% to 87.4% and cuts false positives to 2.3%
AI/ML arXiv 4 Jun 2026 Benchmark Prototype evidence
Published as “GenTI: Benchmarking LLMs for Autonomous IDPS Rule Generation for Unseen Attacks”
Why it matters
The approach could automate the creation of high-quality IDS/IPS signatures for threats, reducing analyst effort and expanding coverage of zero-day attacks.
Summary
GenTI raises unseen-attack detection from 45% to 87.4% while cutting false positives from 8.5% to 2.3% and achieving a composite rule-quality score of 89.4%. It does this by training a 7B LLM on a new 200k-rule CTI-enriched benchmark (GTI) and using Chain-of-Thought and Chain-of-Verification prompting plus curriculum learning. The evidence comes from a held-out test set where GenTI reaches 89.5% syntax accuracy, 87.2% semantic similarity and 94.8% CTI coverage, outperforming strong baselines. However, detection of unseen attacks still lags behind known-attack detection (88.4% vs 94.2%). The paper provides the dataset and code publicly.
What they found 5
- Composite rule-quality score of 89.4% with high CTI coverage and large gains in unseen-attack detection.
“GenTI instantiation achieves a composite rule-quality score of 89.4%, with 94.8% CTI coverage, improving unseen attacks detection from 45% to 87.4% and reducing the false-positive rate from 8.5% to 2.3%.”
- The GTI corpus contains roughly 150 k IDPS rules and 50 k YARA rules.
“The corpus contains approximately 150 k IDPS rules and 50 k payload-level YARA rules.”
- On the test set GenTI attains 89.5% syntax accuracy, 87.2% semantic similarity, 94.8% CTI coverage and a composite score of 89.4%.
“GenTI attains SA = 89.5%, SS = 87.2%, CC = 94.8% and SE 89.4, resulting in the highest composite score of 89.4%.”
- Unseen-attack detection improves dramatically over the baseline (45% → 87.4%).
“improving unseen attacks detection from 45% to 87.4%”
- False-positive rate drops from 8.5% to 2.3% after applying CoT/CoVe and curriculum training.
“reducing the false-positive rate from 8.5% to 2.3%”
Caveats 1
- Although unseen attacks performance remains slightly below that for known attacks (88.4% versus 94.2%), the gap is substantially narrower than at baseline
What’s new here 4
- Introduces GTI, the first large-scale, CTI-enriched benchmark of >200k real IDPS and YARA rules for LLM training.
- Combines Chain-of-Thought reasoning with a Chain-of-Verification loop to enforce syntactic and semantic correctness of generated rules.
- Applies difficulty-aware curriculum learning to improve LLM performance on complex, payload-level signatures.
- Evaluates generated rules end-to-end on live Snort/Suricata engines, measuring unseen-attack detection and false-positive rates.