Hybrid LSTM–GRU–Autoencoder Framework for Context-Drift Detection in IoT Sensor Streams
Contributors
Dr. Amit Kumar Bindal
Shashi Kant Gupta
Keywords
Proceeding
Track
General Track
License
Copyright (c) 2026 Sustainable Global Societies Initiative

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Abstract
The goal of this study was to create a hybrid change detection algorithm that could be applied to multiple variable IoT sensor streams. In order to achieve this, the authors created a hybrid change detection approach that combined the next-step prediction errors from both Long Short Term Memory (LSTM) and Gated Recurrent Unit (GRU) models with the reconstruction errors from a GRU Autoencoder. The authors normalized all three types of errors prior to combining them into one score. Each error type was normalized according to the median and median absolute deviation (MAD) values from its corresponding training set. The authors then combined the three normalized error types using a weighted score and an adaptive threshold. In order to test the performance of their algorithm, the authors collected temperature, humidity, light, and voltage measurements at the Intel Berkeley Research Lab. There were a total of 4,185 observations collected at 10 minute intervals from 55 unique sensor nodes. Since the authors did not have any context drift labels in the original data set, they created three artificially controlled changes within the chronological test segment. The authors reported that the algorithm was able to achieve 90.12% accuracy, 28.64% precision, 73.08% recall, and 41.16% F1. While the authors were able to detect the sudden and gradual injections, they were not able to detect the recurrent/contextual injection. Also, the authors noted an unresolved issue regarding the discrepancy between the number of threshold events and the number of alarm events recorded in their output files.