What is an LSTM autoencoder?
How It Works
An LSTM (Long Short-Term Memory) autoencoder has two parts: an encoder that compresses time-series input into a lower-dimensional representation, and a decoder that reconstructs the original input from that representation. The network is trained only on normal data, so it learns to reconstruct normal patterns well.
Anomaly Detection
When the model encounters abnormal data (equipment degradation, failure precursors), it cannot reconstruct the input accurately. The reconstruction error — the difference between input and output — increases. This error serves as an anomaly score.
Why LSTM
LSTM networks are designed for sequential data. They maintain a memory of previous inputs, making them ideal for time-series sensor data where the temporal context matters. Unlike simple autoencoders, LSTM autoencoders capture patterns over time, not just instantaneous values.
VLTHRLAB Validation
VLTHRLAB validated an LSTM autoencoder on 8 public benchmark datasets for industrial anomaly detection. The system achieved AUC up to 1.000 on individual datasets and AUC 0.9995 on cross-dataset transfer with zero false alarms.
Evidence
Source: vlthrlab.app/research/mad-system.html
Source: vlthrlab.app/research/mad-system.html