Predictive Anomaly Detection in Aviation Telemetry
Catching mechanical drift across 64 sensor channels before it becomes a fault — by learning what normal flight looks like and measuring how far reality has moved from it.
How it came together
Results
- 192.5% accuracy and 0.857 precision on the Numenta Anomaly Benchmark (161 windows, 17 labeled anomalies) — an external labeled benchmark, used because NGAFID itself has no anomaly timestamps
- 2ROC-AUC ≈ 0.69 and PR-AUC ≈ 0.46 — strong for a fully unsupervised method on noisy, real-world flight data
- 3A tunable operating point: a high threshold gives very high precision (0.86, fewer false alarms), a low threshold gives very high recall (0.76, earlier warnings)
- 4Percentile thresholds held recall steady (~0.41) across settings — evidence the anomaly signal is consistent rather than an artifact of one threshold
- 5Roughly 7,000 30-step sliding windows across 64 sensor channels from pre- and post-maintenance flights, with the One-Class SVM trained only on post-maintenance (healthy) data
- 6EXAMM evolved LSTM, GRU, and Delta-RNN forecasters for next-timestep prediction on every sensor; the resulting prediction-error vectors gave a sharper, sensor-specific signal than raw readings
- 7DBSCAN turned those error windows into interpretable prototype boxes (centroid ± percentile half-width), and its low-density noise windows lined up with known or suspected anomaly periods
- 8Every flag comes with an explanation — z-score heatmaps, per-sensor deviation rankings, and window-level error traces show which instruments (RPM, altitude, EGT, fuel flow) drove it
- 9Detects gradual, cross-sensor drift at the subsequence level — the pattern that precedes mechanical failure — rather than isolated point anomalies
Stack
- Python
- PyTorch
- EXAMM
- scikit-learn
- CUDA
- NumPy
- pandas
Inside the build
One flight, before maintenance — sensor correlations (e.g. E1 RPM ↔ IAS at 0.86).
Same aircraft, after maintenance — those same correlations tighten (E1 RPM ↔ IAS rises to 0.91), which is the kind of shift the pipeline is built to catch.
Each window covers 30 seconds of flight data, and a new window starts every 5 seconds — so consecutive windows overlap by 25 seconds. That heavy overlap is deliberate: a single 30-second slice barely moves between windows, so a slow multi-channel drift shows up as a steady change across many windows in a row, instead of getting missed between two coarser, non-overlapping ones.