Causal Anomaly Detection from Multivariate Time Series
Faults in complex systems often hide inside normal ranges: every sensor looks fine, but the relationship between them has changed. I learned causal graphs from healthy data, tracked the regression coefficients along those links with recursive least squares, and raised an alarm when they drifted. Three causal-discovery algorithms, three regression models and three real-world domains: 27 configurations under one fair pipeline.
0.81 vs 0.71
AUC-ROC on ECG data: causal detection beat the best tuned neural network.
When, not whether
Where a simple threshold already catches the faults, structure adds little. Where it fails, causal structure helps most.
9 of 9
configurations named the documented sensor in a robot attack: the explanation points at what broke, not at what moved most.
- Learn the causal graph
- Fit a healthy baseline
- Track coefficients with RLS
- Score the drift
- Explain the alarm
Robotics: SoftBank Pepper, 244 sensors · Cardiology: PTB-XL, 12-lead ECG · Industry: Tennessee Eastman process, 52 variables
- Python
- PCMCI
- GES
- CAM-UV
- Recursive least squares
- SHAP
- LSTM · TCN · Transformer