Cognitive Graph Intelligence for Adaptive and Robust DDoS Attack Detection in Next Generation Networks

arXiv cs.AI Papers

Summary

This paper proposes GraphGAN, a graph-based generative adversarial network for adaptive DDoS attack detection in next-generation networks, addressing class imbalance and achieving superior performance on benchmark datasets.

arXiv:2608.17352v1 Announce Type: new Abstract: Distributed Denial-of-Service (DDoS) attacks threaten network availability, requiring a cognitive detection process that senses traffic, infers intent, and supports an adaptive response under severe class imbalance and non-stationary conditions. This paper proposes a Graph-based Generative Adversarial Network (GraphGAN) that serves as the cognitive detection engine for this task. GraphGAN captures the relational structure among traffic flows while addressing imbalance through adversarial generation of synthetic samples. Sequential flows are converted into $k$-nearest neighbor graphs using sliding windows to preserve feature-similarity and temporal dependencies among flows. The generator learns the distribution of DDoS attacks to synthesize realistic minority samples, while a Graph Convolutional Network (GCN)-based discriminator distinguishes real from synthetic graph data. A separate GCN classifier, trained on the balanced dataset, performs the final detection decision. Evaluations on four benchmark datasets show that GraphGAN achieves superior accuracy, precision, and recall compared to state-of-the-art approaches, particularly in data-scarce scenarios. By integrating temporal graph construction, adversarial augmentation, and GCN classification, GraphGAN effectively models coordinated attack behaviors and mitigates class imbalance, providing a robust and topology-aware solution for intrusion detection in data-constrained environments.
Original Article
View Cached Full Text

Cached at: 08/19/26, 10:00 AM

# Cognitive Graph Intelligence for Adaptive and Robust DDoS Attack Detection in Next Generation Networks
Source: [https://arxiv.org/html/2608.17352](https://arxiv.org/html/2608.17352)
Yeahia SarkerMd Jafrin HossainMost\. Humayra Khanom RimeNirwan AnsariThanks:M\. A\. Hossain, Y\. Sarker, and M\. H\. K\. Rime are with Middle Tennessee State University, USA, M\. J\. Hossain is with C2C Tech, Germany, and N\. Ansari is with New Jersey Institute of Technology, USA\. Corresponding author: Mohammad Arif Hossain \(e\-mail: mohammad\.hossain@mtsu\.edu\)\.

###### Abstract

Distributed Denial\-of\-Service \(DDoS\) attacks threaten network availability, requiring a cognitive detection process that senses traffic, infers intent, and supports an adaptive response under severe class imbalance and non\-stationary conditions\. This paper proposes a Graph\-based Generative Adversarial Network \(GraphGAN\) that serves as the cognitive detection engine for this task\. GraphGAN captures the relational structure among traffic flows while addressing imbalance through adversarial generation of synthetic samples\. Sequential flows are converted intokk\-nearest neighbor graphs using sliding windows to preserve feature\-similarity and temporal dependencies among flows\. The generator learns the distribution of DDoS attacks to synthesize realistic minority samples, while a Graph Convolutional Network \(GCN\)\-based discriminator distinguishes real from synthetic graph data\. A separate GCN classifier, trained on the balanced dataset, performs the final detection decision\. Evaluations on four benchmark datasets show that GraphGAN achieves superior accuracy, precision, and recall compared to state\-of\-the\-art approaches, particularly in data\-scarce scenarios\. By integrating temporal graph construction, adversarial augmentation, and GCN classification, GraphGAN effectively models coordinated attack behaviors and mitigates class imbalance, providing a robust and topology\-aware solution for intrusion detection in data\-constrained environments\.

###### Index Terms:

Cognitive networking, DDoS resilience, graph neural networks, generative adversarial networks, class imbalance, and network intrusion detection systems\.

## IIntroduction

Distributed Denial\-of\-Service \(DDoS\) attacks have emerged as one of the most persistent and devastating threats in modern cybersecurity, causing billions of dollars in annual damages and disrupting critical infrastructure worldwide\[[38](https://arxiv.org/html/2608.17352#bib.bib6)\]\. Unlike targeted intrusions, DDoS attacks exploit the distributed nature of compromised hosts to overwhelm services, making real\-time mitigation extremely challenging\. The scale and sophistication of these attacks continue to escalate: botnets such as Mirai have demonstrated the ability to mobilize millions of compromised IoT devices into coordinated flooding campaigns\[[2](https://arxiv.org/html/2608.17352#bib.bib30),[23](https://arxiv.org/html/2608.17352#bib.bib11)\], while modern multi\-vector attacks combine volumetric, protocol, and application\-layer techniques to evade single\-point defenses\[[41](https://arxiv.org/html/2608.17352#bib.bib31)\]\. These developments highlight the inadequacy of static, rule\-based protection mechanisms and motivate the need for intelligent, adaptive detection frameworks\.

Traditional network intrusion detection systems \(NIDS\) rely primarily on signature\-based rules and statistical anomaly detection, both of which struggle to adapt to rapidly evolving attack vectors\[[19](https://arxiv.org/html/2608.17352#bib.bib25)\]\. Signature\-based systems require prior knowledge of attack patterns and are inherently reactive, limiting their ability to detect zero\-day or polymorphic variants\. Statistical anomaly detectors, while more general, often suffer from high false\-positive rates and limited capability to model complex, non\-linear relationships in high\-dimensional traffic data\[[15](https://arxiv.org/html/2608.17352#bib.bib10),[16](https://arxiv.org/html/2608.17352#bib.bib9)\]\. Meanwhile, the exponential growth in traffic volume and complexity has rendered conventional flow\-based analysis insufficient, as processing flows independently fails to capture the interconnected and coordinated nature of modern network communications\[[26](https://arxiv.org/html/2608.17352#bib.bib14),[24](https://arxiv.org/html/2608.17352#bib.bib8),[18](https://arxiv.org/html/2608.17352#bib.bib5)\]\.

With the proliferation of cloud computing, IoT ecosystems, and high\-speed 5G/6G networks, network defense increasingly relies on cognitive, learning\-driven detection that can observe traffic, reason about threats, and support adaptive mitigation across heterogeneous environments\[[33](https://arxiv.org/html/2608.17352#bib.bib1)\]\. In this setting, an intrusion detector is most useful as the learning core of a sense–infer–act process rather than a standalone classifier\. Deep learning has shown promise for automated feature extraction\[[32](https://arxiv.org/html/2608.17352#bib.bib13)\]; however, most methods treat traffic flows as independent feature vectors, discarding the relational structure that a cognitive detector could exploit\. Furthermore, severe class imbalance, where benign traffic vastly outnumbers attack instances, degrades sensitivity to minority intrusion classes and remains a persistent challenge\[[34](https://arxiv.org/html/2608.17352#bib.bib7)\]\. Addressing structural modeling and distributional imbalance together is therefore a prerequisite for adaptive, robust detection and motivates the framework we develop here\.

### I\-AMotivation

The growing complexity of DDoS attacks and the limitations of traditional detection approaches necessitate new methods that capture the structural and distributional properties of modern network data\. We highlight three key motivations for our graph\-based adversarial framework\.

Non\-Euclidean Structure in Network Traffic:Network communications inherently exhibit graph\-structured relationships through temporal sequences, source\-destination interactions, and feature similarities that are often overlooked by conventional approaches\[[4](https://arxiv.org/html/2608.17352#bib.bib24)\]\. Treating flows as independent samples discards relational information essential for recognizing coordinated and distributed attacks\. Graph neural networks have recently demonstrated strong potential in network security by modeling such dependencies\[[44](https://arxiv.org/html/2608.17352#bib.bib33)\]; however, their integration with adversarial augmentation remains largely unexplored\. Ourkk\-nearest neighbor \(kk\-NN\) graph construction captures flow interdependencies by forming temporal subgraphs that link flows by feature similarity within each time window, preserving both feature\-space proximity and temporal locality\.

Real\-World Class Imbalance:Network datasets are highly imbalanced, with benign traffic overwhelmingly dominating attack instances, significantly reducing model sensitivity to minority intrusion classes\[[30](https://arxiv.org/html/2608.17352#bib.bib22)\]\. Conventional interpolation\-based oversampling techniques, such as SMOTE, fail to capture the nonlinear and topological dependencies inherent in high\-dimensional traffic data\[[8](https://arxiv.org/html/2608.17352#bib.bib18)\]\. Although recent GAN\-based augmentation methods have improved the generation of synthetic attacks\[[43](https://arxiv.org/html/2608.17352#bib.bib32)\], they operate on vectorized representations and produce isolated samples without graph\-structural context\. To address this limitation, our adversarial framework employs a generator trained against a graph\-based discriminator to synthesize realistic minority samples that preserve both statistical distributions and relational fidelity across network nodes, thereby enhancing robustness and detection performance\.

Topology\-Aware Adversarial Training:Many generative models synthesize isolated samples without incorporating relational context, resulting in data that may be statistically plausible yet topologically inconsistent\[[3](https://arxiv.org/html/2608.17352#bib.bib34)\]\. Even advanced generative architectures such as Wasserstein GANs\[[3](https://arxiv.org/html/2608.17352#bib.bib34)\]and VAE\-GAN hybrids\[[36](https://arxiv.org/html/2608.17352#bib.bib35)\]generate point\-wise samples that neglect inter\-flow dependencies\. Our framework integrates graph neural networks \(GNNs\) with adversarial training to ensure that synthetic DDoS samples reflect both intrinsic flow characteristics and realistic relationships with neighboring flows, producing topology\-consistent augmentation that existing generative approaches cannot achieve\.

### I\-BLiterature Review

DDoS attacks have evolved from volumetric floods to multi\-vector campaigns, exposing the limitations of traditional detection methods that treat flows independently and ignore relational structures\[[44](https://arxiv.org/html/2608.17352#bib.bib33)\]\. While machine learning improves on rule\-based systems, most approaches rely on vectorized traffic representations, which miss topological patterns critical to distributed attacks\. Combined with severe class imbalance as benign traffic dominates, this gap reduces detection accuracy and minority\-class sensitivity\.

Feature Learning\-based DDoS Detection\.Chouhanet al\.\[[9](https://arxiv.org/html/2608.17352#bib.bib29)\]proposed a non\-linear kernel\-based support vector machine for classifying DDoS attacks in software\-defined networking \(SDN\)\. This lightweight model can detect live attacks but requires manual feature extraction\. An LSTM\-autoencoder\-based approach\[[12](https://arxiv.org/html/2608.17352#bib.bib28)\]reduces feature overhead and false alarms by addressing irrelevant features and non\-representative SDN datasets, yet it still overlooks the inherent class\-imbalance problem\. To capture temporal information, a CNN\-LSTM hybrid was introduced by Rajan and Aravindhar\[[31](https://arxiv.org/html/2608.17352#bib.bib27)\]\. On the ensemble learning front, Heet al\.\[[14](https://arxiv.org/html/2608.17352#bib.bib39)\]proposed a feature\-weighted random forest for application\-layer DDoS defense, achieving high detection rates but remaining limited to hand\-crafted feature spaces\. Yanget al\.\[[40](https://arxiv.org/html/2608.17352#bib.bib43)\]combined attention mechanisms with BiGRU and Inception\-CNN for IIoT intrusion detection, using mixed sampling to address class imbalance; however, the model still processes flows independently without structural context\. Federated learning has also emerged as a promising direction: Liet al\.\[[21](https://arxiv.org/html/2608.17352#bib.bib38)\]proposed an iterative model averaging \(IMA\) based gated recurrent unit \(GRU\) protocol at the fog/edge layer for collaborative and privacy\-preserving DDoS mitigation in Industrial IoT networks\. Despite these advances, the aforementioned methods fail to capture relational interdependencies within network traffic\.

Graph\-based DDoS Attack Classification\.Graph networks have shown significant performance improvements in modeling data relationships by converting datasets into node\-edge structures\[[29](https://arxiv.org/html/2608.17352#bib.bib4)\]\. A comprehensive survey by Zhonget al\.\[[44](https://arxiv.org/html/2608.17352#bib.bib33)\]systematically categorized GNN\-based IDS methods across graph construction strategies and deployment paradigms, identifying scalability and adversarial robustness as open challenges\. Liet al\.\[[22](https://arxiv.org/html/2608.17352#bib.bib26)\]proposed a vanilla graph network to exploit relationships among packet attributes, time intervals, and device characteristics\. A spatio\-temporal GCN\[[7](https://arxiv.org/html/2608.17352#bib.bib23)\]improved SDN\-based DDoS detection by incorporating temporal information, though class imbalance remained unaddressed\. Bakaret al\.\[[4](https://arxiv.org/html/2608.17352#bib.bib24)\]proposed a similar approach combining multiple graph networks to extract features from non\-Euclidean spaces\. Loet al\.\[[25](https://arxiv.org/html/2608.17352#bib.bib44)\]introduced E\-GraphSAGE, an edge\-feature\-aware extension of GraphSAGE that represents flows as graph edges with rich feature vectors, enabling joint learning from host and flow attributes for IoT intrusion detection\. Wanget al\.\[[37](https://arxiv.org/html/2608.17352#bib.bib37)\]proposed BS\-GAT, a graph attention network that constructs behavioral similarity graphs with edge weights incorporated into the attention mechanism, achieving over 99% accuracy in edge computing environments\. Duanet al\.\[[11](https://arxiv.org/html/2608.17352#bib.bib17)\]proposed a graph model in a semi\-supervised setting to mitigate data scarcity in DDoS detection\. Although this approach improves detection performance, it still struggles with class imbalance\.

Adversarial Training for DDoS Detection\.Recent advances in deep generative models have demonstrated the potential of adversarial training for DDoS detection\[[27](https://arxiv.org/html/2608.17352#bib.bib15)\]\. Shiehet al\.\[[35](https://arxiv.org/html/2608.17352#bib.bib16)\]proposed a dual\-discriminator strategy for detecting adversarial DDoS traffic in SDN\. A GAN model\[[27](https://arxiv.org/html/2608.17352#bib.bib15)\]was introduced to generate synthetic data for highly imbalanced datasets, improving classification accuracy by reframing DDoS detection as a supervised learning task\. Zhaoet al\.\[[43](https://arxiv.org/html/2608.17352#bib.bib32)\]employed a conditional GAN to oversample rare attack categories, preventing category omission in heavily skewed datasets through label\-consistent synthetic generation\. Arafahet al\.\[[3](https://arxiv.org/html/2608.17352#bib.bib34)\]combined a denoising autoencoder with a Wasserstein GAN, using the WGAN’s Lipschitz\-constrained training to synthesize more stable and realistic minority\-class traffic\. Tianet al\.\[[36](https://arxiv.org/html/2608.17352#bib.bib35)\]extended this line by integrating a variational autoencoder with an auxiliary\-classifier WGAN\-GP, thereby improving both the fidelity and the class\-conditioned diversity of generated intrusion samples\. Despite these advances, none of these generative approaches operate on graph\-structured data, producing isolated synthetic samples that lack topological context\.

Learning\-Driven Cognitive Network Defense\.A parallel line of work embeds learning inside the network control plane so that defense adapts online rather than through static rules\. Collaborative and decentralized learning has been explored for 5G\+ core and edge environments\[[16](https://arxiv.org/html/2608.17352#bib.bib9)\], and meta\- and resource\-aware learning has been applied to offloading and control in IoT networks\[[17](https://arxiv.org/html/2608.17352#bib.bib12)\]\. Federated designs push detection to the fog/edge layer for privacy\-preserving, in\-network mitigation\[[17](https://arxiv.org/html/2608.17352#bib.bib12)\], while flow\-level detectors have been deployed at SDN controllers to close the loop between sensing and actuation\[[12](https://arxiv.org/html/2608.17352#bib.bib28)\]\. These efforts frame intrusion detection as one stage of a cognitive networking pipeline, but they largely operate on vectorized traffic and do not exploit the relational topology of coordinated attacks\. GraphGAN targets exactly this gap: it supplies a topology\-aware cognitive engine whose output can drive an edge/SDN mitigation decision, uniting structural modeling with the adaptive control that cognitive communication networks require\.

### I\-CContributions

To address these challenges, we propose a Graph\-based Generative Adversarial Network \(GraphGAN\), a novel framework that unifies structure\-aware modeling with generative augmentation for intelligent DDoS detection\. Unlike prior work, our approach treats traffic as inherently relational and leverages adversarial training to mitigate class imbalance while preserving topological integrity\. The main contributions are summarized as follows:

- •A structure\-aware graph construction strategy usingkk\-NN connectivity over sliding temporal windows to capture flow co\-occurrence and feature\-similarity patterns within temporal neighborhoods that are ignored by vector\-based detection approaches\.
- •An adversarial graph neural architecture integrating GCNs with generative training, where the discriminator processes entire graph structures, enabling topology\-conditioned synthetic sample generation over fixed real topology templates\.
- •An imbalance\-aware generative mechanism that produces realistic minority\-class DDoS samples while preserving both statistical fidelity and relational consistency within the graph\.
- •A detection framework based on GCN classification that exploits structural flow relationships to identify coordinated attack patterns\.

The remainder of this manuscript is organized as follows\. Section[II](https://arxiv.org/html/2608.17352#S2)introduces the proposed GraphGAN framework\. Section[III](https://arxiv.org/html/2608.17352#S3)presents the experimental results and performance evaluation\. Section[IV](https://arxiv.org/html/2608.17352#S4)includes the concluding remarks\.

## IIMethodology

The proposed GraphGAN integrates graph neural networks with adversarial training to address class imbalance while modeling topological relationships in network traffic\. The framework is illustrated in Fig\.[1](https://arxiv.org/html/2608.17352#S2.F1)\.

### II\-ACognitive Detection Process

We frame GraphGAN as the cognitive detection stage of a*sense–infer–act*process that a network controller \(e\.g\., an SDN controller\) can use to maintain service availability under attack\. In the*sense*stage, per\-flow statistics𝐱i∈ℝd\\mathbf\{x\}\_\{i\}\\in\\mathbb\{R\}^\{d\}are exported from switches or gateways \(e\.g\., via telemetry or flow\-export\) and streamed to the detector\. In the*infer*stage, the proposed GraphGAN pipeline converts a sliding window of flows into a temporal graph𝒢t\\mathcal\{G\}\_\{t\}and produces a subgraph\-level decisionP⁡\(y∣𝒢t\)P\(y\\mid\\mathcal\{G\}\_\{t\}\); adversarial augmentation supplies the minority\-class fidelity that keeps this decision reliable under the imbalance typical of live traffic\. In the*act*stage, a decision of “DDoS” can trigger a mitigation policy \(e\.g\., rate limiting or flow\-rule installation\), while benign decisions leave forwarding untouched\.

Two properties make this framing attractive\. First, the detector consumes only exported flow features, so it imposes no per\-packet inference cost on the forwarding path\. Second, because the decision is made at the granularity of a temporal window rather than a single flow, detection reacts to*coordinated*behavior—the regime in which distributed attacks are distinguishable \(Theorem[1](https://arxiv.org/html/2608.17352#Thmtheorem1)\)—rather than to isolated flows\.

### II\-BGraph Construction from Network Traffic

Our graph construction methodology transforms sequential network flow data into graph\-structured representations that preserve both feature\-level similarities and temporal dependencies\.

#### II\-B1Feature Space Representation and Normalization

Let𝒟=\{\(𝐱i,yi\)\}i=1N\\mathcal\{D\}=\\\{\(\\mathbf\{x\}\_\{i\},y\_\{i\}\)\\\}\_\{i=1\}^\{N\}denote the traffic dataset, where𝐱i∈ℝd\\mathbf\{x\}\_\{i\}\\in\\mathbb\{R\}^\{d\}is thedd\-dimensional feature vector of theii\-th flow andyi∈\{0,1\}y\_\{i\}\\in\\\{0,1\\\}is the binary label \(benign or DDoS\)\. Each𝐱i\\mathbf\{x\}\_\{i\}consists of flow\-level statistics, including packet size, inter\-arrival time, flow duration, and protocol\-related features\. To avoid dominance of large\-magnitude features and, crucially, to confine every feature to a bounded range that the generator can reproduce, we standardize each feature to the interval\[−1,1\]\[\-1,1\]via min–max normalization,

𝐱~i=2​𝐱i−𝐱min𝐱max−𝐱min−𝟏,\\tilde\{\\mathbf\{x\}\}\_\{i\}=2\\,\\frac\{\\mathbf\{x\}\_\{i\}\-\\mathbf\{x\}\_\{\\min\}\}\{\\mathbf\{x\}\_\{\\max\}\-\\mathbf\{x\}\_\{\\min\}\}\-\\mathbf\{1\},\(1\)where𝐱min\\mathbf\{x\}\_\{\\min\}and𝐱max\\mathbf\{x\}\_\{\\max\}are the element\-wise minimum and maximum computed over the training dataset and all operations are applied element\-wise\. Beyond balancing feature contributions in graph construction, bounding features to\[−1,1\]\[\-1,1\]aligns their support with the codomain of the generator’stanh\\tanhoutput, a property we exploit to keep the adversarial distribution\-matching objective \(Theorem[3](https://arxiv.org/html/2608.17352#Thmtheorem3)\) well\-posed\.

#### II\-B2Temporal Graph Construction via Sliding Windows

Network attacks, particularly DDoS attacks, exhibit temporal patterns crucial for accurate detection\. To capture these patterns while maintaining computational tractability, we employ a sliding\-window mechanism that partitions sequential network flows into temporal subgraphs\. For window sizewwand step sizess, we define temporal subgraphs𝒢t=\(𝒱t,ℰt,𝐗t\),\\mathcal\{G\}\_\{t\}=\(\\mathcal\{V\}\_\{t\},\\mathcal\{E\}\_\{t\},\\mathbf\{X\}\_\{t\}\),where𝒱t=\{vt,1,…,vt,w\}\\mathcal\{V\}\_\{t\}=\\\{v\_\{t,1\},\\ldots,v\_\{t,w\}\\\}is the vertex set ofwwconsecutive flows,ℰt\\mathcal\{E\}\_\{t\}represents the edge set encoding relational dependencies among flows, and𝐗t∈ℝw×d\\mathbf\{X\}\_\{t\}\\in\\mathbb\{R\}^\{w\\times d\}is the standardized feature matrix\. The sliding window ensures temporal locality, and overlapping windows \(s<ws<w\) capture transitional patterns for robust representation learning\. Because overlapping windows share raw flows, windows are never allowed to span across data partitions: the chronological splitting protocol used in our experiments \(Section[III](https://arxiv.org/html/2608.17352#S3)\) partitions the flow stream before windowing, preventing any flow from leaking across the training, validation, and test sets\.

![Refer to caption](https://arxiv.org/html/2608.17352v1/architecture.png)Fig\. 1:Overview of the proposed GraphGAN framework\. \(Left\) Raw flow vectors are segmented using sliding windows and transformed intokk\-NN subgraphs\. \(Center\) The adversarial training loop optimizes a generator to synthesize realistic node features over fixed topology templates, while a GCN\-based discriminator distinguishes real from synthetic graphs\. \(Right\) A GCN classifier operates on the augmented dataset to perform binary DDoS classification\.
#### II\-B3k\-Nearest Neighbor Graph Construction

Constructing meaningful graph topology is critical for capturing the relational structure inherent in network traffic\. We employkk\-nearest neighbor \(kk\-NN\) graph construction based on feature similarity, creating edges between network flows with similar characteristics\. Thekk\-NN graph construction begins by computing the pairwise Euclidean distance matrix for all flows within each temporal window:

Di​j\(t\)=‖𝐱~t,i−𝐱~t,j‖2=∑ℓ=1d\(x~t,i,ℓ−x~t,j,ℓ\)2D\_\{ij\}^\{\(t\)\}=\\\|\\tilde\{\\mathbf\{x\}\}\_\{t,i\}\-\\tilde\{\\mathbf\{x\}\}\_\{t,j\}\\\|\_\{2\}=\\sqrt\{\\sum\_\{\\ell=1\}^\{d\}\(\\tilde\{x\}\_\{t,i,\\ell\}\-\\tilde\{x\}\_\{t,j,\\ell\}\)^\{2\}\}\(2\)
where𝐱~t,i\\tilde\{\\mathbf\{x\}\}\_\{t,i\}represents the standardized feature vector for theii\-th node in temporal windowtt\. The Euclidean distance metric is chosen for its interpretability and computational efficiency, though other distance metrics could be employed depending on the feature characteristics\. For each nodeviv\_\{i\}in the temporal window, we identify itskknearest neighbors:

𝒩k​\(vi\)=\{vj:j∈argminj≠ik​Di​j\(t\)\}\\mathcal\{N\}\_\{k\}\(v\_\{i\}\)=\\\{v\_\{j\}:j\\in\\text\{argmin\}\_\{j\\neq i\}^\{k\}D\_\{ij\}^\{\(t\)\}\\\}\(3\)
This operation selects thekknodes most similar to nodeviv\_\{i\}in the feature space, excludingviv\_\{i\}itself\. The parameterkkcontrols the graph’s connectivity and must be chosen to balance capturing local neighborhoods \(smallkk\) and ensuring connectivity \(largekk\)\. The adjacency matrix𝐀t∈\{0,1\}w×w\\mathbf\{A\}\_\{t\}\\in\\\{0,1\\\}^\{w\\times w\}is then constructed to create an undirected graph:

Ai​j\(t\)=\{1,if​vj∈𝒩k​\(vi\)​or​vi∈𝒩k​\(vj\),0,otherwise\.A\_\{ij\}^\{\(t\)\}=\\begin\{cases\}1,&\\text\{if \}v\_\{j\}\\in\\mathcal\{N\}\_\{k\}\(v\_\{i\}\)\\text\{ or \}v\_\{i\}\\in\\mathcal\{N\}\_\{k\}\(v\_\{j\}\),\\\\ 0,&\\text\{otherwise\}\.\\end\{cases\}\(4\)
The symmetric construction ensures that if nodeviv\_\{i\}considersvjv\_\{j\}a neighbor, thenvjv\_\{j\}also considersviv\_\{i\}a neighbor, yielding an undirected graph that better captures bidirectional relationships in network communications\. Two important structural properties follow directly from this symmetrickk\-NN construction: the adjacency matrix is guaranteed to be symmetric, and every node has a degree bounded betweenkkandw−1w\{\-\}1\. We formalize these properties below\.

###### Lemma 1\(Symmetry and Bounded Degree ofkk\-NN Graph\)\.

The adjacency matrix𝐀t\\mathbf\{A\}\_\{t\}constructed via symmetrickk\-NN satisfies: \(i\)𝐀t=𝐀t⊤\\mathbf\{A\}\_\{t\}=\\mathbf\{A\}\_\{t\}^\{\\top\}\(symmetry\), and \(ii\) for every nodeviv\_\{i\}, the degreedeg⁡\(vi\)=∑jAi​j\(t\)\\deg\(v\_\{i\}\)=\\sum\_\{j\}A\_\{ij\}^\{\(t\)\}satisfiesk≤deg⁡\(vi\)≤w−1k\\leq\\deg\(v\_\{i\}\)\\leq w\-1, wherewwis the window size\.

*Proof*Property \(i\) follows directly from the construction rule in Eq\. \([4](https://arxiv.org/html/2608.17352#S2.E4)\):Ai​j\(t\)=1A\_\{ij\}^\{\(t\)\}=1if and only ifvj∈𝒩k​\(vi\)v\_\{j\}\\in\\mathcal\{N\}\_\{k\}\(v\_\{i\}\)*or*vi∈𝒩k​\(vj\)v\_\{i\}\\in\\mathcal\{N\}\_\{k\}\(v\_\{j\}\), which is symmetric by definition\. For property \(ii\), each nodeviv\_\{i\}selects exactlykkneighbors, sodeg⁡\(vi\)≥k\\deg\(v\_\{i\}\)\\geq k\. Since the graph containswwnodes and self\-loops are excluded, the degree is bounded above byw−1w\-1\.

This bounded\-degree property ensures that each node maintains at leastkkconnections while remaining constrained by the finite window sizeww, preventing degenerate graph structures and providing a well\-conditioned topology for subsequent GCN processing\.

#### II\-B4Graph Label Assignment

Each temporal subgraph requires a label for supervised learning\. Since individual network flows within a window may have different labels, we employ majority voting to assign a single label to the entire subgraph as:

yt=argmaxc∈\{0,1\}​∑i=1w𝕀⁡\(yt,i=c\),y\_\{t\}=\\text\{argmax\}\_\{c\\in\\\{0,1\\\}\}\\sum\_\{i=1\}^\{w\}\\mathbb\{I\}\(y\_\{t,i\}=c\),\(5\)where𝕀⁡\(⋅\)\\mathbb\{I\}\(\\cdot\)is the indicator function that returns 1 if the condition is true and 0 otherwise, andyt,iy\_\{t,i\}is the label of theii\-th flow in windowtt\. For even window sizes, an exact tie between the two classes is possible; we break such ties toward the attack \(DDoS\) class, a security\-conservative choice that favors recall over precision\. This approach assumes that the majority class within a temporal window reflects the overall behavior pattern, which is reasonable for DDoS attacks, which typically involve sustained malicious activity across multiple flows\. A natural question is whether this majority\-voting scheme reliably assigns labels for the window sizes used in our experiments, including the even defaultw=30w=30\. The following lemma confirms that the assigned label is always supported by at least a simple majority, which strengthens to a strict majority for odd window sizes\.

###### Lemma 2\(Label Consistency of Majority Voting\)\.

Letαt=1w​∑i=1w𝕀⁡\(yt,i=yt\)\\alpha\_\{t\}=\\frac\{1\}\{w\}\\sum\_\{i=1\}^\{w\}\\mathbb\{I\}\(y\_\{t,i\}=y\_\{t\}\)denote the fraction of flows in windowttagreeing with the labelyty\_\{t\}assigned by Eq\. \([5](https://arxiv.org/html/2608.17352#S2.E5)\), with ties broken toward the attack class\. Then,αt≥12\\alpha\_\{t\}\\geq\\frac\{1\}\{2\}for any window sizeww\. Moreover, whenwwis odd, tie is not allowed and the bound strengthens to a strict majority,αt≥12\+12​w\\alpha\_\{t\}\\geq\\frac\{1\}\{2\}\+\\frac\{1\}\{2w\}\. Under temporal locality, where DDoS flows form contiguous segments so that most windows lie within a single regime,αt→1\\alpha\_\{t\}\\to 1; the worst caseαt=12\\alpha\_\{t\}=\\frac\{1\}\{2\}arises only at an exact class split within a window\.

*Proof*For binary labels, one of the two classes must account for at least⌈w/2⌉\\lceil w/2\\rceilof thewwflows, so the majority\-voted winner satisfies∑i=1w𝕀⁡\(yt,i=yt\)≥⌈w/2⌉\\sum\_\{i=1\}^\{w\}\\mathbb\{I\}\(y\_\{t,i\}=y\_\{t\}\)\\geq\\lceil w/2\\rceil; the tie\-breaking rule guarantees this even at an exactw/2w/2split\. Dividing bywwyieldsαt≥⌈w/2⌉/w≥12\\alpha\_\{t\}\\geq\\lceil w/2\\rceil/w\\geq\\frac\{1\}\{2\}\. Whenwwis odd, the class counts∑i𝕀⁡\(yt,i=1\)\\sum\_\{i\}\\mathbb\{I\}\(y\_\{t,i\}=1\)andw−∑i𝕀⁡\(yt,i=1\)w\-\\sum\_\{i\}\\mathbb\{I\}\(y\_\{t,i\}=1\)have opposite parities and cannot be equal, so tie is not possible and the winning count is at leastw\+12\\frac\{w\+1\}\{2\}\. Dividing bywwgivesαt≥w\+12​w=12\+12​w\\alpha\_\{t\}\\geq\\frac\{w\+1\}\{2w\}=\\frac\{1\}\{2\}\+\\frac\{1\}\{2w\}, which establishes the strict\-majority case\.

#### II\-B5When Graph Structure Carries Information

We formalize two properties of DDoS traffic that together establish when graph structure provides a detection advantage over single\-flow models\. The first says individual flows are*ambiguous*; the second says they are*jointly informative*\. Both are necessary for structure to help, and we state them as explicit hypotheses\.

###### Definition 1\(Feature Ambiguity\)\.

Flows are*η\\eta\-ambiguous*if the optimal single\-flow \(vector\) classifier has irreducible Bayes riskRflow⋆=𝔼𝐱​\[min⁡\(p⁡\(y=0∣𝐱\),p⁡\(y=1∣𝐱\)\)\]=η\>0\.R^\{\\star\}\_\{\\mathrm\{flow\}\}=\\mathbb\{E\}\_\{\\mathbf\{x\}\}\\\!\\left\[\\min\\\!\\big\(p\(y\{=\}0\\mid\\mathbf\{x\}\),\\,p\(y\{=\}1\\mid\\mathbf\{x\}\)\\big\)\\right\]=\\eta\>0\.

###### Definition 2\(Coordination\)\.

DDoS traffic is*coordinated*if, for flowsi,ji,jconnected by thekk\-NN rule, the labels retain dependence after conditioning on their features:I\(Yi;Yj∣𝐗i,𝐗j\)=c\>0\.I\\\!\\left\(Y\_\{i\};Y\_\{j\}\\mid\\mathbf\{X\}\_\{i\},\\mathbf\{X\}\_\{j\}\\right\)=c\>0\.

Definition[2](https://arxiv.org/html/2608.17352#Thmdefinition2)captures the intuition that botnet flows are not independent draws: knowing a neighbor is malicious raises the posterior that a feature\-similar flow is malicious too,*beyond*what the features alone reveal\. We now show that a neighborhood\-aware predictor strictly beats the best single\-flow predictor exactly in this regime\.

###### Theorem 1\(Graph Advantage under Feature\-Ambiguous Coordination\)\.

Assume flows areη\\eta\-ambiguous \(Definition[1](https://arxiv.org/html/2608.17352#Thmdefinition1)\) and coordinated with strengthc\>0c\>0\(Definition[2](https://arxiv.org/html/2608.17352#Thmdefinition2)\)\. LetRgraph⋆R^\{\\star\}\_\{\\mathrm\{graph\}\}be the Bayes risk of a predictor that observes a node together with itskk\-NN neighborhood within the window\. Then,

Rflow⋆−Rgraph⋆≥Φ⁡\(c,m¯\)\>0,R^\{\\star\}\_\{\\mathrm\{flow\}\}\-R^\{\\star\}\_\{\\mathrm\{graph\}\}\\;\\geq\\;\\Phi\(c,\\bar\{m\}\)\\;\>\\;0,wherem¯\\bar\{m\}is the expected number of same\-class neighbors andΦ\\Phiis strictly increasing in both arguments, withΦ⁡\(0,⋅\)=0\\Phi\(0,\\cdot\)=0\.

*Proof*The neighborhood supplies side informationZi=\(Yj\)j∈𝒩k​\(vi\)Z\_\{i\}=\(Y\_\{j\}\)\_\{j\\in\\mathcal\{N\}\_\{k\}\(v\_\{i\}\)\}aboutYiY\_\{i\}\. By Definition[2](https://arxiv.org/html/2608.17352#Thmdefinition2),I⁡\(Yi;Zi∣𝐗i\)≥c​m¯\>0I\(Y\_\{i\};Z\_\{i\}\\mid\\mathbf\{X\}\_\{i\}\)\\geq c\\,\\bar\{m\}\>0, so the conditional entropy strictly drops:H⁡\(Yi∣𝐗i,Zi\)<H⁡\(Yi∣𝐗i\)H\(Y\_\{i\}\\mid\\mathbf\{X\}\_\{i\},Z\_\{i\}\)<H\(Y\_\{i\}\\mid\\mathbf\{X\}\_\{i\}\)\. Fano’s inequality lower\-bounds any predictor’s risk by an increasing function of the conditional entropy of the target; a strict entropy reduction therefore admits a neighborhood predictor whose Bayes risk is strictly smaller, with the gap controlled by the mutual information drop\. SettingΦ\\Phito the induced risk decrease gives the claim;Φ⁡\(0,⋅\)=0\\Phi\(0,\\cdot\)=0becausec=0c=0removes the side information\.

Scope\.The hypothesisη\>0\\eta\>0is essential: if flows are already separable in feature space, thenRflow⋆=0R^\{\\star\}\_\{\\mathrm\{flow\}\}=0and no model can improve on it, so the advantage vanishes\. The theorem, therefore, characterizes*when*structure helps \(ambiguous yet coordinated traffic\) rather than asserting structure is universally required\. This is the regime that DDoS occupies, and that motivates the entire framework\.

The advantage above lies in the dependence between features and the topology they induce\. Because thekk\-NN adjacency is a deterministic function of the window’s features, this dependence is real and, crucially, invisible to any feature\-only model\.

###### Proposition 1\(Feature–Topology Information Gap\)\.

Let a vector or vectorized\-GAN model act on𝐗\\mathbf\{X\}alone, i\.e\. its predictor and generator are measurable with respect to features only\. Then, no such model can exploit the feature–topology mutual informationIdata​\(𝐗,𝐀\)I\_\{\\mathrm\{data\}\}\(\\mathbf\{X\};\\mathbf\{A\}\)\. A model that processes\(𝐗,𝐀\)\(\\mathbf\{X\},\\mathbf\{A\}\)jointly, as our GCN does, has access to this term\.

*Proof*A feature\-only predictor factors through𝐗\\mathbf\{X\}, so by the data\-processing inequality, its accessible information aboutYYis at mostI⁡\(𝐗,Y\)I\(\\mathbf\{X\};Y\)\. The joint predictor’s accessible information isI⁡\(𝐗,𝐀,Y\)=I⁡\(𝐗,Y\)\+I⁡\(𝐀;Y∣𝐗\)I\(\\mathbf\{X\},\\mathbf\{A\};Y\)=I\(\\mathbf\{X\};Y\)\+I\(\\mathbf\{A\};Y\\mid\\mathbf\{X\}\), and the second term is non\-zero precisely when topology is label\-informative given features—the coordinated regime of Definition[2](https://arxiv.org/html/2608.17352#Thmdefinition2)\.

The quantityIdata​\(𝐗,𝐀\)I\_\{\\mathrm\{data\}\}\(\\mathbf\{X\};\\mathbf\{A\}\)reappears as the irreducible residual in the adversarial augmentation analysis \(Theorem[4](https://arxiv.org/html/2608.17352#Thmtheorem4)\) and connects to the generalization bound of Theorem[5](https://arxiv.org/html/2608.17352#Thmtheorem5), forming the information\-theoretic thread that links graph construction, adversarial training, and classification throughout the framework\.

### II\-CAdversarial Learning Framework

By learning the underlying distribution of minority class samples \(DDoS attacks\), our GAN\-based approach generates realistic synthetic samples that preserve both statistical properties and topological relationships\.

#### II\-C1Generator Network Architecture

The generator networkGθ:ℝz→ℝdG\_\{\\theta\}:\\mathbb\{R\}^\{z\}\\rightarrow\\mathbb\{R\}^\{d\}transforms random noise vectors sampled from a prior distribution into synthetic node features that mimic the characteristics of real DDoS traffic\. The architecture employs multiple fully connected layers with batch normalization and dropout for regularization\. Given a noise vector𝐳∼𝒩⁡\(𝟎,𝐈z\)\\mathbf\{z\}\\sim\\mathcal\{N\}\(\\mathbf\{0\},\\mathbf\{I\}\_\{z\}\)sampled from a multivariate standard normal distribution, wherezzis the noise dimension, the generator produces synthetic features through the following sequence of transformations:

𝐡1\\displaystyle\\mathbf\{h\}\_\{1\}=ReLU​\(BN​\(𝐖1G​𝐳\+𝐛1G\)\),\\displaystyle=\\text\{ReLU\}\(\\text\{BN\}\(\\mathbf\{W\}\_\{1\}^\{G\}\\mathbf\{z\}\+\\mathbf\{b\}\_\{1\}^\{G\}\)\),\(6\)𝐡2\\displaystyle\\mathbf\{h\}\_\{2\}=Dropout​\(ReLU​\(BN​\(𝐖2G​𝐡1\+𝐛2G\)\),p=0\.3\),\\displaystyle=\\text\{Dropout\}\(\\text\{ReLU\}\(\\text\{BN\}\(\\mathbf\{W\}\_\{2\}^\{G\}\\mathbf\{h\}\_\{1\}\+\\mathbf\{b\}\_\{2\}^\{G\}\)\),p=0\.3\),\(7\)𝐡3\\displaystyle\\mathbf\{h\}\_\{3\}=Dropout​\(ReLU​\(BN​\(𝐖3G​𝐡2\+𝐛3G\)\),p=0\.3\),\\displaystyle=\\text\{Dropout\}\(\\text\{ReLU\}\(\\text\{BN\}\(\\mathbf\{W\}\_\{3\}^\{G\}\\mathbf\{h\}\_\{2\}\+\\mathbf\{b\}\_\{3\}^\{G\}\)\),p=0\.3\),\(8\)𝐱^\\displaystyle\\hat\{\\mathbf\{x\}\}=tanh⁡\(𝐖4G​𝐡3\+𝐛4G\),\\displaystyle=\\tanh\(\\mathbf\{W\}\_\{4\}^\{G\}\\mathbf\{h\}\_\{3\}\+\\mathbf\{b\}\_\{4\}^\{G\}\),\(9\)
where𝐖iG∈ℝhi×hi−1\\mathbf\{W\}\_\{i\}^\{G\}\\in\\mathbb\{R\}^\{h\_\{i\}\\times h\_\{i\-1\}\}and𝐛iG∈ℝhi\\mathbf\{b\}\_\{i\}^\{G\}\\in\\mathbb\{R\}^\{h\_\{i\}\}are the weight matrices and bias vectors for theii\-th layer, respectively, withh0=zh\_\{0\}=zandh4=dh\_\{4\}=d\. The batch normalization operationBN​\(⋅\)\\text\{BN\}\(\\cdot\)normalizes the pre\-activation values to have zero mean and unit variance, accelerating training and improving stability\. The ReLU activation functionReLU​\(x\)=max⁡\(0,x\)\\text\{ReLU\}\(x\)=\\max\(0,x\)introduces non\-linearity while maintaining computational efficiency\. Dropout with probabilityp=0\.3p=0\.3randomly sets a fraction of input units to zero during training, preventing overfitting\. The final activationtanh⁡\(x\)=ex−e−xex\+e−x\\tanh\(x\)=\\frac\{e^\{x\}\-e^\{\-x\}\}\{e^\{x\}\+e^\{\-x\}\}bounds each synthetic feature to\[−1,1\]\[\-1,1\], stabilizing adversarial training and, by construction, matching the support of the real node features that were min–max normalized to the same interval in Eq\. \([1](https://arxiv.org/html/2608.17352#S2.E1)\)\. This shared support is essential: were the synthetic and real features confined to different ranges, the discriminator could separate them by feature range alone, and the Jensen–Shannon optimum of Theorem[3](https://arxiv.org/html/2608.17352#Thmtheorem3)\(attained atpG=pdatap\_\{G\}=p\_\{\\text\{data\}\}\) could never be reached\.

#### II\-C2Graph\-based Discriminator Network

The discriminator networkDϕD\_\{\\phi\}employs Graph Convolutional Networks \(GCNs\) to process graph\-structured data and distinguish between real and synthetic samples\. Unlike traditional discriminators that operate on individual samples, our graph\-based approach considers the entire graph topology, enabling more sophisticated pattern recognition\. For a graph𝒢=\(𝒱,ℰ,𝐗\)\\mathcal\{G\}=\(\\mathcal\{V\},\\mathcal\{E\},\\mathbf\{X\}\), each GCN layer performs localized convolution operations that aggregate information from neighboring nodes\. The fundamental GCN operation is defined as:

𝐇\(l\+1\)=σ⁡\(𝐃^−12​𝐀^​𝐃^−12​𝐇\(l\)​𝐖\(l\)\),\\mathbf\{H\}^\{\(l\+1\)\}=\\sigma\\\!\\left\(\\hat\{\\mathbf\{D\}\}^\{\-\\frac\{1\}\{2\}\}\\hat\{\\mathbf\{A\}\}\\hat\{\\mathbf\{D\}\}^\{\-\\frac\{1\}\{2\}\}\\mathbf\{H\}^\{\(l\)\}\\mathbf\{W\}^\{\(l\)\}\\right\),\(10\)
where𝐀^=𝐀\+𝐈\\hat\{\\mathbf\{A\}\}=\\mathbf\{A\}\+\\mathbf\{I\}is the adjacency matrix with added self\-loops to include each node’s own features in the aggregation,𝐃^i​i=∑jA^i​j\\hat\{\\mathbf\{D\}\}\_\{ii\}=\\sum\_\{j\}\\hat\{A\}\_\{ij\}is the corresponding degree matrix,𝐇\(l\)∈ℝ\|𝒱\|×h\(l\)\\mathbf\{H\}^\{\(l\)\}\\in\\mathbb\{R\}^\{\|\\mathcal\{V\}\|\\times h^\{\(l\)\}\}denotes the node representations at layerllwith𝐇\(0\)=𝐗\\mathbf\{H\}^\{\(0\)\}=\\mathbf\{X\},𝐖\(l\)∈ℝh\(l\)×h\(l\+1\)\\mathbf\{W\}^\{\(l\)\}\\in\\mathbb\{R\}^\{h^\{\(l\)\}\\times h^\{\(l\+1\)\}\}is the trainable weight matrix, andσ⁡\(⋅\)\\sigma\(\\cdot\)is the activation function\. The normalization term𝐃^−12​𝐀^​𝐃^−12\\hat\{\\mathbf\{D\}\}^\{\-\\frac\{1\}\{2\}\}\\hat\{\\mathbf\{A\}\}\\hat\{\\mathbf\{D\}\}^\{\-\\frac\{1\}\{2\}\}ensures degree\-normalized feature propagation, preventing high\-degree nodes from disproportionately influencing the learned representations\. This propagation rule arises as a first\-order Chebyshev approximation of spectral graph convolutions\[[10](https://arxiv.org/html/2608.17352#bib.bib40)\]\.

#### II\-C3Adversarial Training Objective

Adversarial training follows a two\-player minimax game in which the generator attempts to fool the discriminator, while the discriminator tries to correctly identify real and synthetic samples\. The minimax objective is formulated as:

minθ⁡maxϕ​ℒGAN​\(Gθ,Dϕ\),\\min\_\{\\theta\}\\max\_\{\\phi\}\\mathcal\{L\}\_\{\\text\{GAN\}\}\(G\_\{\\theta\},D\_\{\\phi\}\),\(11\)whereθ\\thetaandϕ\\phirepresent the parameters of the generator and discriminator, respectively\. The objective function captures the adversarial nature of the training asℒGAN​\(Gθ,Dϕ\)=𝔼𝒢∼pdata​\[log⁡Dϕ​\(𝒢\)\]\+𝔼𝒢∼pG​\[log⁡\(1−Dϕ​\(𝒢\)\)\]\.\\mathcal\{L\}\_\{\\text\{GAN\}\}\(G\_\{\\theta\},D\_\{\\phi\}\)=\\mathbb\{E\}\_\{\\mathcal\{G\}\\sim p\_\{\\text\{data\}\}\}\[\\log D\_\{\\phi\}\(\\mathcal\{G\}\)\]\+\\mathbb\{E\}\_\{\\mathcal\{G\}\\sim p\_\{G\}\}\[\\log\(1\-D\_\{\\phi\}\(\\mathcal\{G\}\)\)\]\.Here,pdatap\_\{\\text\{data\}\}denotes the distribution of*real minority\-class*\(DDoS\) subgraphs, since the augmentation targets only the under\-represented attack class and benign graphs are never synthesized, whilepGp\_\{G\}is the generator\-induced distribution over synthetic DDoS graphs\. The first term encourages the discriminator to correctly identify real graphs by maximizinglog⁡Dϕ​\(𝒢\)\\log D\_\{\\phi\}\(\\mathcal\{G\}\), while the second term encourages correct identification of fake graphs by maximizinglog⁡\(1−Dϕ​\(𝒢\)\)\\log\(1\-D\_\{\\phi\}\(\\mathcal\{G\}\)\)\. From the generator’s perspective, minimizing this objective encourages it to increase the discriminator’s misclassification probability on synthetic samples\. The construction of fake graphs preserves the topological structure of real graphs while replacing node features with generator outputs,𝒢fake=\(𝒱real,ℰreal,Gθ​\(𝐙\)\),\\mathcal\{G\}\_\{\\text\{fake\}\}=\(\\mathcal\{V\}\_\{\\text\{real\}\},\\mathcal\{E\}\_\{\\text\{real\}\},G\_\{\\theta\}\(\\mathbf\{Z\}\)\),where𝐙=\[𝐳1,𝐳2,…,𝐳\|𝒱\|\]T\\mathbf\{Z\}=\[\\mathbf\{z\}\_\{1\},\\mathbf\{z\}\_\{2\},\\ldots,\\mathbf\{z\}\_\{\|\\mathcal\{V\}\|\}\]^\{T\}is a matrix of independently sampled noise vectors\. This approach ensures that synthetic graphs maintain realistic topological properties while introducing novel feature combinations\. The individual loss functions for training are:

ℒD\\displaystyle\\mathcal\{L\}\_\{D\}=−𝔼𝒢∼pdata​\[log⁡Dϕ​\(𝒢\)\]−𝔼𝒢∼pG​\[log⁡\(1−Dϕ​\(𝒢\)\)\],\\displaystyle=\-\\mathbb\{E\}\_\{\\mathcal\{G\}\\sim p\_\{\\text\{data\}\}\}\[\\log D\_\{\\phi\}\(\\mathcal\{G\}\)\]\-\\mathbb\{E\}\_\{\\mathcal\{G\}\\sim p\_\{G\}\}\[\\log\(1\-D\_\{\\phi\}\(\\mathcal\{G\}\)\)\],\(12\)ℒG\\displaystyle\\mathcal\{L\}\_\{G\}=−𝔼𝒢∼pG​\[log⁡Dϕ​\(𝒢\)\]\.\\displaystyle=\-\\mathbb\{E\}\_\{\\mathcal\{G\}\\sim p\_\{G\}\}\[\\log D\_\{\\phi\}\(\\mathcal\{G\}\)\]\.\(13\)The discriminator lossℒD\\mathcal\{L\}\_\{D\}is minimized to improve classification accuracy on both real and fake samples, while the generator lossℒG\\mathcal\{L\}\_\{G\}is minimized to increase the probability that synthetic samples are classified as real, viz\., to produce more realistic synthetic samples\. Having defined the adversarial objective, we now characterize the equilibrium behavior of this minimax game\. We first derive the closed\-form optimal discriminator for a fixed generator, and then show that the global optimum is achieved when the generator perfectly recovers the real data distribution\.

###### Theorem 2\(Optimal Discriminator\)\.

For a fixed generatorGθG\_\{\\theta\}, the optimal discriminatorDϕ∗D\_\{\\phi\}^\{\*\}is given by

Dϕ∗​\(𝒢\)=pdata​\(𝒢\)pdata​\(𝒢\)\+pG​\(𝒢\),D\_\{\\phi\}^\{\*\}\(\\mathcal\{G\}\)=\\frac\{p\_\{\\text\{data\}\}\(\\mathcal\{G\}\)\}\{p\_\{\\text\{data\}\}\(\\mathcal\{G\}\)\+p\_\{G\}\(\\mathcal\{G\}\)\},\(14\)wherepdatap\_\{\\text\{data\}\}is the distribution of real graph data andpGp\_\{G\}is the distribution induced by the generator\[[13](https://arxiv.org/html/2608.17352#bib.bib41)\]\.

*Proof*For fixedGθG\_\{\\theta\}, the discriminator objectiveℒGAN\\mathcal\{L\}\_\{\\text\{GAN\}\}can be written as

∫\[pdata​\(𝒢\)​log⁡D⁡\(𝒢\)\+pG​\(𝒢\)​log⁡\(1−D⁡\(𝒢\)\)\]​𝑑𝒢\.\\int\\Big\[p\_\{\\text\{data\}\}\(\\mathcal\{G\}\)\\log D\(\\mathcal\{G\}\)\+p\_\{G\}\(\\mathcal\{G\}\)\\log\\\!\\big\(1\-D\(\\mathcal\{G\}\)\\big\)\\Big\]d\\mathcal\{G\}\.\(15\)For any\(a,b\)\(a,b\)witha,b≥0a,b\\geq 0anda\+b\>0a\+b\>0, the functionf⁡\(D\)=a​log⁡D\+b​log⁡\(1−D\)f\(D\)=a\\log D\+b\\log\(1\-D\)attains its maximum atD∗=aa\+bD^\{\*\}=\\frac\{a\}\{a\+b\}, obtained by settingd​fd​D=aD−b1−D=0\\frac\{df\}\{dD\}=\\frac\{a\}\{D\}\-\\frac\{b\}\{1\-D\}=0\. Substitutinga=pdata​\(𝒢\)a=p\_\{\\text\{data\}\}\(\\mathcal\{G\}\)andb=pG​\(𝒢\)b=p\_\{G\}\(\\mathcal\{G\}\)yields the result\.

Building on this result, we can now analyze the global optimum of the minimax game by substituting the optimal discriminator back into the objective function\.

###### Theorem 3\(Global Optimality of Adversarial Training\)\.

The global minimum of the minimax objectiveℒGAN​\(Gθ,Dϕ\)\\mathcal\{L\}\_\{\\text\{GAN\}\}\(G\_\{\\theta\},D\_\{\\phi\}\)is achieved if and only ifpG=pdatap\_\{G\}=p\_\{\\text\{data\}\}\. At this optimum,Dϕ∗​\(𝒢\)=12D\_\{\\phi\}^\{\*\}\(\\mathcal\{G\}\)=\\frac\{1\}\{2\}for all𝒢\\mathcal\{G\}, andminθ⁡maxϕ​ℒGAN=−log⁡4\\min\_\{\\theta\}\\max\_\{\\phi\}\\mathcal\{L\}\_\{\\text\{GAN\}\}=\-\\log 4\[[13](https://arxiv.org/html/2608.17352#bib.bib41)\]\.

*Proof*SubstitutingD∗D^\{\*\}from Theorem[2](https://arxiv.org/html/2608.17352#Thmtheorem2)into the objective yields

C⁡\(G\)\\displaystyle C\(G\)=𝔼𝒢∼pdata​\[log⁡pdata​\(𝒢\)pdata​\(𝒢\)\+pG​\(𝒢\)\]\\displaystyle=\\mathbb\{E\}\_\{\\mathcal\{G\}\\sim p\_\{\\text\{data\}\}\}\\\!\\left\[\\log\\frac\{p\_\{\\text\{data\}\}\(\\mathcal\{G\}\)\}\{p\_\{\\text\{data\}\}\(\\mathcal\{G\}\)\+p\_\{G\}\(\\mathcal\{G\}\)\}\\right\]\(16\)\+𝔼𝒢∼pG​\[log⁡pG​\(𝒢\)pdata​\(𝒢\)\+pG​\(𝒢\)\]\.\\displaystyle\+\\mathbb\{E\}\_\{\\mathcal\{G\}\\sim p\_\{G\}\}\\\!\\left\[\\log\\frac\{p\_\{G\}\(\\mathcal\{G\}\)\}\{p\_\{\\text\{data\}\}\(\\mathcal\{G\}\)\+p\_\{G\}\(\\mathcal\{G\}\)\}\\right\]\.This can be rewritten as

C⁡\(G\)\\displaystyle C\(G\)=−log4\+KL\(pdata∥pdata\+pG2\)\\displaystyle=\-\\log 4\+\\mathrm\{KL\}\\\!\\left\(p\_\{\\text\{data\}\}\\Big\\\|\\tfrac\{p\_\{\\text\{data\}\}\+p\_\{G\}\}\{2\}\\right\)\(17\)\+KL\(pG∥pdata\+pG2\)\\displaystyle\+\\mathrm\{KL\}\\\!\\left\(p\_\{G\}\\Big\\\|\\tfrac\{p\_\{\\text\{data\}\}\+p\_\{G\}\}\{2\}\\right\)=−log4\+2⋅JSD\(pdata∥pG\),\\displaystyle=\-\\log 4\+2\\cdot\\mathrm\{JSD\}\(p\_\{\\text\{data\}\}\\\|p\_\{G\}\),whereJSD\\mathrm\{JSD\}denotes the Jensen–Shannon divergence\. SinceJSD≥0\\mathrm\{JSD\}\\geq 0with equality if and only ifpG=pdatap\_\{G\}=p\_\{\\text\{data\}\}, the global minimumC⁡\(G\)=−log⁡4C\(G\)=\-\\log 4is attained uniquely whenpG=pdatap\_\{G\}=p\_\{\\text\{data\}\}\.

Theorems[2](https://arxiv.org/html/2608.17352#Thmtheorem2)and[3](https://arxiv.org/html/2608.17352#Thmtheorem3)provide the theoretical foundation for our adversarial framework: when the generator successfully learns the distribution of DDoS attack graphs, the discriminator can no longer distinguish synthetic from real attack traffic, ensuring high\-fidelity augmentation for downstream classification\.

Because our generator produces features independently of the template topology, the equilibrium of Theorem[3](https://arxiv.org/html/2608.17352#Thmtheorem3)does not guarantee that the joint distribution over features and adjacency is matched\. The following result identifies the irreducible gap\.

###### Theorem 4\(Residual Divergence of Topology\-Independent Generation\)\.

Because templates are real and features are generated independently of them, the generator inducespfake​\(𝐗,𝐀\)=pG​\(𝐗\)​pdata​\(𝐀\)p\_\{\\mathrm\{fake\}\}\(\\mathbf\{X\},\\mathbf\{A\}\)=p\_\{G\}\(\\mathbf\{X\}\)\\,p\_\{\\mathrm\{data\}\}\(\\mathbf\{A\}\)\. Here,KL\(⋅∥⋅\)\\mathrm\{KL\}\(\\cdot\\\|\\cdot\)denotes the Kullback–Leibler divergence\[[20](https://arxiv.org/html/2608.17352#bib.bib2)\]\. Then,

minθKL\(pdata∥pfake\)is attained atpG\(𝐗\)=pdata\(𝐗\),\\min\_\{\\theta\}\\,\\mathrm\{KL\}\\\!\\left\(p\_\{\\mathrm\{data\}\}\\,\\\|\\,p\_\{\\mathrm\{fake\}\}\\right\)\\text\{ is attained at \}p\_\{G\}\(\\mathbf\{X\}\)=p\_\{\\mathrm\{data\}\}\(\\mathbf\{X\}\),and the irreducible value equals the feature–topology mutual information,KL\(pdata∥pdata\(𝐗\)pdata\(𝐀\)\)=Idata\(𝐗;𝐀\)\.\\mathrm\{KL\}\\\!\\left\(p\_\{\\mathrm\{data\}\}\\,\\\|\\,p\_\{\\mathrm\{data\}\}\(\\mathbf\{X\}\)\\,p\_\{\\mathrm\{data\}\}\(\\mathbf\{A\}\)\\right\)=I\_\{\\mathrm\{data\}\}\(\\mathbf\{X\};\\mathbf\{A\}\)\.

*Proof*By the chain rule of KL divergence and the factorized form ofpfakep\_\{\\mathrm\{fake\}\},KL\(pdata∥pfake\)=𝔼𝐀\[KL\(pdata\(𝐗∣𝐀\)∥pG\(𝐗\)\)\]\\mathrm\{KL\}\(p\_\{\\mathrm\{data\}\}\\\|p\_\{\\mathrm\{fake\}\}\)=\\mathbb\{E\}\_\{\\mathbf\{A\}\}\\\!\\left\[\\mathrm\{KL\}\\big\(p\_\{\\mathrm\{data\}\}\(\\mathbf\{X\}\\mid\\mathbf\{A\}\)\\,\\\|\\,p\_\{G\}\(\\mathbf\{X\}\)\\big\)\\right\]\. This is minimized overpGp\_\{G\}at the𝐀\\mathbf\{A\}\-averaged conditionalpG​\(𝐗\)=𝔼𝐀​\[pdata​\(𝐗∣𝐀\)\]=pdata​\(𝐗\)p\_\{G\}\(\\mathbf\{X\}\)=\\mathbb\{E\}\_\{\\mathbf\{A\}\}\[p\_\{\\mathrm\{data\}\}\(\\mathbf\{X\}\\mid\\mathbf\{A\}\)\]=p\_\{\\mathrm\{data\}\}\(\\mathbf\{X\}\)\. Substituting back leaves exactly the mutual information between𝐗\\mathbf\{X\}and𝐀\\mathbf\{A\}\.

Theorem[4](https://arxiv.org/html/2608.17352#Thmtheorem4)closes the loop with Proposition[1](https://arxiv.org/html/2608.17352#Thmproposition1): the single quantityIdata​\(𝐗,𝐀\)I\_\{\\mathrm\{data\}\}\(\\mathbf\{X\};\\mathbf\{A\}\)is both what vector methods miss and what a topology\-independent generator cannot reproduce\.

###### Corollary 1\(Topology\-Stable Consistency\)\.

If generated features are topology\-stable—thekk\-NN graph they induce matches the template up to bounded edge\-edit distance—thenIdata​\(𝐗,𝐀\)I\_\{\\mathrm\{data\}\}\(\\mathbf\{X\};\\mathbf\{A\}\)contributed by the synthetic samples vanishes and augmentation is asymptotically consistent\. This condition is the precise sense in which a future topology\-conditioned generator would be strictly more expressive\.

### II\-DGraph\-based Classification Network

The classification network serves as the final component of our framework, leveraging both original and synthetically augmented data to perform DDoS detection\.

#### II\-D1Classifier Architecture and Feature Learning

The DDoS classifierCψC\_\{\\psi\}employs the same GCN\-based architecture as the discriminator to ensure consistent graph\-structured processing, but it is trained independently with a classification objective rather than an adversarial one, allowing it to focus specifically on distinguishing benign from malicious traffic patterns\. The classifier processes input graphs through multiple GCN layers that progressively refine node representations:

𝐇C\(1\)\\displaystyle\\mathbf\{H\}\_\{C\}^\{\(1\)\}=ReLU​\(GCN​\(𝐗,𝐀\)\),\\displaystyle=\\text\{ReLU\}\(\\text\{GCN\}\(\\mathbf\{X\},\\mathbf\{A\}\)\),\(18\)𝐇C\(2\)\\displaystyle\\mathbf\{H\}\_\{C\}^\{\(2\)\}=Dropout​\(ReLU​\(GCN​\(𝐇C\(1\),𝐀\)\),p=0\.3\),\\displaystyle=\\text\{Dropout\}\(\\text\{ReLU\}\(\\text\{GCN\}\(\\mathbf\{H\}\_\{C\}^\{\(1\)\},\\mathbf\{A\}\)\),p=0\.3\),\(19\)𝐇C\(3\)\\displaystyle\\mathbf\{H\}\_\{C\}^\{\(3\)\}=Dropout​\(ReLU​\(GCN​\(𝐇C\(2\),𝐀\)\),p=0\.3\),\\displaystyle=\\text\{Dropout\}\(\\text\{ReLU\}\(\\text\{GCN\}\(\\mathbf\{H\}\_\{C\}^\{\(2\)\},\\mathbf\{A\}\)\),p=0\.3\),\(20\)𝐡C,pool\\displaystyle\\mathbf\{h\}\_\{C,\\text\{pool\}\}=1\|𝒱\|∑i=1\|𝒱\|𝐇\(3\)C,i,:,\\displaystyle=\\frac\{1\}\{\|\\mathcal\{V\}\|\}\\sum\_\{i=1\}^\{\|\\mathcal\{V\}\|\}\\mathbf\{H\}^\{\(3\)\}\_\{C,\\,i,:\},\(21\)P⁡\(y∣𝒢\)\\displaystyle P\(y\\mid\\mathcal\{G\}\)=Softmax​\(𝐖C​𝐡C,pool\+𝐛C\)\.\\displaystyle=\\text\{Softmax\}\(\\mathbf\{W\}\_\{C\}\\mathbf\{h\}\_\{C,\\text\{pool\}\}\+\\mathbf\{b\}\_\{C\}\)\.\(22\)The softmax activation function in the final layer converts the output logits into a probability distribution over the two classes:

Softmax​\(𝐨\)i=exp⁡\(oi\)∑j=12exp⁡\(oj\),\\text\{Softmax\}\(\\mathbf\{o\}\)\_\{i\}=\\frac\{\\exp\(o\_\{i\}\)\}\{\\sum\_\{j=1\}^\{2\}\\exp\(o\_\{j\}\)\},\(23\)where𝐨=𝐖C​𝐡C,pool\+𝐛C\\mathbf\{o\}=\\mathbf\{W\}\_\{C\}\\mathbf\{h\}\_\{C,\\text\{pool\}\}\+\\mathbf\{b\}\_\{C\}represents the pre\-activation logits\. This formulation ensures that∑i=12P⁡\(y=i\|𝒢\)=1\\sum\_\{i=1\}^\{2\}P\(y=i\|\\mathcal\{G\}\)=1and enables probabilistic interpretation of the classification results\. An important design consideration for the GCN classifier is its receptive field, i\.e\., how far information propagates across multiple graph layers\. The following proposition quantifies the receptive field size in terms of the number of GCN layers and the graph’s bounded degree established in Lemma[1](https://arxiv.org/html/2608.17352#Thmlemma1)\.

###### Proposition 2\(Receptive Field ofLL\-Layer GCN Classifier\)\.

In anLL\-layer GCN, the representation𝐡i\(L\)\\mathbf\{h\}\_\{i\}^\{\(L\)\}of nodeviv\_\{i\}aggregates information from all nodes within itsLL\-hop neighborhood𝒩\(L\)​\(vi\)=\{vj:d𝒢​\(vi,vj\)≤L\}\\mathcal\{N\}^\{\(L\)\}\(v\_\{i\}\)=\\\{v\_\{j\}:d\_\{\\mathcal\{G\}\}\(v\_\{i\},v\_\{j\}\)\\leq L\\\}, whered𝒢d\_\{\\mathcal\{G\}\}denotes the shortest\-path distance on𝒢\\mathcal\{G\}\. For ourkk\-NN graphs with maximum degreeΔ≤w−1\\Delta\\leq w\-1\(Lemma[1](https://arxiv.org/html/2608.17352#Thmlemma1)\), the receptive field size is bounded by\|𝒩\(L\)​\(vi\)\|≤min⁡\(∑ℓ=0LΔℓ,w\)\|\\mathcal\{N\}^\{\(L\)\}\(v\_\{i\}\)\|\\leq\\min\\\!\\left\(\\sum\_\{\\ell=0\}^\{L\}\\Delta^\{\\ell\},\\,w\\right\)\[[39](https://arxiv.org/html/2608.17352#bib.bib42)\]\.

WithL=3L=3layers,k=5k=5, and window sizew=30w=30, the symmetric OR\-construction of Eq\. \([4](https://arxiv.org/html/2608.17352#S2.E4)\) yields an expected node degree on the order of2​k=102k=10, so the receptive field saturates the window within two hops:\|𝒩\(L\)​\(vi\)\|≤min⁡\(∑ℓ=03Δℓ,w\)=w=30\|\\mathcal\{N\}^\{\(L\)\}\(v\_\{i\}\)\|\\leq\\min\\\!\\left\(\\sum\_\{\\ell=0\}^\{3\}\\Delta^\{\\ell\},\\,w\\right\)=w=30\. Each node’s representation, therefore, incorporates information from the entire temporal window, allowing the classifier to capture global attack coordination patterns within each subgraph while avoiding the over\-smoothing that occurs with deeper architectures\.

The bounded degree of Lemma[1](https://arxiv.org/html/2608.17352#Thmlemma1)also yields a certified radius within which classifier predictions cannot flip, providing a formal robustness guarantee for the GCN architecture\.

###### Proposition 3\(Stability under Feature and Topology Perturbation\)\.

For theLL\-layer normalized GCN classifier on a symmetrickk\-NN graph with degrees in\[k,w−1\]\[k,w\{\-\}1\]:

1. \(i\)if‖δ​𝐗‖F≤ϵ\\\|\\delta\\mathbf\{X\}\\\|\_\{F\}\\leq\\epsilon, the change in output logits is at mostϵ​∏l=1L‖𝐖\(l\)‖σ\\epsilon\\prod\_\{l=1\}^\{L\}\\\|\\mathbf\{W\}^\{\(l\)\}\\\|\_\{\\sigma\};
2. \(ii\)modifyingmmedges changes the normalized adjacency operator by at most2​m/k2m/kin Frobenius norm, so the logit change is at most\(2​m/k\)​∏l=1L‖𝐖\(l\)‖σ​‖𝐗‖F\(2m/k\)\\prod\_\{l=1\}^\{L\}\\\|\\mathbf\{W\}^\{\(l\)\}\\\|\_\{\\sigma\}\\,\\\|\\mathbf\{X\}\\\|\_\{F\}\.

*Proof*\(i\) Each normalized GCN layer is𝐃^−1/2𝐀^𝐃^−1/2𝐇𝐖\\hat\{\\mathbf\{D\}\}^\{\-1/2\}\\hat\{\\mathbf\{A\}\}\\hat\{\\mathbf\{D\}\}^\{\-1/2\}\\mathbf\{H\}\\mathbf\{W\}; the symmetric normalized operator has spectral norm at most11, and ReLU is11\-Lipschitz, so the per\-layer Lipschitz constant is‖𝐖\(l\)‖σ\\\|\\mathbf\{W\}^\{\(l\)\}\\\|\_\{\\sigma\}and they compose multiplicatively\. \(ii\) By Lemma[1](https://arxiv.org/html/2608.17352#Thmlemma1)every degree is at leastkk, so each entry of𝐃^−1/2\\hat\{\\mathbf\{D\}\}^\{\-1/2\}is at most1/k1/\\sqrt\{k\}; a single edge edit perturbs the operator by at most2/k2/kin Frobenius norm, andmmedits by at most2​m/k2m/k\. Propagating through the layers gives the bound\.

Part \(ii\) shows graceful degradation: a few mis\-assignedkk\-NN edges arising from feature noise cannot flip predictions abruptly, with the tolerance scaling as1/k1/k\.

#### II\-D2Data Augmentation Strategy for Class Imbalance

Our strategy leverages the trained generator to create synthetic DDoS samples, balancing class distribution and improving the classifier’s ability to recognize attack patterns\. The augmented dataset combines original and synthetic samples as

𝒟aug=𝒟real∪𝒟syn,\\mathcal\{D\}\_\{\\text\{aug\}\}=\\mathcal\{D\}\_\{\\text\{real\}\}\\cup\\mathcal\{D\}\_\{\\text\{syn\}\},\(24\)where𝒟real=\{\(𝒢i,yi\)\}i=1Nreal\\mathcal\{D\}\_\{\\text\{real\}\}=\\\{\(\\mathcal\{G\}\_\{i\},y\_\{i\}\)\\\}\_\{i=1\}^\{N\_\{\\text\{real\}\}\}contains original graphs and𝒟syn=\{\(𝒢syn\(i\),1\)\}i=1Nsyn\\mathcal\{D\}\_\{\\text\{syn\}\}=\\\{\(\\mathcal\{G\}\_\{\\text\{syn\}\}^\{\(i\)\},1\)\\\}\_\{i=1\}^\{N\_\{\\text\{syn\}\}\}contains synthetic DDoS graphs\. The number of synthetic samples is determined by:

Nsyn=min⁡\(max⁡\(0,N0−N1\),Nmax\),N\_\{\\text\{syn\}\}=\\min\(\\max\(0,N\_\{0\}\-N\_\{1\}\),N\_\{\\text\{max\}\}\),\(25\)whereN0N\_\{0\}andN1N\_\{1\}are benign and DDoS samples, andNmaxN\_\{\\text\{max\}\}prevents excessive generation that may cause noise or overfitting\. Each synthetic graph𝒢syn\(i\)\\mathcal\{G\}\_\{\\text\{syn\}\}^\{\(i\)\}is built from a template structure of real DDoS samples, populated with generator\-produced features:

𝒢syn\(i\)=\(𝒱template,ℰtemplate,Gθ​\(𝐙\(i\)\)\)\.\\mathcal\{G\}\_\{\\text\{syn\}\}^\{\(i\)\}=\(\\mathcal\{V\}\_\{\\text\{template\}\},\\mathcal\{E\}\_\{\\text\{template\}\},G\_\{\\theta\}\(\\mathbf\{Z\}^\{\(i\)\}\)\)\.\(26\)Together, Eqs\. \([24](https://arxiv.org/html/2608.17352#S2.E24)\)–\([26](https://arxiv.org/html/2608.17352#S2.E26)\) define a principled augmentation pipeline that respects graph topology\. The following corollary shows that this strategy provably reduces class imbalance, achieving perfect balance when the generation budget is sufficiently large\.

###### Corollary 2\(Class Balance Guarantee\)\.

LetN0N\_\{0\}andN1N\_\{1\}denote the number of benign and DDoS samples, respectively, withN0\>N1N\_\{0\}\>N\_\{1\}\(class imbalance\)\. After augmentation withNsyn=min⁡\(N0−N1,Nmax\)N\_\{\\text\{syn\}\}=\\min\(N\_\{0\}\-N\_\{1\},N\_\{\\text\{max\}\}\)synthetic DDoS samples, the class imbalance ratio satisfiesρ=N1\+NsynN0=\{1,if​N0−N1≤Nmax,N1\+NmaxN0,otherwise\.\\rho=\\frac\{N\_\{1\}\+N\_\{\\text\{syn\}\}\}\{N\_\{0\}\}=\\begin\{cases\}1,&\\text\{if \}N\_\{0\}\-N\_\{1\}\\leq N\_\{\\text\{max\}\},\\\\ \\frac\{N\_\{1\}\+N\_\{\\text\{max\}\}\}\{N\_\{0\}\},&\\text\{otherwise\}\.\\end\{cases\}In particular, whenNmax≥N0−N1N\_\{\\text\{max\}\}\\geq N\_\{0\}\-N\_\{1\}, the augmented dataset achieves perfect class balance \(ρ=1\\rho=1\)\.

By Theorem[3](https://arxiv.org/html/2608.17352#Thmtheorem3), the synthetic samples generated at convergence are drawn frompG≈pdatap\_\{G\}\\approx p\_\{\\text\{data\}\}, ensuring that the balanced dataset preserves the statistical properties of real DDoS traffic rather than introducing distributional artifacts\.

Corollary[2](https://arxiv.org/html/2608.17352#Thmcorollary2)establishes that augmentation achieves class balance; the next result quantifies what that balance is*worth*for generalization by connecting GAN training quality to the downstream classifier through the domain\-adaptation bound of Ben\-David et al\.

###### Theorem 5\(Generalization Gap Controlled by Discriminator Error\)\.

LetCψC\_\{\\psi\}be the GCN classifier trained on𝒟aug=𝒟real∪𝒟syn\\mathcal\{D\}\_\{\\mathrm\{aug\}\}=\\mathcal\{D\}\_\{\\mathrm\{real\}\}\\cup\\mathcal\{D\}\_\{\\mathrm\{syn\}\}, and letRreal​\(C\)R\_\{\\mathrm\{real\}\}\(C\)be its risk had it trained on an equally sized balanced set of real DDoS graphs\. WithεD\\varepsilon\_\{D\}the optimal discriminator’s real\-vs\-synthetic error rate at convergence andλ⋆\\lambda^\{\\star\}the joint risk of the best classifier over both distributions,

Rreal​\(C\)≤Raug​\(C\)\+2​\(1−2​εD\)\+λ⋆\.R\_\{\\mathrm\{real\}\}\(C\)\\;\\leq\\;R\_\{\\mathrm\{aug\}\}\(C\)\\;\+\\;2\\,\(1\-2\\varepsilon\_\{D\}\)\\;\+\\;\\lambda^\{\\star\}\.

*Proof*Apply the Ben\-Davidet al\.target\-risk bound\[[5](https://arxiv.org/html/2608.17352#bib.bib3)\]with the augmented distribution as source and the real balanced distribution as target\. Theℋ​Δ​ℋ\\mathcal\{H\}\\Delta\\mathcal\{H\}divergence between the two is estimated by the𝒜\\mathcal\{A\}\-distanced𝒜=2​\(1−2​εD\)d\_\{\\mathcal\{A\}\}=2\(1\-2\\varepsilon\_\{D\}\), whereεD\\varepsilon\_\{D\}is the error of the optimal real\-vs\-synthetic discriminator\. Substituting yields the bound\.

As training approaches the equilibrium of Theorem[3](https://arxiv.org/html/2608.17352#Thmtheorem3)\(D⋆→12D^\{\\star\}\\\!\\to\\\!\\tfrac\{1\}\{2\},εD→12\\varepsilon\_\{D\}\\\!\\to\\\!\\tfrac\{1\}\{2\}\), the divergence term2​\(1−2​εD\)→02\(1\-2\\varepsilon\_\{D\}\)\\\!\\to\\\!0and the augmented\-data classifier generalizes as well as one trained on real balanced data, up to the irreducibleλ⋆\\lambda^\{\\star\}\. This makes the empirical fake detection rate of 45\.3% reported in the generator\-architecture ablation \(Section[III](https://arxiv.org/html/2608.17352#S3)\) a direct, measurable proxy for the generalization gap\.

###### Corollary 3\(Real\-Sample Efficiency\)\.

Under the coordinated regime of Definition[2](https://arxiv.org/html/2608.17352#Thmdefinition2), each real DDoS window carries up tom¯\\bar\{m\}correlated same\-class labels rather than a single independent one\. The effective sample size per window is inflated accordingly, so to reach a target risk, the number of*real*DDoS samples required by graph augmentation is smaller than that required by vector augmentation by the corresponding factor\.

#### II\-D3Classification Training Objective

The classifier is trained using the cross\-entropy loss function, which is well\-suited for probabilistic classification tasks and provides gradient information that encourages confident predictions on correctly classified samples while heavily penalizing confident misclassifications\. The training objective minimizes the cross\-entropy loss over the augmented dataset as

ℒC=−1\|𝒟aug\|∑\(𝒢,y\)∈𝒟aug∑c=01yclogP\(y=c\|𝒢\),\\mathcal\{L\}\_\{C\}=\-\\frac\{1\}\{\|\\mathcal\{D\}\_\{\\text\{aug\}\}\|\}\\sum\_\{\(\\mathcal\{G\},y\)\\in\\mathcal\{D\}\_\{\\text\{aug\}\}\}\\sum\_\{c=0\}^\{1\}y\_\{c\}\\log P\(y=c\|\\mathcal\{G\}\),\(27\)whereycy\_\{c\}represents the one\-hot encoding of the true label, such thatyc=1y\_\{c\}=1ifccis the correct class andyc=0y\_\{c\}=0otherwise\. This formulation ensures that confident, correct predictions yield small updates, while uncertain or incorrect predictions drive stronger corrective updates\. Indeed, for the softmax output, the gradient of the cross\-entropy loss with respect to the pre\-activation logits𝐨=𝐖C​𝐡C,pool\+𝐛C\\mathbf\{o\}=\\mathbf\{W\}\_\{C\}\\mathbf\{h\}\_\{C,\\text\{pool\}\}\+\\mathbf\{b\}\_\{C\}reduces to the well\-known compact form

∂ℒC∂𝐨=1\|𝒟aug\|​∑\(𝒢,y\)∈𝒟aug\(P⁡\(y∣𝒢\)−𝐲\),\\frac\{\\partial\\mathcal\{L\}\_\{C\}\}\{\\partial\\mathbf\{o\}\}=\\frac\{1\}\{\|\\mathcal\{D\}\_\{\\text\{aug\}\}\|\}\\sum\_\{\(\\mathcal\{G\},y\)\\in\\mathcal\{D\}\_\{\\text\{aug\}\}\}\\big\(P\(y\\mid\\mathcal\{G\}\)\-\\mathbf\{y\}\\big\),\(28\)where𝐲\\mathbf\{y\}is the one\-hot label vector\. The update is thus proportional to the prediction errorP⁡\(y∣𝒢\)−𝐲P\(y\\mid\\mathcal\{G\}\)\-\\mathbf\{y\}: it vanishes when the predicted distribution matches the true label and grows toward its maximum for confident misclassifications, supplying strong corrective gradients precisely where the classifier errs\.

## IIIExperimental Results

In this section, we present the experimental settings, quantitative results, and comprehensive ablation studies of the proposed GraphGAN framework across four benchmark datasets\.

### III\-AExperimental Settings and Datasets

We evaluate GraphGAN on four widely used network intrusion detection benchmarks to demonstrate its generalizability:

CIC\-IDS\-2017contains approximately 2\.8 million flow records collected over seven days, encompassing 14 attack types \(e\.g\., DDoS, PortScan, Web Attack, Infiltration, Botnet\) and normal flows\. Each record includes 80 network flow features\.

CIC\-IDS\-2018extends the 2017 dataset with approximately 16–17 million records collected over 10 days, covering seven attack scenarios, including Brute Force, DoS, DDoS, Web Attack, Infiltration, Botnet, and Heartbleed, and includes 80 extracted flow\-level features\.

UNSW\-NB15comprises approximately 2\.5 million records generated in a hybrid real and synthetic environment, containing nine attack categories \(Fuzzers, Analysis, Backdoors, DoS, Exploits, Generic, Reconnaissance, Shellcode, Worms\) with 49 flow\-based and content\-based features\.

ToN\-IoTis an IoT/IIoT\-focused dataset with approximately 461,000 records collected from heterogeneous IoT services \(weather, fridge, garage door, GPS, modbus, light, motion, thermostat\), encompassing nine attack types including DDoS, DoS, ransomware, backdoor, injection, XSS, password cracking, scanning, and man\-in\-the\-middle, with 44 features\.

For all datasets, the GraphGAN framework employs consistent hyperparameters unless otherwise stated\. The generator synthesizes node features from Gaussian noise \(z=128z=128\), while the discriminator operates on graph\-structured data using three GCN layers\. Graph construction useskk\-NN withk=5k=5, window sizew=30w=30, and step sizes=10s=10\. The GCN\-based classifier uses three graph convolutional layers, followed by global mean pooling and fully connected layers, and is trained with the Adam optimizer \(learning rate0\.0010\.001\), dropout regularization \(p=0\.3p=0\.3\), and cross\-entropy loss\. All models were implemented in PyTorch with the PyTorch Geometric backend and trained on a GPU with a batch size of3232for up to5050epochs\. To prevent temporal leakage arising from overlapping sliding windows \(s<ws<w\), we order each dataset chronologically and partition the raw flow stream into 60% training, 20% validation, and 20% testing segments*before*graph construction\. Sliding windows are then generated independently within each segment, so that no window crosses a split boundary and no raw flow is shared across splits; a guard band ofwwflows is discarded at each boundary to eliminate residual overlap\. This chronological protocol \(training on earlier traffic and testing on later traffic\) reflects realistic deployment and avoids the inflated accuracy that random window\-level splitting can produce\. Performance is evaluated primarily using classification accuracy, while precision, recall, and F1\-score are reported in subsequent analyses\. We stress that all baselines are re\-implemented under an identical, leakage\-controlled protocol: the flow stream is ordered chronologically and partitioned*before*windowing, with a guard band discarded at each boundary\. This is a strictly harder evaluation than the random, window\-level splits under which several published graph baselines report near\-saturated accuracy; accordingly, our reproduced figures for these baselines are lower than their originally reported values, and the gap reflects protocol rigor rather than implementation disadvantage\.

TABLE I:Comparative analysis of GraphGAN against state\-of\-the\-art methods across four benchmark datasets \(test accuracy %\)\.
### III\-BQuantitative Results and Analysis

To ensure a fair and comprehensive evaluation, we compare GraphGAN against representative state\-of\-the\-art methods spanning different architectural paradigms in network intrusion detection\. Causal Deep Learning\[[42](https://arxiv.org/html/2608.17352#bib.bib21)\]represents feature\-level causal modeling approaches designed to enhance interpretability and robustness\. CNN\[[28](https://arxiv.org/html/2608.17352#bib.bib20)\]captures spatial correlations in features through convolutional filters and serves as a strong deep learning baseline for tabular traffic data\. GRU\-BiLSTM\[[1](https://arxiv.org/html/2608.17352#bib.bib19)\]models sequential dependencies in traffic flows using recurrent architectures\. The Vanilla GAN\-based classifier integrates adversarial training without a graph structure to evaluate whether generative augmentation alone is sufficient\. Ensemble GNN\[[4](https://arxiv.org/html/2608.17352#bib.bib24)\]represents advanced graph\-based detection approaches without adversarial augmentation\. To stress\-test our claims against the strongest generative and graph paradigms, we additionally include: SMOTE oversampling\[[8](https://arxiv.org/html/2608.17352#bib.bib18)\]as a classical interpolation\-based augmenter; a Wasserstein GAN\[[3](https://arxiv.org/html/2608.17352#bib.bib34)\], a VAE\-GAN\[[36](https://arxiv.org/html/2608.17352#bib.bib35)\], and the diffusion\-based DDP\-DAR\[[6](https://arxiv.org/html/2608.17352#bib.bib36)\]as advanced vectorized generative augmenters; and E\-GraphSAGE\[[25](https://arxiv.org/html/2608.17352#bib.bib44)\]and BS\-GAT\[[37](https://arxiv.org/html/2608.17352#bib.bib37)\]as state\-of\-the\-art graph neural baselines\. All baselines were implemented using identical preprocessing and data\-splitting protocols to ensure a fair comparison\.

We evaluated all baseline methods and GraphGAN across all four benchmark datasets using 60% of the training data, and the results are shown in Table[I](https://arxiv.org/html/2608.17352#S3.T1)\. On CIC\-IDS\-2017, GraphGAN achieves 95\.31% accuracy, substantially outperforming all competitors\. The pattern is consistent across datasets: GraphGAN attains 94\.87% on CIC\-IDS\-2018, 93\.42% on UNSW\-NB15, and 94\.56% on ToN\-IoT\. Traditional methods show limited effectiveness across all benchmarks: Causal Deep Learning \(79\.56%–82\.35%\), CNN \(87\.34%–90\.56%\), GRU\-BiLSTM \(87\.12%–90\.35%\), and standalone GAN \(83\.45%–86\.43%\)\. Among the baselines, Ensemble GNN is the strongest, achieving 89\.78%–92\.55% accuracy but remaining 2\.76–3\.64 percentage points below GraphGAN across all datasets\. GraphGAN’s superiority stems from three synergistic innovations: temporal graph construction viakk\-NN topology that captures coordinated attack patterns, adversarial training that generates realistic minority samples while preserving topological relationships, and GCN\-based classification that leverages structural patterns for robust boundaries\. The consistent improvements across diverse datasets confirm the generalizability of our approach\.

### III\-CNecessity of Data Augmentation Using GraphGAN

While GraphGAN demonstrates strong overall accuracy, we further investigate whether its advantage stems specifically from adversarial augmentation in the presence of class imbalance\. To validate the necessity of adversarial augmentation, we conducted ablation studies on CIC\-IDS\-2017 across varying class imbalance ratios \(1:2, 1:5, 1:10, and 1:20\), comparing GraphGAN with full augmentation against baselines without augmentation and with random feature generation\. As shown in Table[II](https://arxiv.org/html/2608.17352#S3.T2), GraphGAN consistently outperforms both variants across all metrics\. At moderate imbalance \(1:2\), GraphGAN achieves 95\.31% accuracy, a 1\.55 point improvement over the non\-augmented baseline \(93\.76%\)\. The performance gap widens dramatically as imbalance intensifies: at 1:10 ratio, GraphGAN maintains 91\.82% accuracy while the baseline degrades to 78\.91% \(12\.91 point gap\), and at extreme imbalance \(1:20\), GraphGAN achieves 89\.47% compared to 67\.23% without augmentation \(22\.24 point improvement\)\. Random augmentation provides only marginal benefits \(2\.91 points at 1:20\) and fails to capture distributional and topological properties\. These results confirm that GraphGAN’s adversarial training generates topology\-aware synthetic samples that preserve both statistical fidelity and structural relationships\.

TABLE II:Quantitative Result of Class Imbalance Ratio for*GraphGAN*on CIC\-IDS\-2017TABLE III:Impact of \(a\) Graph Construction Method and \(b\) Pooling Strategy on Accuracy \(%\)\(a\) Graph Construction

\(b\) Pooling Strategy

### III\-DImpact of Different Training Ratio

To evaluate the robustness and data efficiency of our proposed GraphGAN framework, we conducted experiments with training data ratios ranging from 10% to 90%, while maintaining a consistent test set composition and preserving the original class distribution\. As illustrated in Fig\.[2](https://arxiv.org/html/2608.17352#S3.F2), GraphGAN consistently achieves the highest accuracy across all training ratios, with particularly pronounced advantages under low\-data regimes, where traditional deep learning approaches experience significant performance degradation\. The superior data efficiency stems from a graph construction mechanism that captures stable flow relationships regardless of the training set size, an adversarial augmentation that generates high\-quality synthetic samples while preserving topological relationships, and a GCN\-based architecture that leverages parameter sharing to improve generalization under data\-limited conditions\.

\(a\) Accuracy

\(b\) Loss

Fig\. 2:Impact of training data ratio on \(a\) accuracy and \(b\) loss of data\-driven methods, including GraphGAN\.
### III\-EImpact of Graph Construction Method

To validate ourkk\-NN graph construction approach, we compared it against alternative graph topologies: \(1\) fully connected graphs, where all nodes within a temporal window are connected; \(2\) threshold\-based graphs, where edges are formed only if similarity exceeds a fixed threshold; and \(3\) random graphs with the same average degree\. As shown in Table[III](https://arxiv.org/html/2608.17352#S3.T3)\(a\), thekk\-NN approach consistently achieves the highest accuracy across all four datasets, reaching 95\.31% on CIC\-IDS\-2017, 94\.87% on CIC\-IDS\-2018, 93\.42% on UNSW\-NB15, and 94\.56% on ToN\-IoT\. Fully connected graphs suffer from over\-connectivity, which introduces noise \(90\.78%–92\.87%\); threshold\-based methods fragment the graph into disconnected components \(89\.56%–91\.43%\); and random graphs lack meaningful structural information \(87\.34%–88\.76%\)\. Thekk\-NN approach optimally balances the preservation of local structure and computational efficiency across diverse network environments\.

### III\-FEffect of Window Size and Step Size

We investigated the impact of temporal window sizew∈\{10,20,30,40,50\}w\\in\\\{10,20,30,40,50\\\}and step sizes∈\{5,10,15,20\}s\\in\\\{5,10,15,20\\\}on detection performance of our proposed method \(GraphGAN\) across all four datasets\. As illustrated in Fig\.[3](https://arxiv.org/html/2608.17352#S3.F3), the configurationw=30w=30ands=10s=10yields optimal results across all benchmarks: 95\.31% on CIC\-IDS\-2017, 94\.87% on CIC\-IDS\-2018, 93\.42% on UNSW\-NB15, and 94\.56% on ToN\-IoT\. Smaller windows \(w=10w=10\) fail to capture extended attack patterns \(89\.56%–91\.23%\), whereas larger windows \(w=50w=50\) introduce noise from unrelated flows \(91\.45%–92\.67%\)\. Regarding the step size,s=10s=10provides the best trade\-off: excessively large steps \(s=20s=20\) may miss transitional attack patterns, whereas very small steps \(s=5s=5\) produce redundant, overlapping windows without significant performance improvement\. These trends remain consistent across all datasets\.

Fig\. 3:Effect of \(a\) window sizewwand \(b\) step sizesson detection accuracy of our proposed GraphGAN\.
### III\-GImportance of the Number of Nearest Neighbors \(kk\)

The choice ofkkinkk\-NN graph construction critically affects the quality of the resulting topology\. We evaluatedk∈\{3,5,7,10,15\}k\\in\\\{3,5,7,10,15\\\}across all four datasets, with results presented in Fig\.[4](https://arxiv.org/html/2608.17352#S3.F4)\(a\)\. Across all benchmarks,k=5k=5consistently provides the optimal balance between capturing local neighborhood structure and maintaining graph connectivity, achieving 95\.31% on CIC\-IDS\-2017, 94\.87% on CIC\-IDS\-2018, 93\.42% on UNSW\-NB15, and 94\.56% on ToN\-IoT\. Lower values \(k=3k=3\) produce overly sparse graphs with disconnected components \(90\.67%–92\.45%\), thereby limiting effective message passing\. Higher values \(k=15k=15\) introduce noisy long\-range connections that dilute meaningful local patterns \(91\.78%–93\.78%\)\. The consistent optimality ofk=5k=5across diverse datasets confirms that this connectivity level effectively captures feature\-based similarities without degrading graph topology\.

### III\-HAnalysis of GCN Layer Depth

We examined the impact of GCN depth by varying the number of graph convolutional layers in both the discriminator and the classifier from 1 to 5\. As shown in Fig\.[4](https://arxiv.org/html/2608.17352#S3.F4)\(b\), the three\-layer architecture achieves the highest accuracy across all datasets: 95\.31% on CIC\-IDS\-2017, 94\.87% on CIC\-IDS\-2018, 93\.42% on UNSW\-NB15, and 94\.56% on ToN\-IoT\. Shallow networks \(1–2 layers\) capture only immediate neighborhood information, thereby missing multi\-hop structural patterns essential for distributed attack detection\. Conversely, deeper networks \(4–5 layers\) suffer from over\-smoothing, in which node representations become increasingly indistinguishable, as well as from gradient vanishing effects that impede effective training\. The three\-layer configuration provides an optimal balance between receptive field expansion and representation discrimination, a finding that remains consistent across all four benchmarks\.

### III\-IStudy of Generator Architecture Complexity

To assess the necessity of the proposed multi\-layer generator architecture, we compared variants with different depths: 2\-layer \(linear output\), 3\-layer \(a 4\-layer architecture without one hidden layer\), 4\-layer \(the proposed architecture\), and 5\-layer\. The 4\-layer generator produces the highest\-quality synthetic samples, as measured by discriminator confusion \(45\.3% fake detection rate\) and downstream classifier performance \(95\.31% accuracy\)\. Simpler 2\-layer generators produce easily distinguishable synthetic samples \(78\.2% fake detection rate, 89\.45% classifier accuracy\), while 5\-layer generators exhibit training instability and only marginal improvements \(47\.1% fake detection rate, 94\.89% accuracy\), indicating diminishing returns beyond four layers\.

\(a\)

\(b\)

Fig\. 4:Effect of hyperparameters on detection accuracy of our proposed GraphGAN: \(a\) number of nearest neighborskk, and \(b\) GCN layer depth\.
### III\-JAggregation Function in Graph Pooling

We compared different graph\-level pooling strategies across all four datasets: global mean pooling \(proposed\), global max pooling, global sum pooling, and attention\-based pooling\. As shown in Table[III](https://arxiv.org/html/2608.17352#S3.T3)\(b\), mean pooling consistently achieves the highest accuracy across all benchmarks: 95\.31% on CIC\-IDS\-2017, 94\.87% on CIC\-IDS\-2018, 93\.42% on UNSW\-NB15, and 94\.56% on ToN\-IoT\. Max pooling \(91\.89%–93\.78%\) focuses on extreme features but loses information about overall flow patterns\. Sum pooling \(91\.12%–92\.91%\) is sensitive to variations in graph size and introduces scale inconsistencies\. Attention\-based pooling \(92\.78%–94\.67%\) shows promise but introduces additional parameters and training complexity without sufficient performance gains to justify the computational overhead\.

## IVConcluding Remarks

We introduced GraphGAN, an adversarial graph neural network framework that models network traffic as temporal graphs and employs generative augmentation to address class imbalance and data scarcity in DDoS detection\. Through temporal graph construction, adversarial augmentation, and GCN\-based classification, GraphGAN achieves superior performance compared to existing CNN\-LSTM variants across four diverse benchmarks, including CIC\-IDS\-2017, CIC\-IDS\-2018, UNSW\-NB15, and ToN\-IoT, with consistent improvements in accuracy, precision, and recall\. Comprehensive ablation studies confirm the robustness of key design choices, includingkk\-NN graph construction, three\-layer GCN depth, a noise dimension of 128, and mean pooling, across all evaluated datasets\. Key limitations include reliance on feature\-similarity assumptions in graph construction and training instabilities inherent to adversarial architectures\. A detailed system\-architecture instantiation and its runtime/mitigation\-cost evaluation are left as future work\. Future research directions encompass multi\-vector attack classification, hierarchical graph structures, federated learning frameworks, explainable threat attribution mechanisms, and extension to broader network security domains, including encrypted traffic analysis and IoT anomaly detection\.

## Data Availability

The datasets analyzed in this study are publicly available benchmark datasets: CIC\-IDS\-2017, CIC\-IDS\-2018, UNSW\-NB15, and ToN\-IoT\. Code to reproduce the experiments is available from the authors on reasonable request\.

## References

- \[1\]A\. M\. Al\-Eryani, F\. A\. Omara, and E\. Hossny\(2025\)A deep learning gru\-bilstm for ddos attack detection\.SN Computer Science6\(6\),pp\. 605\.Cited by:[§III\-B](https://arxiv.org/html/2608.17352#S3.SS2.p1.1),[TABLE I](https://arxiv.org/html/2608.17352#S3.T1.1.1.4.1)\.
- \[2\]M\. Antonakakis, T\. April, M\. Bailey, M\. Bernhard, E\. Bursztein, J\. Cochran, Z\. Durumeric, J\. A\. Halderman, L\. Invernizzi, M\. Kallitsis,et al\.\(2017\)Understanding the mirai botnet\.In26th USENIX security symposium \(USENIX Security 17\),pp\. 1093–1110\.Cited by:[§I](https://arxiv.org/html/2608.17352#S1.p1.1)\.
- \[3\]M\. Arafah, I\. Phillips, A\. Adnane, W\. Hadi, M\. Alauthman, and A\. Al\-Banna\(2025\)Anomaly\-based network intrusion detection using denoising autoencoder and wasserstein gan synthetic attacks\.Applied Soft Computing168,pp\. 112455\.Cited by:[§I\-A](https://arxiv.org/html/2608.17352#S1.SS1.p4.1),[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p4.1),[§III\-B](https://arxiv.org/html/2608.17352#S3.SS2.p1.1),[TABLE I](https://arxiv.org/html/2608.17352#S3.T1.1.1.7.1)\.
- \[4\]R\. A\. Bakar, L\. De Marinis, F\. Cugini, and F\. Paolucci\(2024\)FTG\-net\-e: a hierarchical ensemble graph neural network for ddos attack detection\.Computer Networks250,pp\. 110508\.Cited by:[§I\-A](https://arxiv.org/html/2608.17352#S1.SS1.p2.1),[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p3.1),[§III\-B](https://arxiv.org/html/2608.17352#S3.SS2.p1.1),[TABLE I](https://arxiv.org/html/2608.17352#S3.T1.1.1.12.1)\.
- \[5\]S\. Ben\-David, J\. Blitzer, K\. Crammer, A\. Kulesza, F\. Pereira, and J\. W\. Vaughan\(2010\)A theory of learning from different domains\.Machine Learning79\(1–2\),pp\. 151–175\.External Links:[Document](https://dx.doi.org/10.1007/s10994-009-5152-4)Cited by:[§II\-D2](https://arxiv.org/html/2608.17352#S2.SS4.SSS2.p4.1)\.
- \[6\]S\. Cai, Y\. Zhao, J\. Lyu, S\. Wang, Y\. Hu, M\. Cheng, and G\. Zhang\(2025\)DDP\-dar: network intrusion detection based on denoising diffusion probabilistic model and dual\-attention residual network\.Neural Networks184,pp\. 107064\.Cited by:[§III\-B](https://arxiv.org/html/2608.17352#S3.SS2.p1.1),[TABLE I](https://arxiv.org/html/2608.17352#S3.T1.1.1.9.1)\.
- \[7\]Y\. Cao, H\. Jiang, Y\. Deng, J\. Wu, P\. Zhou, and W\. Luo\(2021\)Detecting and mitigating ddos attacks in sdn using spatial\-temporal graph convolutional network\.IEEE Transactions on Dependable and Secure Computing19\(6\),pp\. 3855–3872\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p3.1)\.
- \[8\]N\. V\. Chawla, K\. W\. Bowyer, L\. O\. Hall, and W\. P\. Kegelmeyer\(2002\)SMOTE: synthetic minority over\-sampling technique\.Journal of Artificial Intelligence Research16,pp\. 321–357\.Cited by:[§I\-A](https://arxiv.org/html/2608.17352#S1.SS1.p3.1),[§III\-B](https://arxiv.org/html/2608.17352#S3.SS2.p1.1),[TABLE I](https://arxiv.org/html/2608.17352#S3.T1.1.1.5.1)\.
- \[9\]R\. K\. Chouhan, M\. Atulkar, and N\. K\. Nagwani\(2023\)A framework to detect ddos attack in ryu controller based software defined networks using feature extraction and classification\.Applied Intelligence53\(4\),pp\. 4268–4288\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p2.1)\.
- \[10\]M\. Defferrard, X\. Bresson, and P\. Vandergheynst\(2016\)Convolutional neural networks on graphs with fast localized spectral filtering\.Advances in neural information processing systems29\.Cited by:[§II\-C2](https://arxiv.org/html/2608.17352#S2.SS3.SSS2.p2.1)\.
- \[11\]G\. Duan, H\. Lv, H\. Wang, and G\. Feng\(2022\)Application of a dynamic line graph neural network for intrusion detection with semisupervised learning\.IEEE Transactions on Information Forensics and Security18,pp\. 699–714\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p3.1)\.
- \[12\]M\. S\. El Sayed, N\. Le\-Khac, M\. A\. Azer, and A\. D\. Jurcut\(2022\)A flow\-based anomaly detection approach with feature selection method against ddos attacks in sdns\.IEEE Transactions on Cognitive Communications and Networking8\(4\),pp\. 1862–1880\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p2.1),[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p5.1)\.
- \[13\]I\. J\. Goodfellow, J\. Pouget\-Abadie, M\. Mirza, B\. Xu, D\. Warde\-Farley, S\. Ozair, A\. Courville, and Y\. Bengio\(2014\)Generative adversarial nets\.Advances in neural information processing systems27\.Cited by:[Theorem 2](https://arxiv.org/html/2608.17352#Thmtheorem2.p1.2.1),[Theorem 3](https://arxiv.org/html/2608.17352#Thmtheorem3.p1.1.1)\.
- \[14\]J\. He, W\. Fang, X\. Lan, G\. Yang, Z\. Chen, Y\. Chen, T\. Li, and J\. Chen\(2024\)Efficient based on improved random forest defense system against application\-layer ddos attacks\.International Journal of Intelligent Systems2024\(1\),pp\. 9044391\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p2.1)\.
- \[15\]M\. A\. Hossain and N\. Ansari\(2023\)Hybrid multiple access for network slicing aware mobile edge computing\.IEEE Transactions on Cloud Computing11\(3\),pp\. 2910–2921\.Cited by:[§I](https://arxiv.org/html/2608.17352#S1.p2.1)\.
- \[16\]M\. A\. Hossain, A\. R\. Hossain, W\. Liu, N\. Ansari, A\. Kiani, and T\. Saboorian\(2023\)A decentralized collaborative learning approach in 5G\+ core networks\.IEEE Network38\(1\),pp\. 288–295\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p5.1),[§I](https://arxiv.org/html/2608.17352#S1.p2.1)\.
- \[17\]M\. A\. Hossain, W\. Liu, and N\. Ansari\(2024\)Computation\-efficient offloading and power control for mec in iot networks by meta\-reinforcement learning\.IEEE Internet of Things Journal11\(9\),pp\. 16722–16730\.External Links:[Document](https://dx.doi.org/10.1109/JIoT.2024.3355023)Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p5.1)\.
- \[18\]M\. A\. Hossain, N\. Sadat, N\. Ansari, and F\. Amsaad\(2026\)Split learning over noma\-enabled hetnets for scalable iot\-based precision agriculture\.IEEE Transactions on Cognitive Communications and Networking12\(\),pp\. 7145–7156\.External Links:[Document](https://dx.doi.org/10.1109/TCCN.2026.3683140)Cited by:[§I](https://arxiv.org/html/2608.17352#S1.p2.1)\.
- \[19\]G\. A\. Jaafar, S\. M\. Abdullah, and S\. Ismail\(2019\)Review of recent detection methods for http ddos attack\.Journal of Computer Networks and Communications2019\(1\),pp\. 1283472\.Cited by:[§I](https://arxiv.org/html/2608.17352#S1.p2.1)\.
- \[20\]S\. Kullback and R\. A\. Leibler\(1951\)On information and sufficiency\.The Annals of Mathematical Statistics22\(1\),pp\. 79–86\.External Links:[Document](https://dx.doi.org/10.1214/aoms/1177729694)Cited by:[Theorem 4](https://arxiv.org/html/2608.17352#Thmtheorem4.p1.1.1)\.
- \[21\]J\. Li, L\. Lyu, X\. Liu, X\. Zhang, and X\. Lyu\(2021\)FLEAM: a federated learning empowered architecture to mitigate ddos in industrial iot\.IEEE Transactions on Industrial Informatics18\(6\),pp\. 4059–4068\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p2.1)\.
- \[22\]Y\. Li, R\. Li, Z\. Zhou, J\. Guo, W\. Yang, M\. Du, and Q\. Liu\(2022\)Graphddos: effective ddos attack detection using graph neural networks\.In2022 IEEE 25th International Conference on Computer Supported Cooperative Work in Design \(CSCWD\),pp\. 1275–1280\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p3.1)\.
- \[23\]W\. Liu, M\. Arif Hossain, and N\. Ansari\(2025\)Mobile\-edge computing for multi\-services digital twin\-enabled iot heterogeneous networks\.IEEE Transactions on Cognitive Communications and Networking11\(3\),pp\. 1845–1853\.External Links:[Document](https://dx.doi.org/10.1109/TCCN.2024.3490779)Cited by:[§I](https://arxiv.org/html/2608.17352#S1.p1.1)\.
- \[24\]W\. Liu, M\. A\. Hossain, N\. Ansari, A\. Kiani, and T\. Saboorian\(2024\)Reinforcement learning\-based network slicing scheme for optimized ue\-qos in future networks\.IEEE Transactions on Network and Service Management21\(3\),pp\. 3454–3464\.External Links:[Document](https://dx.doi.org/10.1109/TNSM.2024.3368294)Cited by:[§I](https://arxiv.org/html/2608.17352#S1.p2.1)\.
- \[25\]W\. W\. Lo, S\. Layeghy, M\. Sarhan, M\. Gallagher, and M\. Portmann\(2022\)E\-graphsage: a graph neural network based intrusion detection system for iot\.InNOMS 2022\-2022 IEEE/IFIP network operations and management symposium,pp\. 1–9\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p3.1),[§III\-B](https://arxiv.org/html/2608.17352#S3.SS2.p1.1),[TABLE I](https://arxiv.org/html/2608.17352#S3.T1.1.1.10.1)\.
- \[26\]Y\. Luo, M\. He, and X\. Wang\(2025\)ERFS: efficient feature graph representation for intrusion detection based on flow semantic association\.IEEE Transactions on Cognitive Communications and Networking11\(6\),pp\. 3711–3728\.External Links:[Document](https://dx.doi.org/10.1109/TCCN.2025.3543357)Cited by:[§I](https://arxiv.org/html/2608.17352#S1.p2.1)\.
- \[27\]A\. Mustapha, R\. Khatoun, S\. Zeadally, F\. Chbib, A\. Fadlallah, W\. Fahs, and A\. El Attar\(2023\)Detecting ddos attacks using adversarial neural network\.Computers & Security127,pp\. 103117\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p4.1)\.
- \[28\]A\. A\. Najar and S\. M\. Naik\(2024\)Cyber\-secure sdn: a cnn\-based approach for efficient detection and mitigation of ddos attacks\.Computers & Security139,pp\. 103716\.Cited by:[§III\-B](https://arxiv.org/html/2608.17352#S3.SS2.p1.1),[TABLE I](https://arxiv.org/html/2608.17352#S3.T1.1.1.3.1)\.
- \[29\]N\. Nishanth and A\. Mujeeb\(2021\)Modeling and detection of flooding\-based denial of service attacks in wireless ad hoc networks using uncertain reasoning\.IEEE Transactions on Cognitive Communications and Networking7\(3\),pp\. 893–904\.External Links:[Document](https://dx.doi.org/10.1109/TCCN.2021.3055503)Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p3.1)\.
- \[30\]Y\. Qing, X\. Liu, and Y\. Du\(2024\)Mitigating data imbalance to improve the generalizability in iot ddos detection tasks\.The Journal of Supercomputing80\(7\),pp\. 9935–9960\.Cited by:[§I\-A](https://arxiv.org/html/2608.17352#S1.SS1.p3.1)\.
- \[31\]D\. M\. Rajan and D\. J\. Aravindhar\(2023\)Detection and mitigation of DDoS attack in SDN environment using hybrid CNN\-LSTM\.Migration Letters20,pp\. 407–419\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p2.1)\.
- \[32\]M\. S\. E\. Sayed, N\. Le\-Khac, M\. A\. Azer, and A\. D\. Jurcut\(2022\)A flow\-based anomaly detection approach with feature selection method against ddos attacks in sdns\.IEEE Transactions on Cognitive Communications and Networking8\(4\),pp\. 1862–1880\.External Links:[Document](https://dx.doi.org/10.1109/TCCN.2022.3186331)Cited by:[§I](https://arxiv.org/html/2608.17352#S1.p3.1)\.
- \[33\]H\. Sedjelmaci and N\. Ansari\(2024\)Zero trust architecture empowered attack detection framework to secure 6g edge computing\.IEEE Network38\(1\),pp\. 196–202\.External Links:ISSN 0890\-8044,[Document](https://dx.doi.org/10.1109/MNET.131.2200513)Cited by:[§I](https://arxiv.org/html/2608.17352#S1.p3.1)\.
- \[34\]A\. Shahraki, M\. Abbasi, A\. Taherkordi, and A\. D\. Jurcut\(2022\)Active learning for network traffic classification: a technical study\.IEEE Transactions on Cognitive Communications and Networking8\(1\),pp\. 422–439\.External Links:[Document](https://dx.doi.org/10.1109/TCCN.2021.3119062)Cited by:[§I](https://arxiv.org/html/2608.17352#S1.p3.1)\.
- \[35\]C\. Shieh, T\. Nguyen, W\. Lin, Y\. Huang, M\. Horng, T\. Lee, and D\. Miu\(2022\)Detection of adversarial ddos attacks using generative adversarial networks with dual discriminators\.Symmetry14\(1\),pp\. 66\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p4.1)\.
- \[36\]W\. Tian, Y\. Shen, N\. Guo, J\. Yuan, and Y\. Yang\(2024\)VAE\-wacgan: an improved data augmentation method based on vaegan for intrusion detection\.Sensors24\(18\),pp\. 6035\.Cited by:[§I\-A](https://arxiv.org/html/2608.17352#S1.SS1.p4.1),[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p4.1),[§III\-B](https://arxiv.org/html/2608.17352#S3.SS2.p1.1),[TABLE I](https://arxiv.org/html/2608.17352#S3.T1.1.1.8.1)\.
- \[37\]Y\. Wang, Z\. Han, Y\. Du, J\. Li, and X\. He\(2025\)BS\-gat: a network intrusion detection system based on graph neural network for edge computing\.Cybersecurity8\(1\),pp\. 27\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p3.1),[§III\-B](https://arxiv.org/html/2608.17352#S3.SS2.p1.1),[TABLE I](https://arxiv.org/html/2608.17352#S3.T1.1.1.11.1)\.
- \[38\]Y\. Wang, X\. Zhang, Y\. Lai, Z\. Zhao, and Y\. Deng\(2025\)Hifoots: a highly efficient ddos attack detection scheme deployed in smart iot homes\.IEEE Transactions on Cognitive Communications and Networking11\(1\),pp\. 519–533\.External Links:[Document](https://dx.doi.org/10.1109/TCCN.2024.3424888)Cited by:[§I](https://arxiv.org/html/2608.17352#S1.p1.1)\.
- \[39\]K\. Xu, W\. Hu, J\. Leskovec, and S\. Jegelka\(2018\)How powerful are graph neural networks?\.arXiv preprint arXiv:1810\.00826\.Cited by:[Proposition 2](https://arxiv.org/html/2608.17352#Thmproposition2.p1.1.1)\.
- \[40\]K\. Yang, J\. Wang, and M\. Li\(2024\)An improved intrusion detection method for IIoT using attention mechanisms, bigru, and inception\-cnn\.Scientific Reports14\(1\),pp\. 19339\.Cited by:[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p2.1)\.
- \[41\]S\. T\. Zargar, J\. Joshi, and D\. Tipper\(2013\)A survey of defense mechanisms against distributed denial of service \(ddos\) flooding attacks\.IEEE communications surveys & tutorials15\(4\),pp\. 2046–2069\.Cited by:[§I](https://arxiv.org/html/2608.17352#S1.p1.1)\.
- \[42\]Z\. Zeng, W\. Peng, and D\. Zeng\(2022\)Improving the stability of intrusion detection with causal deep learning\.IEEE Transactions on Network and Service Management19\(4\),pp\. 4750–4763\.Cited by:[§III\-B](https://arxiv.org/html/2608.17352#S3.SS2.p1.1),[TABLE I](https://arxiv.org/html/2608.17352#S3.T1.1.1.2.1)\.
- \[43\]G\. Zhao, P\. Liu, K\. Sun, Y\. Yang, T\. Lan, and H\. Yang\(2023\)Research on data imbalance in intrusion detection using cgan\.Plos one18\(10\),pp\. e0291750\.Cited by:[§I\-A](https://arxiv.org/html/2608.17352#S1.SS1.p3.1),[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p4.1)\.
- \[44\]M\. Zhong, M\. Lin, C\. Zhang, and Z\. Xu\(2024\)A survey on graph neural networks for intrusion detection systems: methods, trends and challenges\.Computers & Security141,pp\. 103821\.Cited by:[§I\-A](https://arxiv.org/html/2608.17352#S1.SS1.p2.1),[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p1.1),[§I\-B](https://arxiv.org/html/2608.17352#S1.SS2.p3.1)\.

Similar Articles

DDGAD: Trajectory Dynamics for Diffusion-Based Graph Anomaly Detection

arXiv cs.LG

Proposes DDGAD, a diffusion-based framework for graph anomaly detection that uses trajectory dynamics to distinguish normal from anomalous nodes, mitigating contamination propagation via a reliability-aware consensus mechanism and three complementary anomaly signals.