# Generative Adversarial Networks for Energy-Aware IoT Intrusion Detection: Comprehensive Benchmark Analysis of GAN Architectures with Accuracy-per-Joule Evaluation

**Authors:** Iacovos Ioannou, Vasos Vassiliou

PMC · DOI: 10.3390/s26030757 · Sensors (Basel, Switzerland) · 2026-01-23

## TL;DR

This paper evaluates different GAN architectures for intrusion detection in IoT devices, focusing on energy efficiency and accuracy, especially for rare attack types.

## Contribution

The paper introduces energy-normalized metrics (APJ and F1PJ) and proposes an optimized WGAN-GP with diversity loss for energy-aware intrusion detection.

## Key findings

- Optimized WGAN-GP achieves 99.99% accuracy and 100% minority class detection on the BoT-IoT dataset.
- WGAN-GP outperforms SMOTE-augmented classifiers by 21.60 percentage points in minority class detection across five datasets.
- Diversity-promoting mechanisms in GANs improve both generation quality and classification performance.

## Abstract

The proliferation of Internet of Things (IoT) devices has created unprecedented security challenges characterized by resource constraints, heterogeneous network architectures, and severe class imbalance in attack detection datasets. This paper presents a comprehensive benchmark evaluation of five Generative Adversarial Network (GAN) architectures for energy-aware intrusion detection: Standard GAN, Progressive GAN (PGAN), Conditional GAN (cGAN), Graph-based GAN (GraphGAN), and Wasserstein GAN with Gradient Penalty (WGAN-GP). Our evaluation framework introduces novel energy-normalized performance metrics, including Accuracy-per-Joule (APJ) and F1-per-Joule (F1PJ), that enable principled architecture selection for energy-constrained deployments. We propose an optimized WGAN-GP architecture incorporating diversity loss, feature matching, and noise injection mechanisms specifically designed for classification-oriented data augmentation. Experimental results on a stratified subset of the BoT-IoT dataset (approximately 1.83 million records) demonstrate that our optimized WGAN-GP achieves state-of-the-art performance, with 99.99% classification accuracy, a 0.99 macro-F1 score, and superior generation quality (MSE 0.01). While traditional classifiers augmented with SMOTE (i.e., Logistic Regression and CNN1D-TCN) also achieve 99.99% accuracy, they suffer from poor minority class detection (77.78–80.00%); our WGAN-GP improves minority class detection to 100.00% on the reported test split (45 of 45 attack instances correctly identified). Furthermore, WGAN-GP provides substantial efficiency advantages under our energy-normalized metrics, achieving superior accuracy-per-joule performance compared to Standard GAN. Also, a cross-dataset validation across five benchmarks (BoT-IoT, CICIoT2023, ToN-IoT, UNSW-NB15, CIC-IDS2017) was implemented using 250 pooled test attacks to confirm generalizability, with WGAN-GP achieving 98.40% minority class accuracy (246/250 attacks detected) compared to 76.80% for Classical + SMOTE methods, a statistically significant 21.60 percentage point improvement (p<0.0001). Finally, our analysis reveals that incorporating diversity-promoting mechanisms in GAN training simultaneously achieves best generation quality AND best classification performance, demonstrating that these objectives are complementary rather than competing.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12899382/full.md

## Figures

17 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12899382/full.md

## References

73 references — full list in the complete paper: https://tomesphere.com/paper/PMC12899382/full.md

---
Source: https://tomesphere.com/paper/PMC12899382