learn/what the ai was for
Anomaly detection
Anomaly detection means sifting a mass of routine observations for the few that do not fit, without being told in advance what the odd ones will look like.
What it is
Most machine learning is taught by example. You show a program many pictures of a cat and many of a dog, and it learns to tell them apart. Anomaly detection starts from a harder position: nobody can show it the thing it is meant to find, because the point is that the thing is rare, or new, or has never been catalogued. So instead the program learns what ordinary looks like. It builds up a sense of the usual background from the bulk of the data, then flags whatever sits far from that background. The score it gives is a distance from normal, not a name.
There are several ways to do this. A program can learn to compress each observation into a short numerical summary and then rebuild it; things it rebuilds badly are things it has not seen the like of before. It can estimate how densely the data crowd together and flag whatever lands in an empty region. Or it can model the background physically and treat the leftovers as candidates. These summaries, often called representations, also let researchers lay out a whole archive on a map and look at the sparse edges.
Why scientists use it
Scientists use it where discovery is the point and the categories are not yet fixed. A survey telescope, a gene sequencer or a particle detector produces far more records than anyone can inspect, and the interesting ones are a vanishing fraction. A labelled classifier can only ever return the classes it was taught, so it quietly discards anything genuinely unfamiliar. Anomaly detection stands in for the human expert who skims a stack of readings and says: this one is strange, look again.
It is also useful as a filter in the other direction. Faults, instrument glitches and contaminated records are themselves anomalies against clean data, so the same method that proposes new discoveries can be turned round to clean a dataset before anything else is done with it.
In the record
Limits
Strange is not the same as important. Most of what a detector flags is a scratch on a lens, a bad calibration or a transcription error, and sorting those from real discoveries still takes an expert. The method is also hostage to its idea of normal: if the ordinary data were gathered unevenly, whole regions can look anomalous for dull reasons, while a genuine rarity that happens to resemble the background is missed. And because there is no label, the output can say only that something differs, never what it is.
Written by AIxSci: the background from general knowledge, the examples from checked records.
By field
Every article
aix-00238
Classifiers label individual TESS brightness readings as planet transits or not
aix-00204
Neural networks stand in for a slow model of interstellar gas clouds
aix-00100
Astronomers test pre-trained image models for sifting telescope alerts
aix-00042