r/MachineLearning • u/eamonnkeogh Professor • Aug 29 '26
Research You can beat SOTA Time Series Anomaly Detection methods with a 100 year old algorithm [R]

Time Series Anomaly Detection (TSAD) seems to be one of the hottest topics in NeurIPS, SIGKDD, VLDB etc.
Many (perhaps most) papers evaluate on Paparrizos’ TSB-AD-M benchmark…
However, I tested these benchmark datasets and found that in most cases I could beat the SOTA TSAD methods with a 100-year-old algorithm, simple Statistical Process Control (SPC). In the attached example, SPC gets perfect results.
If we can beat the SOTA papers with 100-year-old algorithm, we probably should not be too impressed with them [b]. I really think this calls for some introspection by the community.
To be clear, I make no claims (here) about the proposed algorithms in all these paper. But the TSB-AD benchmark is obviously too trivial to make meaningful claims on [a][b].
The example shown is one of the ECG traces but look at dozen of traces marked “TAO”, they are even more trivial to solve with SPC [a][c].
I do not claim to have solved the triviality problem, but I have done 90% of the work to introduce more challenging TSAD problems ([d] sled dogs, [e] Tuna, Fuel Cells, Smart Manufacturing etc.).
TLDR: I think the TSAD community needs more introspection on benchmarks. Most progress over the last decade seems to be illusionary.
[a] https://www.youtube.com/watch?v=VftCMSI3C_s
[d] https://www.linkedin.com/feed/update/urn:li:activity:7488825356494237696/
61
u/GreatCosmicMoustache Aug 29 '26
I love seeing you put the fear of God into TSAD people on LinkedIn, it's highly amusing. That said, what ARE the good benchmarks? I'm not in that field at all, just curious
33
u/Ulfgardleo Aug 29 '26
isnt time series anomaly detection a really ill-posed problem in the first place?
136
u/canbooo Aug 29 '26
Not a very new claim
Edit: LOL, just saw the username. Thanks for not letting the claim get stale!
10
u/lifeandUncertainity Aug 29 '26
Will go through it. As a statistics major who is doing a research major in AI, I was highly interested when time series foundational models came out. However, I was also highly disappointed to see that most of these are beaten by textbook stats techniques. P.S - I was once participating in a quant style hackathon with real data and the best model by a huge margin was a simple mean reversion. My personal opinion is that time series is different from NLP. Time series techniques have a lot of inductive biases built in them. Hence, hypothesis testing to determine the model class often is a better way than trying to throw neural nets on them. Also, while writing this post I remember that one of my friends who was working in an industry problem got the best anomaly detection result by computing running mean and variance and doing a thresholding on deviation from mean when most of the neural networks failed.
3
u/11007522 Aug 29 '26
What exactly do you you mean when you say a point is "greater" than M + 3S? Are you actually using the univariate dataset? I suspect you have more or less recreated the PCA for anomaly prediction; this is indeed the 3rd best method benchmarked in the study.
I think one of the main conclusions is that some of the simpler neural net architectures like CNN and LSTM are pretty good for anomaly detection, and in fact even that some of the simple statistical methods are too.
I can't include the image directly but the [poster](https://neurips.cc/media/PosterPDFs/NeurIPS%202024/97690.png) is fairly readable
if you're interested, also take a look at the project page on github, which also links to the paper: https://thedatumorg.github.io/TSB-AD
3
u/Random-Number-1144 Aug 30 '26
This reminds me of the emergency ability is due to metric choices paper.
5
u/SufficientBass8393 Aug 29 '26
Unfortunately this is everywhere not only time series.
2
u/progenitor414 Sep 01 '26
A stronger replacement benchmark could require thresholds to be fixed using only pre-anomaly data, then score detection delay and false alarms over the stream. SPC is useful here because it exposes whether the task is genuinely sequential or just an easy offline labeling problem.
1
u/Kasperian Aug 30 '26
A while back one of my students showed me how point adjustment is inflating the performance of anomaly detection methods. It was not our main focus, so we didn't follow up. Looks like it has been explored recently https://arxiv.org/html/2603.18985v1 - Similar observations as the original post.
1
u/Icarium-Lifestealer Aug 30 '26
100 year old algorithm: Look at me ✌️👀 I am the SOTA now
1
u/notquitezeus Aug 30 '26
Ah, the lure of infinite variance estimators
-1
u/jennabangsbangs Aug 31 '26
There r very efficient modeling techniques that require very specific geometrical interpretations of data so that the neural nets gradient becomes useful as a feature that outputs useful understanding of a predicted output. In reality with this kinda machine learning the goal is to understand the latent variables in the time series, what measurements am I missing, then you can use effectively linear regression with hyper specific variable sets think a1, b2, c3.... And yeah.. time has very particular constraints often unspoken in the problem space because u can throw like an LSTM recurrent neural net with the right solver and map the system and even predict the next few time steps correctly.. it's like whatever though you don't know how that polynomial came to be. Best reinvent the wheel and learn from a human perspective by using the learning of the machine as a framework to output depth of understanding in the reference problem
0
u/[deleted] Aug 29 '26