arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.00185cs.CRcs.AI
收藏

ThreatFormer-IDS: 基于Transformer的鲁棒入侵检测系统,具备零日泛化能力与可解释性归因

ThreatFormer-IDS: Robust Transformer Intrusion Detection with Zero-Day Generalization and Explainable Attribution

Srikumar Nayak

AI总结:

ThreatFormer-IDS通过结合加权监督学习、掩码自监督学习、PGD对抗训练和集成梯度归因,实现了在物联网和工业网络中高鲁棒性的入侵检测,具备零日泛化能力与可解释性。

摘要:

在物联网和工业网络中进行入侵检测需要能够检测罕见攻击且在低误报率下保持可靠性的模型,同时在交通演变和标签有限的情况下仍能保持可靠性。现有的入侵检测系统(IDS)解决方案通常在分布内准确性方面表现良好,但可能在评估未来交通、未见(零日)攻击家族或对抗性特征操纵时退化,且许多系统提供的证据有限,无法支持分析师的优先处理。为了解决这些差距,我们提出了ThreatFormer-IDS,一种基于Transformer的序列建模框架,将流量记录转换为时间有序的窗口,并学习上下文表示以实现鲁棒的入侵筛查。该方法结合(i)加权监督学习用于不平衡检测,(ii)掩码自监督学习以在漂移和稀疏标签下提高表示稳定性,(iii)基于PGD的对抗训练,使用缩放归一化的扰动以增强对特征级逃避的抵抗力,以及(iv)集成梯度归因以突出每个警报中影响性的时间步和特征。在ToN物联网基准测试中,ThreatFormer-IDS在时间顺序评估中实现了AUCROC 0.994,AUC-PR 0.956,以及Recall@1%FPR 0.910,优于强大的树形和序列基线。在零日协议中,它在未见攻击家族上保持了优越的泛化能力(AUC-PR 0.721,Recall@1%FPR 0.783)。鲁棒性测试进一步显示,随着对抗预算的增加,AUCPR的退化速度减缓,证实了在受限制扰动下改进的稳定性。总体而言,ThreatFormer-IDS提供了一个统一的、面向部署的IDS流程,平衡了检测质量、零日行为、鲁棒性和可解释性。

英文摘要:

Intrusion detection in IoT and industrial networks requires models that can detect rare attacks at low false-positive rates while remaining reliable under evolving traffic and limited labels. Existing IDS solutions often report strong in-distribution accuracy, but they may degrade when evaluated on future traffic, unseen (zero-day) attack families, or adversarial feature manipulations, and many systems provide limited evidence to support analyst triage. To address these gaps, we propose ThreatFormer- IDS, a Transformer-based sequence modeling framework that converts flow records into time-ordered windows and learns contextual representations for robust intrusion screening. The method combines (i) weighted supervised learning for imbalanced detection, (ii) masked self-supervised learning to improve representation stability under drift and sparse labels, (iii) PGDbased adversarial training with scale-normalized perturbations to strengthen resilience against feature-level evasion, and (iv) Integrated Gradients attribution to highlight influential time steps and features for each alert. On the ToN IoT benchmark with chronological evaluation, ThreatFormer-IDS achieves AUCROC 0.994, AUC-PR 0.956, and Recall@1%FPR 0.910, outperforming strong tree-based and sequence baselines. Under a zero-day protocol with held-out attack families, it maintains superior generalization (AUC-PR 0.721, Recall@1%FPR 0.783). Robustness tests further show slower degradation in AUCPR as the adversarial budget increases, confirming improved stability under bounded perturbations. Overall, ThreatFormer- IDS provides a unified, deployment-oriented IDS pipeline that balances detection quality, zero-day behavior, robustness, and explainability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑