Can on-chain anomaly detection warn of crypto crashes in advance?
Not in our data. An Isolation Forest on four features of bitcoin blocks flagged unusual activity before about two of seventeen Asia-Pacific crypto shocks since 2013 — and the same procedure flags as many at random dates with no shock at all. Once that false-alarm rate is accounted for, no event stands out, and the anomaly score does not forecast bitcoin volatility either.
The claim
Machine-learning anomaly detection on the blockchain is often pitched as an early warning system: unusual transactions should show up before an exchange collapse, a hack or a crackdown hits the price. Şahin scores every bitcoin block with an Isolation Forest on four features — transaction density, fee pressure, the share of very large outputs and the imbalance between inputs and outputs — around seventeen Asia-Pacific shocks, from exchange failures to regulatory bans, and tests whether scores were higher in the ten days before each event than in the ten days after.
What we tested
We rebuilt the block features and the forest from the author’s description and code, and checked our results against the paper’s table. Then, before looking at the events, we ran the identical procedure in hundreds of 80-day windows with no known shock, to learn how often it raises a flag by chance. We also tried a version usable in real time — a forest trained only on the previous year — and asked whether the daily score predicts bitcoin’s realized or implied volatility over one to five days beyond a standard volatility model.
Result
Our event-by-event results tracked the paper’s closely (rank correlation 0.94), so the pipeline was right. The test was not: on quiet windows a check meant to fire 5% of the time fired 13.7% of the time, because the score is strongly persistent from day to day, and it produced on average two to three “significant” events out of seventeen — the paper’s count. After calibration none of the seventeen stood out, and across events the pre-shock score was, if anything, slightly lower than the post-shock score. The real-time version showed no clear rise before shocks, and the score was unrelated to volatility even on the same day.
What it means
Bitcoin’s blockchain records how coins move, not what traders are about to do. The anomalies an Isolation Forest finds are real features of blocks, but they arrive with the same frequency whether or not a crash follows.
What would change the verdict
Features closer to the events — flows to and from the exchanges involved rather than block-wide aggregates — or many more events would give the idea a fairer test; a moderate pre-shock rise is not ruled out by this one.
This note re-tests a claim made by the cited authors on our own crypto market data; the summary of their method is ours. Tested · published · last reviewed . Research, not investment advice.