Anomaly-Flow: A Multi-domain Federated Generative Adversarial Network for Distributed Denial-of-Service Detection

Leonardo Henrique de Melo, Gustavo de Carvalho Bertoli, Michele Nogueira, Aldri Luiz dos Santos, Lourenço Alves Pereira Junior
3/18/2025
cs.CRcs.LG

No official code found. Best implementation: c2dc/anomaly-flow (13 stars, MIT, last commit 2025-05-23).

Abstract

Distributed denial-of-service (DDoS) attacks remain a critical threat to Internet services, causing costly disruptions. While machine learning (ML) has shown promise in DDoS detection, current solutions struggle with multi-domain environments where attacks must be detected across heterogeneous networks and organizational boundaries. This limitation severely impacts the practical deployment of ML-based defenses in real-world settings. This paper introduces Anomaly-Flow, a novel framework that addresses this critical gap by combining Federated Learning (FL) with Generative Adversarial Networks (GANs) for privacy-preserving, multi-domain DDoS detection. Our proposal enables collaborative learning across diverse network domains while preserving data privacy through synthetic flow generation. Through extensive evaluation across three distinct network datasets, Anomaly-Flow achieves an average F1-score of $0.747$, outperforming baseline models. Importantly, our framework enables organizations to share attack detection capabilities without exposing sensitive network data, making it particularly valuable for critical infrastructure and privacy-sensitive sectors. Beyond immediate technical contributions, this work provides insights into the challenges and opportunities in multi-domain DDoS detection, establishing a foundation for future research in collaborative network defense systems. Our findings have important implications for academic research and industry practitioners working to deploy practical ML-based security solutions.

View on arXivView PDF

Code Implementations(1)

c2dc/anomaly-flowCommunity100%
MIT

Framework for implementing Network Intrusion Detection Systems (NIDS) aimed at identifying anomalies in network flows using Federated Learning models.

133Shell, PythonMay 15, 20241 years agoMIT
anomaly-detectionddosfederated-learningganmulti-domain+1 more

Similar Papers

Cite this paper

@article{melo2025anomalyflow,
  title  = {Anomaly-Flow: A Multi-domain Federated Generative Adversarial Network for Distributed Denial-of-Service Detection},
  author = {Leonardo Henrique de Melo and Gustavo de Carvalho Bertoli and Michele Nogueira and Aldri Luiz dos Santos and Lourenço Alves Pereira Junior},
  year   = {2025},
  eprint = {2503.14618},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.14618v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.14618.svg)](https://codeofpaper.com/paper/2503.14618)

Discussion