Next Article in Journal
Fault Diagnosis of Static Eccentricity in Marine Diesel Generators Using 2D Short-Time Fourier Transform of Three-Phase Currents
Previous Article in Journal
Hi-MDTCN: Hierarchical Multi-Scale Dilated Temporal Convolutional Network for Tool Condition Monitoring
Previous Article in Special Issue
Securing IoT Vision Systems: An Unsupervised Framework for Adversarial Example Detection Integrating Spatial Prototypes and Multidimensional Statistics
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Anomaly Behavior Detection Based on Deep Learning in an IoT Environment

by
Anqi Fu
* and
Jian Li
*
School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China
*
Authors to whom correspondence should be addressed.
Sensors 2025, 25(24), 7605; https://doi.org/10.3390/s25247605
Submission received: 28 September 2025 / Revised: 7 December 2025 / Accepted: 10 December 2025 / Published: 15 December 2025
(This article belongs to the Special Issue IoT Network Security (Second Edition))

Abstract

In the era of the Internet of Things (IoT), video surveillance, as a vital component of smart cities and public security systems, faces the critical challenge of efficiently detecting abnormal behaviors within massive video streams. However, existing weakly supervised video anomaly detection methods are often limited by the scarcity of abnormal samples, the similarity between normal and abnormal segments, and the insufficient modeling of temporal dependencies. To address these challenges, this paper proposes a novel approach that integrates temporal structural attention with contrastive learning. On the one hand, causal masks and temporal decay weights are incorporated into the attention mechanism to explicitly constrain temporal relations and prevent future information leakage; on the other hand, positive/negative offsets and a contrastive learning strategy are employed to enhance the discriminability of abnormal segments in the latent space. Experiments conducted on multiple public video anomaly detection datasets validate the effectiveness of the proposed method, with results showing superior performance over existing mainstream models: the AUC increases to 98.1%, ACC reaches 96.1%, and the F1-score improves to 94.5%. These findings demonstrate that the proposed method can provide more intelligent, efficient, and reliable anomaly detection for IoT-based video surveillance, holding significant implications for public safety and intelligent monitoring.
Keywords: intelligent sensing; video anomaly detection; temporal structural attention; contrastive learning intelligent sensing; video anomaly detection; temporal structural attention; contrastive learning

Share and Cite

MDPI and ACS Style

Fu, A.; Li, J. Anomaly Behavior Detection Based on Deep Learning in an IoT Environment. Sensors 2025, 25, 7605. https://doi.org/10.3390/s25247605

AMA Style

Fu A, Li J. Anomaly Behavior Detection Based on Deep Learning in an IoT Environment. Sensors. 2025; 25(24):7605. https://doi.org/10.3390/s25247605

Chicago/Turabian Style

Fu, Anqi, and Jian Li. 2025. "Anomaly Behavior Detection Based on Deep Learning in an IoT Environment" Sensors 25, no. 24: 7605. https://doi.org/10.3390/s25247605

APA Style

Fu, A., & Li, J. (2025). Anomaly Behavior Detection Based on Deep Learning in an IoT Environment. Sensors, 25(24), 7605. https://doi.org/10.3390/s25247605

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop