Anomaly detection solutions: The dynamic loss approach in VAE for manufacturing and IoT environment

Anomaly detection is critical for enhancing operational efficiency, safety, and maintenance in industrial applications, particularly in the era of Industry 4.0 and IoT. While traditional anomaly detection approaches face limitations such as scalability issues, high false alarm rates, and reliance on skilled expertise, this study proposes a novel approach using a BiLSTM-Variational Autoencoder (BiLSTM-VAE) model with a dynamic loss function. The proposed model addresses key challenges, including data imbalance, interpretability issues, and computational complexity. By leveraging the bidirectional capability of BiLSTM in the encoder and decoder, the model captures comprehensive temporal dependencies, enabling more effective anomaly detection. The innovative dynamic loss function integrates a tempering index mechanism with tuneable parameters ( α and γ ), which assigns higher weights to underrepresented classes and down-weights easily classified samples. This improves reconstruction and enhances detection accuracy, particularly for minority class anomalies. Experimental evaluations on the SKAB and TEP datasets demonstrate the superiority of the proposed framework. The model achieved an accuracy of 98% and an F1 score of 96% for binary classification on the SKAB dataset and a multiclass classification accuracy of 92% with an F1 score of 85% on the TEP dataset. These results significantly outperform state-of-the-art models, including traditional VAE, LSTM, and transformer-based approaches. The proposed BiLSTM-VAE model not only demonstrates robust anomaly detection capabilities across diverse datasets but also effectively handles data imbalance and reduces false positives, making it a scalable and reliable solution for industrial anomaly detection in the context of Industry 4.0 and IoT environments. • Novel BiLSTM-VAE: Integrates BiLSTM and VAE to capture temporal dependencies in time-series data. • Dynamic Loss Function: Uses a tempering index with α and γ to address data imbalance. • Performance: Achieved an accuracy of 98% and 96% F1 on SKAB; 92% accuracy and an F1 score of 85% on TEP, surpassing traditional and state-of-the-art models. • Comparative: Outperforms established models such as LSTM, Autoencoders, and Transformer-based methods in terms of accuracy and robustness in handling imbalanced datasets. • Scalability: IoT-ready model for predictive maintenance; validated on SKAB and TEP.

Authors

Institutions

Publication Details

Journal
Results in Engineering
Published
2025-02-06
DOI
https://doi.org/10.1016/j.rineng.2025.104277
Citations
12
Primary Topic
Smart Grid Security and Resilience
Type
article
Field-Weighted Citation Impact
14.57
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Anomaly detection solutions: The dynamic loss approach in VAE for manufacturing and IoT environment

P. Bagavathi Sivakumar, Praveen Vijai
12 citations
Results in Engineering
Smart Grid Security and Resilience
14.57
article

Anomaly detection solutions: The dynamic loss approach in VAE for manufacturing and IoT environment

P. Bagavathi Sivakumar, Praveen Vijai
article en
12 citations

Abstract

Anomaly detection is critical for enhancing operational efficiency, safety, and maintenance in industrial applications, particularly in the era of Industry 4.0 and IoT. While traditional anomaly detection approaches face limitations such as scalability issues, high false alarm rates, and reliance on skilled expertise, this study proposes a novel approach using a BiLSTM-Variational Autoencoder (BiLSTM-VAE) model with a dynamic loss function. The proposed model addresses key challenges, including data imbalance, interpretability issues, and computational complexity. By leveraging the bidirectional capability of BiLSTM in the encoder and decoder, the model captures comprehensive temporal dependencies, enabling more effective anomaly detection. The innovative dynamic loss function integrates a tempering index mechanism with tuneable parameters ( α and γ ), which assigns higher weights to underrepresented classes and down-weights easily classified samples. This improves reconstruction and enhances detection accuracy, particularly for minority class anomalies. Experimental evaluations on the SKAB and TEP datasets demonstrate the superiority of the proposed framework. The model achieved an accuracy of 98% and an F1 score of 96% for binary classification on the SKAB dataset and a multiclass classification accuracy of 92% with an F1 score of 85% on the TEP dataset. These results significantly outperform state-of-the-art models, including traditional VAE, LSTM, and transformer-based approaches. The proposed BiLSTM-VAE model not only demonstrates robust anomaly detection capabilities across diverse datasets but also effectively handles data imbalance and reduces false positives, making it a scalable and reliable solution for industrial anomaly detection in the context of Industry 4.0 and IoT environments. • Novel BiLSTM-VAE: Integrates BiLSTM and VAE to capture temporal dependencies in time-series data. • Dynamic Loss Function: Uses a tempering index with α and γ to address data imbalance. • Performance: Achieved an accuracy of 98% and 96% F1 on SKAB; 92% accuracy and an F1 score of 85% on TEP, surpassing traditional and state-of-the-art models. • Comparative: Outperforms established models such as LSTM, Autoencoders, and Transformer-based methods in terms of accuracy and robustness in handling imbalanced datasets. • Scalability: IoT-ready model for predictive maintenance; validated on SKAB and TEP.

Results in EngineeringVol. 25
Amrita Vishwa Vidyapeetham (IN)
Industry, innovation and infrastructure
Openalex Percentile: Top 1%
Smart Grid Security and Resilience
14.57
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.