Skip to content

Methods · Time series · Time series anomaly detection

LSTM Autoencoder Anomaly Detection for Time Series

An LSTM encoder-decoder learns to reconstruct short windows of a time series that behaves normally. The encoder compresses each window into a state, and the decoder rebuilds the window backwards from that state. Where later data cannot be reconstructed well, the reconstruction errors are unusual compared with their distribution on normal validation windows, and those time points are scored as anomalous.

LSTM 인코더-디코더는 정상적으로 움직이는 시계열의 짧은 구간을 재구성하도록 학습합니다. 인코더가 각 구간을 상태 하나로 압축하고, 디코더가 그 상태에서 구간을 거꾸로 다시 만듭니다. 이후 자료에서 재구성 오차가 정상 검증 구간의 오차 분포와 비교해 이례적이면 그 시점을 이상으로 점수 매깁니다.

Which time points in my series (one or more channels) behave unlike the normal pattern learned from an earlier period?

하나 또는 여러 채널의 시계열에서 앞선 기간에 학습한 정상 패턴과 다르게 움직이는 시점은 어디입니까?

The method reports an anomaly score for every time point, the threshold from validation scores, the number of flagged points after the training period, the validation reconstruction error and a table of the highest-scoring points.

When to use LSTM Autoencoder Anomaly Detection for Time Series

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

An LSTM encoder-decoder (window 30) trained on the first [value] points flagged [value] of [value] later points at the 99% quantile of validation scores.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with SciPy at a stated tolerance of 1e-10.

    독립 계산. SciPy 대조 참조 시험 1건 통과(허용오차 1e-10).

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run LSTM Autoencoder Anomaly Detection for Time Series on Quorant

Data you need
a table (CSV or Excel) with an outcome variable
Price
900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q53138 · Reviewed 2026-10-25