Blog

The alarm nobody answers

The horn sounded while I was talking to the board operator. He reached out and silenced it without looking, the way you would brush a fly off your sleeve, and finished his sentence.

Date
Outcome
Safety

The detector that was ninety-nine percent right

I will come back to the operator. First, a sum, because it explains him.

Suppose somebody offers you an anomaly detector that is right ninety-nine times in a hundred. When the equipment is in trouble it says so ninety-nine times in a hundred. When the equipment is healthy it stays quiet ninety-nine times in a hundred. That sounds superb. Most of us would sign.

Now put it on a pump and let it check once a minute. A year has a little over half a million minutes. The pump is a good pump; say it is truly in trouble for a hundred of them. The detector catches ninety-nine of those. Splendid. But in the other half million minutes, when nothing is wrong, it is mistaken one time in a hundred, and one in a hundred of half a million is more than five thousand.

So over the year the horn sounds about five thousand three hundred times, and ninety-nine of those are real. An operator who hears it is looking at odds of roughly fifty to one that nothing is wrong. He learns this in about a week, without doing the arithmetic. After that he silences it without looking and goes on talking.

And he is right to. People blame the operator when an alarm is ignored, and I think that is backwards. He has done what any sensible creature does with a signal that is nearly always wrong. The mistake was made earlier by whoever thought ninety-nine percent was good. For something that is rare, and checked very often, it is nowhere near good enough.

Unusual is not the same as wrong

A machine learning anomaly detector is a natural way to walk into this, since it is so easy to build one. You show it a year of normal running and it learns what normal looks like. From then on it flags anything that does not look like that. No one has to define the faults in advance. It feels like getting something for nothing.

But a plant does unusual things all day that are perfectly proper. A grade change. A startup. A hot afternoon. An operator trying a slightly different way of running, which he is paid to do. The spare pump brought on because the main one is due for service. To a detector that knows only "like last year" and "not like last year", all of these are anomalies. It reports them faithfully. And each report teaches the board operator a little more firmly that the new system cries wolf.

The control room, remember, was not short of alarms to begin with. Most have too many. Adding a clever new source of them, each one vaguer than the old kind ("something is unusual on the compressor"), is the last thing that room needs.

Fewer, later, and with a reason attached

So the work of anomaly detection is hardly at all the detecting. It is deciding what deserves to be said aloud. A few habits do most of the good.

Tell the detector what the plant is doing. If it knows a grade change is under way, or that the unit is starting up, it can judge the readings against what is normal for that, and stop being astonished by every transition.

Make it wait. A single odd minute is nearly always nothing. An oddness that persists for twenty minutes, and grows, and shows on two instruments that should not move together, is a different animal. Waiting costs a little warning time and removes most of the false calls. Run the sum again with a detector that speaks only when it has been sure for a quarter of an hour, and it looks very different.

Have it say what it sees. "Discharge temperature is twelve degrees above what this flow and suction pressure normally give" is something a person can walk out and check. "Anomaly score 0.83" is not.

Send it to the right desk. Most of what a detector finds is slow: a bearing warming over a fortnight, an exchanger losing duty. That is not a matter for a horn. It belongs on a list the reliability engineer reads with his coffee. The horn should be kept for the few things that need hands on the plant now. That is the territory of warning early enough to keep people safe, and it is where a false alarm costs the most, because every one of them wears away the credit the real one will need.

And count. For every alert, somebody records whether it was real. Any alert that is wrong most of the time gets fixed or removed. I have never seen a control room object to losing an alarm.

It comes down to something any parent knows. A voice that is raised all day is not heard. Six alerts a year, each one believed, will do more for a plant than a detector that catches everything and gets brushed off like a fly.