NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PROTEAN: Federated Intrusion Detection in Non-IID Environments Through Prototype-Based Knowledge Sharing

Sara Chennoufi, Yufei Han, Gregory Blanc, Emiliano De Cristofaro, Christophe Kiennert

1. Introduction

In the contemporary cybersecurity landscape, the diversity of network environments presents a significant challenge for collaborative defense mechanisms. While Federated Learning (FL) has emerged as a privacy-preserving paradigm for training shared Intrusion Detection Systems (IDS), it frequently falters when faced with non-IID (not identically and independently distributed) data. In real-world deployments, different network nodes—ranging from industrial IoT plants to 5G telecommunications hubs—encounter vastly different attack vectors. This data heterogeneity often leads to a "global model drift," where the shared model converges toward the most frequent traffic patterns, effectively ignoring rare or site-specific threats.

The PROTEAN framework addresses this fundamental limitation by introducing prototype-based knowledge sharing. By moving beyond the exchange of raw model weights and incorporating class-specific "prototypes," PROTEAN enables participants to recognize unseen threats and maintain high accuracy even in highly imbalanced environments.

2. The PROTEAN Framework

The core innovation of PROTEAN lies in its ability to decouple feature learning from local data distributions through three primary mechanisms:

2.1 Prototype Generation

During local training rounds, each participant computes a "prototype" for every attack class present in their local dataset. A prototype is defined as the centroid (mean vector) of the embeddings generated by the model's feature extractor for a specific class. These prototypes serve as compact, representative summaries of how a specific attack "looks" in the model's latent space.

2.2 Dual Alignment Strategy

To ensure local models remain synchronized with the global objective without losing specialized knowledge, PROTEAN employs a specialized loss function featuring two anchors:

  • Model Alignment: This component penalizes local models if their weights deviate excessively from the global model parameters (similar to FedProx), ensuring stability across the federation.
  • Prototype Alignment: This component forces the local representation of an attack to stay close to the global prototype for that class. This ensures that even if a local node has limited data, its internal representation of a threat remains consistent with the collective knowledge of the network.

2.3 Zero-Shot Knowledge Transfer

One of the most powerful features of PROTEAN is its support for zero-shot detection. When the central server aggregates local prototypes into global prototypes, it redistributes the entire set to all participants. Consequently, a node that has never encountered a specific attack (e.g., a Mirai botnet) receives the global prototype for it. This allows the local model to "reserve" a region in its embedding space for that threat, enabling detection the moment the attack first appears.

3. Experimental Methodology

The researchers evaluated PROTEAN using two high-fidelity datasets:

  • X-IIoTID: A dataset representing Industrial Internet of Things (IIoT) traffic, including sophisticated attacks like tampering and lateral movement.
  • 5G-NIDD: A comprehensive dataset from a real-world 5G testbed in Finland, covering modern threats like diverse Denial of Service (DoS) attacks and port scanning.

To simulate the "messiness" of real-world networks, the study utilized a Dirichlet distribution to create extremely non-IID scenarios. In these tests, many participants were intentionally deprived of specific attack categories to test the framework's robustness and zero-shot capabilities.

4. Results and Discussion

PROTEAN demonstrated significant performance gains over state-of-the-art federated learning methods, including FedAvg, FedProx, and specialized IDS frameworks like Cerberus and MOON.

4.1 Accuracy and Robustness

In scenarios with extreme data imbalance, PROTEAN achieved a macro accuracy of 93.4% on the X-IIoTID dataset, a stark contrast to the 53.5% achieved by standard Federated Averaging. Furthermore, the framework showed remarkable stability; while the performance of competing methods plummeted as data became more heterogeneous, PROTEAN’s F1 scores remained high, showing up to a 23% improvement over the next best method.

4.2 Convergence and Efficiency

The inclusion of prototypes significantly accelerated the learning process. PROTEAN often reached peak accuracy by the second communication round, whereas traditional FL methods required dozens of rounds to achieve comparable stability. This rapid convergence is vital for IDS, where the window to adapt to new threats is often narrow.

4.3 Zero-Shot Performance

In controlled tests where participants lacked local training data for specific attack classes, PROTEAN enabled near-100% detection accuracy. By relying on the shared global prototypes, local models could correctly classify incoming threats that they had never "seen" during their own training phase.

5. Privacy and Security Considerations

A critical concern in prototype sharing is the potential for data leakage. The authors conducted "reconstruction attacks" to determine if raw network logs could be recovered from the shared prototypes. The results indicated that prototypes represent high-level statistical averages rather than individual records, making reconstruction difficult. When combined with Differential Privacy (DP), the risk of sensitive data exposure is further mitigated, though the authors note that DP can introduce a slight trade-off in model utility.

6. Conclusion

PROTEAN represents a significant advancement in federated intrusion detection. By leveraging prototype-based knowledge sharing, it overcomes the "lowest common denominator" problem inherent in standard FL. It provides a robust, fast-converging, and privacy-preserving solution for organizations to defend against a diverse and evolving threat landscape. Future work will focus on securing the framework against malicious participants who might attempt to "poison" the global prototypes and optimizing communication overhead for massive-scale deployments.

Summary updated

BibTeX
@inproceedings{chennoufi2025protean,
  author = {Sara Chennoufi and Yufei Han and Gregory Blanc and Emiliano De Cristofaro and Christophe Kiennert},
  title = {{PROTEAN: Federated Intrusion Detection in Non-IID Environments Through Prototype-Based Knowledge Sharing}},
  booktitle = {ESORICS},
  year = {2025},
  doi = {10.1007/978-3-032-07884-1\_6},
}
Figure