Anomaly Detector Generator

Reading the results

The model reports periods that do not look like the training data. It does not report faults, and it cannot tell you what went wrong — that judgement is yours. What it gives you is a shortlist and a starting point.

What comes out

For each 15-minute interval the model reconstructs what it expected to see and compares that against what actually happened. The gap is the reconstruction error. An interval is flagged when either:

The per-channel trigger exists because the aggregate is a weighted mean. A fault confined to one sensor out of twenty contributes about a twentieth of it and would be averaged into invisibility. Naming the responsible channel is most of the diagnostic value.

The threshold

Calibrated on a held-back fifth of your own upload — data the model was never fitted to — as the error level that a set share of normal intervals stays below. It needs nothing extra from you.

This means the threshold is only as good as the assumption that your training data was normal. If it contained a fault, the threshold is set high enough to accommodate that fault, and similar faults will pass unflagged.

The persistence filter

A single flagged interval is usually noise. A period is only reported once it has persisted for four consecutive intervals — one hour. This is what keeps a normal week from producing a page of alerts nobody reads.

The flatline check

Run separately, without the model, because a reconstruction autoencoder cannot detect a frozen sensor: the channel sits in its own input window, and a constant signal is trivially easy to predict from its own recent history. No amount of tuning fixes that, and no model is needed — a held value is exact to detect.

It reports any scored analogue channel holding one value for more than six hours while at least two other channels are still moving. The second condition is what stops a shut-down plant reporting every channel at once.

What a result does not mean

False positives are the cheaper mistake

Where we had to choose, we chose to over-report. A sensor wrongly treated as context is never scored, so faults in it are invisible — silently. A setpoint wrongly treated as scored produces false positives, which are noisy but visible and diagnosable.

That is why anything ambiguous is scored, and why you are asked to mark weather channels yourself.