arXiv:2607.25439cs.NIcs.LG2026-07

针对异常数据污染的无监督网络入侵检测,提出联邦学习增强方法。

Robust Unsupervised Network Intrusion Detection via Federated Learning with Selective Aggregation under Anomalous Sample Contamination

论文配图:Robust Unsupervised Network Intrusion Detection via Federated Learning with Selective Aggregation under Anomalous Sample Contamination
图 1 · 摘自论文原文
  • 利用联邦学习少数样本易被忽略的特性抑制异常客户端影响。
  • 通过选择性聚合机制剔除与全局模型差异大的客户端更新。
  • 在异常比例上升时仍保持检测性能,适合真实物联网场景。

网络入侵检测系统(NIDS)在物联网(IoT)环境中日益重要,因针对物联网设备的恶意软件正不断升级。无监督学习方法有望摆脱对标注数据的依赖,但通常假设训练数据完全干净,这一前提在实际中常被打破——尤其是从部署设备直接采集的数据中,训练集很可能包含异常样本。此类污染会降低检测性能,凸显出在未标记异常数据下仍能有效运行的鲁棒无监督NIDS的必要性。为此,我们提出一种鲁棒的异常检测训练方法,即使在未标记异常存在下依然有效。该方法包含两个核心部分:首先,利用联邦学习(FL)对少数样本表示不足的固有缺陷,减弱来自少量受控客户端的异常数据影响;其次,在模型聚合阶段引入选择性聚合机制,通过期望最大化(EM)算法量化本地模型与全局参考之间的“距离”,识别并排除显著偏离多数群体的客户端组。该机制确保异常更新不会损害全局模型。在多个NIDS数据集上的实验表明,该方法在异常数据污染环境下优于现有方法,且随着异常比例增加,仍能保持稳定检测性能。

原文摘要 · Abstract (English)

Network intrusion detection systems (NIDS) have become essential for Internet of Things (IoT) environments, as malware targeting IoT devices continues to evolve in sophistication. Unsupervised learning approaches offer a promising direction by removing the dependency on labeled datasets. However, the common assumption that training data are entirely clean is often violated in practice, particularly when data samples are collected directly from deployed network devices, where anomalies are likely to be present in the training datasets. Such contamination degrades detection performance and highlights the need for robust unsupervised NIDS methods capable of operating effectively under contaminated unlabeled training data. To address this issue, we propose a robust training methodology for anomaly detection (AD) that remains effective even in the presence of unlabeled anomalies. Our method consists of two primary components. First, we exploit a known limitation of federated learning (FL), namely its tendency to underrepresent minority data. By leveraging this characteristic, we attenuate the influence of anomalous data originating from a small number of compromised clients. Second, we introduce a selective aggregation mechanism during model aggregation, which quantifies the "distance" between local client models and a global reference. Specifically, we employ the Expectation-Maximization (EM) algorithm to detect and exclude client groups whose model updates significantly diverge from the majority. This selective aggregation ensures that anomalous updates do not compromise the global model. Experiments conducted on multiple NIDS datasets demonstrate that our method outperforms existing approaches in environments contaminated with anomalous data. Furthermore, the proposed method maintains its detection performance even as the proportion of anomalies increases.

入侵检测联邦学习无监督鲁棒性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。