A novel ensemble Wasserstein GAN framework for effective anomaly detection in industrial internet of things environments

Abstract Imbalanced datasets in Industrial Internet of Things (IIoT) environments pose a serious challenge for reliable pattern classification. Critical instances of minority classes (such as anomalies or system faults) are often vastly outnumbered by routine data, making them difficult to detect. T...

Full description

Saved in:
Bibliographic Details
Main Authors: Rubina Riaz, Guangjie Han, Kamran Shaukat, Naimat Ullah Khan, Hongbo Zhu, Lei Wang
Format: Article
Language:English
Published: Nature Portfolio 2025-07-01
Series:Scientific Reports
Subjects:
Online Access:https://doi.org/10.1038/s41598-025-07533-1
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849234793634463744
author Rubina Riaz
Guangjie Han
Kamran Shaukat
Naimat Ullah Khan
Hongbo Zhu
Lei Wang
author_facet Rubina Riaz
Guangjie Han
Kamran Shaukat
Naimat Ullah Khan
Hongbo Zhu
Lei Wang
author_sort Rubina Riaz
collection DOAJ
description Abstract Imbalanced datasets in Industrial Internet of Things (IIoT) environments pose a serious challenge for reliable pattern classification. Critical instances of minority classes (such as anomalies or system faults) are often vastly outnumbered by routine data, making them difficult to detect. Traditional resampling and machine learning methods struggle with such skewed data, usually failing to identify these rare but significant events. To address this, we introduce a two-stage generative oversampling framework called Enhanced Optimization of Wasserstein Generative Adversarial Network (EO-WGAN). This enhanced WGAN-based Oversampling approach combines the strengths of the Synthetic Minority Oversampling Technique (SMOTE) and Wasserstein Generative Adversarial Networks (WGAN). First, SMOTE interpolates new minority-class examples to roughly balance the dataset. Next, a WGAN is trained on this augmented data to refine and generate high-fidelity minority samples that preserve the complex non-linear feature distributions characteristic of IIoT data. Unlike prior SMOTE and GAN methods, our framework leverages the Wasserstein loss for more stable training. It incorporates an optimized sampling strategy to ensure that the synthetic data meaningfully extends the classifier’s decision boundaries. Integrating an advanced oversampling technique with a critic-guided generative model significantly improves minority-class recognition, eliminating the need for extensive feature engineering or domain-specific tuning. We validate EO-WGAN on an IIoT cybersecurity dataset (UNSW-NB15) and several other imbalanced benchmarks. The proposed method consistently outperforms state-of-the-art oversampling techniques, achieving up to 95.2% accuracy (with precision and recall of 94.6% and 95.4%, respectively) in our experiments. EO-WGAN offers a scalable and cost-effective solution for anomaly detection and predictive maintenance in Industrial Internet of Things (IIoT), and its generality makes it applicable to other domains that face severe class imbalance. The results demonstrate that our approach significantly enhances the detection of minority-class events, resulting in more reliable industrial analytics and informed operational decision-making.
format Article
id doaj-art-aeb0bf7a32e1471381798101caa65af3
institution Kabale University
issn 2045-2322
language English
publishDate 2025-07-01
publisher Nature Portfolio
record_format Article
series Scientific Reports
spelling doaj-art-aeb0bf7a32e1471381798101caa65af32025-08-20T04:03:01ZengNature PortfolioScientific Reports2045-23222025-07-0115112210.1038/s41598-025-07533-1A novel ensemble Wasserstein GAN framework for effective anomaly detection in industrial internet of things environmentsRubina Riaz0Guangjie Han1Kamran Shaukat2Naimat Ullah Khan3Hongbo Zhu4Lei Wang5Dalian University of Technology, Software EngineeringSchool of Internet of Things EngineeringCentre for Artificial Intelligence Research and Optimisation, Design and Creative Technology Vertical, Torrens University AustraliaSchool of Computer Science, University of Technology SydneySchool of Information Science and Engineering, Shenyang Ligong UniversityDalian University of Technology, Software EngineeringAbstract Imbalanced datasets in Industrial Internet of Things (IIoT) environments pose a serious challenge for reliable pattern classification. Critical instances of minority classes (such as anomalies or system faults) are often vastly outnumbered by routine data, making them difficult to detect. Traditional resampling and machine learning methods struggle with such skewed data, usually failing to identify these rare but significant events. To address this, we introduce a two-stage generative oversampling framework called Enhanced Optimization of Wasserstein Generative Adversarial Network (EO-WGAN). This enhanced WGAN-based Oversampling approach combines the strengths of the Synthetic Minority Oversampling Technique (SMOTE) and Wasserstein Generative Adversarial Networks (WGAN). First, SMOTE interpolates new minority-class examples to roughly balance the dataset. Next, a WGAN is trained on this augmented data to refine and generate high-fidelity minority samples that preserve the complex non-linear feature distributions characteristic of IIoT data. Unlike prior SMOTE and GAN methods, our framework leverages the Wasserstein loss for more stable training. It incorporates an optimized sampling strategy to ensure that the synthetic data meaningfully extends the classifier’s decision boundaries. Integrating an advanced oversampling technique with a critic-guided generative model significantly improves minority-class recognition, eliminating the need for extensive feature engineering or domain-specific tuning. We validate EO-WGAN on an IIoT cybersecurity dataset (UNSW-NB15) and several other imbalanced benchmarks. The proposed method consistently outperforms state-of-the-art oversampling techniques, achieving up to 95.2% accuracy (with precision and recall of 94.6% and 95.4%, respectively) in our experiments. EO-WGAN offers a scalable and cost-effective solution for anomaly detection and predictive maintenance in Industrial Internet of Things (IIoT), and its generality makes it applicable to other domains that face severe class imbalance. The results demonstrate that our approach significantly enhances the detection of minority-class events, resulting in more reliable industrial analytics and informed operational decision-making.https://doi.org/10.1038/s41598-025-07533-1Industrial internet of thingsData augmentationDeep learningSMOTEMachine learning for IIoTSynthetic data generation
spellingShingle Rubina Riaz
Guangjie Han
Kamran Shaukat
Naimat Ullah Khan
Hongbo Zhu
Lei Wang
A novel ensemble Wasserstein GAN framework for effective anomaly detection in industrial internet of things environments
Scientific Reports
Industrial internet of things
Data augmentation
Deep learning
SMOTE
Machine learning for IIoT
Synthetic data generation
title A novel ensemble Wasserstein GAN framework for effective anomaly detection in industrial internet of things environments
title_full A novel ensemble Wasserstein GAN framework for effective anomaly detection in industrial internet of things environments
title_fullStr A novel ensemble Wasserstein GAN framework for effective anomaly detection in industrial internet of things environments
title_full_unstemmed A novel ensemble Wasserstein GAN framework for effective anomaly detection in industrial internet of things environments
title_short A novel ensemble Wasserstein GAN framework for effective anomaly detection in industrial internet of things environments
title_sort novel ensemble wasserstein gan framework for effective anomaly detection in industrial internet of things environments
topic Industrial internet of things
Data augmentation
Deep learning
SMOTE
Machine learning for IIoT
Synthetic data generation
url https://doi.org/10.1038/s41598-025-07533-1
work_keys_str_mv AT rubinariaz anovelensemblewassersteinganframeworkforeffectiveanomalydetectioninindustrialinternetofthingsenvironments
AT guangjiehan anovelensemblewassersteinganframeworkforeffectiveanomalydetectioninindustrialinternetofthingsenvironments
AT kamranshaukat anovelensemblewassersteinganframeworkforeffectiveanomalydetectioninindustrialinternetofthingsenvironments
AT naimatullahkhan anovelensemblewassersteinganframeworkforeffectiveanomalydetectioninindustrialinternetofthingsenvironments
AT hongbozhu anovelensemblewassersteinganframeworkforeffectiveanomalydetectioninindustrialinternetofthingsenvironments
AT leiwang anovelensemblewassersteinganframeworkforeffectiveanomalydetectioninindustrialinternetofthingsenvironments
AT rubinariaz novelensemblewassersteinganframeworkforeffectiveanomalydetectioninindustrialinternetofthingsenvironments
AT guangjiehan novelensemblewassersteinganframeworkforeffectiveanomalydetectioninindustrialinternetofthingsenvironments
AT kamranshaukat novelensemblewassersteinganframeworkforeffectiveanomalydetectioninindustrialinternetofthingsenvironments
AT naimatullahkhan novelensemblewassersteinganframeworkforeffectiveanomalydetectioninindustrialinternetofthingsenvironments
AT hongbozhu novelensemblewassersteinganframeworkforeffectiveanomalydetectioninindustrialinternetofthingsenvironments
AT leiwang novelensemblewassersteinganframeworkforeffectiveanomalydetectioninindustrialinternetofthingsenvironments