揭示物联网入侵检测中的捷径学习:特征依赖与数据泄漏的取证式多范式评估 Unmasking Shortcut Learning in IoT Intrusion Detection: A Forensic, Multi-Paradigm Evaluation of Feature Dependence and Data Leakage 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-09-23
⬇️ 9 次下载
👁️ 预览文献
💡 AI 中文简介
研究评估了物联网入侵检测模型是否真正学习攻击行为,还是依赖数据集中的捷径(如IP地址和时间戳)。使用包含361万条流记录的CyberFlowIoT-GICAP基准,测试了四种学习范式和特征配置。发现仅用统计特征时,不同模型性能相近(约92.6% Macro-F1),但加入时间戳后树模型可达99.3%,而线性模型仅90.6%。攻击检测率差异大:高速攻击召回率超99.8%,但DNS Beaconing在去除上下文特征后召回率从27.8%降至0。随机划分数据会虚高召回率14%。最后提出了四点评估协议清单。
领域网络安全/物联网安全
适合谁读需要一定专业背景
核心贡献1. 揭示了物联网入侵检测模型依赖数据集捷径(如时间戳)而非通用攻击行为;2. 提出了现实评估的4点协议清单,强调PCAP分离和特征配置的重要性。
关键数据数据集包含3,617,388条流记录,126个PCAP会话,849,395条良性流。仅用统计特征时,LightGBM、随机森林和深度MLP的Macro-F1均为92.5%左右;加入时间戳后树模型达99.28%,线性模型90.62%。DNS Beaconing召回率从27.78%降至0.00%。随机流划分使攻击召回率提高最多14.00%。
推荐理由如果你关心物联网安全模型的真实性能,这篇论文用硬数据揭露了模型可能‘作弊’的真相,并给出了实用评估指南。
关键词["物联网入侵检测", "捷径学习", "数据泄漏", "特征依赖", "多范式评估", "网络安全"]

原文摘要

查看英文原文摘要

Machine learning-based Network Intrusion Detection Systems often report near-perfect performance on IoT benchmarks. However, whether these models learn generalizable attack behavior or exploit spurious dataset shortcuts- such as static testbed IP/MAC addresses and chronological recording artifacts-remains an important question. We evaluate the CyberFlowIoT-GICAP benchmark, containing 3,617,388 flow records across 126 PCAP sessions with 849,395 benign flows. Four learning paradigms are evaluated across four feature configurations using PCAP-disjoint splits; LightGBM is additionally evaluated using conventional random-flow splitting. When only statistical flow behavior is used (Fbehav), LightGBM (92.58% +/- 8.18%), Random Forest (92.59% +/- 8.18%), and Deep MLP (92.55% +/- 8.18%) achieve nearly identical Macro-F1, indicating that performance is constrained by feature representation rather than model complexity. With raw timestamps (Ftstamp), tree-based models reach 99.28% Macro-F1, while the linear model remains at 90.62%, showing that nonlinear models can exploit dataset-specific temporal structure. Attack detectability is highly asymmetric: high-rate and active attacks maintain >99.8% recall from flow behavior alone in nonlinear models, whereas the DNS Beaconing drops from 27.78% to 0.00% recall when contextual features are removed. Conventional random-flow splitting increases attack recall by up to 14.00%, highlighting the effect of placing flows from the same sessions in both training and test sets. We conclude with a 4-point protocol checklist for realistic IoT NIDS evaluation.