R. FitzRoy.Storm signals. 1863.
HEPA
A Self-Supervised Horizon-Conditioned Event Predictive Architecture for Time Series
- Authors
- Jonas Petersen, Gian-Alessandro Lombardi, Riccardo Maggioni, Camilla Mazzoleni, Federico Martelli, Philipp Petersen
- Affiliations
- ETH Zürich · Forgis · University of Vienna
- Venue
- FMSD @ ICML · Spotlight
- Benchmarks
- 14
- Domains
- 11
- Smaller finetune
- 11×
- Perf @ 2% labels
- 92%
Overview
Critical events in multivariate time series, from turbine failures to cardiac arrhythmias, demand accurate prediction. Labels are scarce because the events themselves are rare and costly to annotate. Current methods couple the event definition to the model architecture: remaining-useful-life models never see anomaly benchmarks; anomaly detectors never forecast time-to-failure. Yet all these tasks share the same structure: given observations up to time t, estimate the probability of an event within each future horizon Δt.
HEPA exploits this structural uniformity with a separation of concerns. A causal Transformer encoder is pretrained via a Joint-Embedding Predictive Architecture (JEPA), forecasting future representations from unlabeled data alone. The encoder is then frozen and only the predictor is finetuned alongside a tiny event head that emits a discrete-time survival CDF, monotonically non-decreasing in the prediction horizon by construction. The encoder learns what changes; the predictor learns what matters.
Four design choices
HEPA is defined by four choices that together yield a label-efficient, domain-agnostic event predictor.
Future representations, not values
The encoder is trained to predict future representations rather than reconstruct future observations. The latent space retains what is predictable and discards noise and event-irrelevant variation.
Freeze encoder, tune 198K params
Standard JEPA discards the predictor and probes the encoder. HEPA instead keeps the predictor and finetunes it toward the downstream event — 11× fewer parameters than end-to-end training, more expressive than a linear probe.
Discrete hazards compose to CDF
Per-horizon hazards λΔt compose into a survival product p(t, Δt) = 1 − ∏(1 − λj). The event probability is monotonically non-decreasing in the horizon by construction — no calibration trick required.
One surface, every metric
The probability surface p(t, Δt) is the complete prediction. RMSE, F1, and PA-F1 are lossy projections of it. h-AUROC, the mean per-horizon AUROC, is threshold-free and robust to the extreme prevalence shifts within a single surface.
Headline results
HEPA wins 9 of 14 benchmarks at 100% labels under a matched protocol: all encoders frozen, all methods sharing the same horizon-conditioned MLP head, positive-weighted BCE, and evaluation splits. Baselines include PatchTST and iTransformer (supervised end-to-end), MAE (same architecture as HEPA but reconstruction-pretrained), and Chronos-2 (119M-parameter foundation model pretrained on a large external corpus).
| Benchmark | Domain | HEPA | PatchTST | MAE | Chr-2 |
|---|---|---|---|---|---|
| TEP | Chemical process | 1.00 | 0.99 | 0.96 | — |
| Weather | Heat spike | 0.89 | 0.64 | 0.88 | 0.72 |
| GECCO | Water contamination | 0.88 | 0.65 | 0.80 | 0.74 |
| C-MAPSS-3 | Turbofan multi-fault | 0.84 | 0.79 | 0.79 | 0.73 |
| C-MAPSS-1 | Turbine failure | 0.81 | 0.80 | 0.69 | 0.66 |
| ETTm1 | Transformer overheating | 0.81 | 0.53 | 0.87 | 0.74 |
| Beijing-AQ | PM2.5 spike | 0.81 | 0.81 | 0.81 | 0.53 |
| MBA | Cardiac arrhythmia | 0.75 | 0.68 | 0.71 | 0.53 |
| SMD | Server anomaly | 0.64 | 0.64 | 0.64 | 0.65 |
| C-MAPSS-2 | Multi-condition | 0.57 | 0.44 | 0.57 | 0.45 |
| VIX | Volatility regime | 0.57 | 0.48 | 0.56 | 0.40 |
| BATADAL | SCADA cyberattack | 0.57 | 0.66 | 0.60 | 0.56 |
JEPA pretraining captures temporal structure that supervised value forecasting (PatchTST) and reconstruction-based SSL (MAE) miss, particularly on datasets with extended precursor dynamics (C-MAPSS, GECCO). MAE is a strong runner-up on gradual-drift failure modes (ETTm1, SMAP), and large-corpus pretraining (Chronos-2) helps when event signatures resemble patterns it has seen at scale. We report all losses honestly: iTransformer wins on MBA where per-variate attention isolates arrhythmia-relevant leads, and PatchTST wins on BATADAL where events are localised to specific sensor subsets that channel fusion dilutes.
Label efficiency
On lifecycle datasets, where JEPA pretraining achieves low loss, HEPA degrades gracefully under severe label scarcity. C-MAPSS-1 retains 92% of full-label performance with only 2 labelled engines out of 85.
| Dataset | 100% | 10% | 5% | 2% | 1% |
|---|---|---|---|---|---|
| C-MAPSS-1 (85 engines) | 0.786 | 0.772 | 0.730 | 0.724 | 0.670 |
| C-MAPSS-1 (retention) | 100% | 98% | 93% | 92% | 85% |
| C-MAPSS-3 (100 engines) | 0.853 | 0.830 | 0.709 | 0.635 | 0.513 |
| C-MAPSS-3 (retention) | 100% | 97% | 83% | 74% | 60% |
Why it works
Proposition 1 formalises the recipe: under mild assumptions, the event information retained by the frozen encoder is lower-bounded by the event information in the target representation, minus a penalty that scales linearly with the pretraining loss ε. The bound makes a falsifiable prediction: lower pretraining loss should imply stronger downstream performance. Across 17 datasets spanning industrial, environmental, medical, weather, energy, and finance domains, the empirical trend matches (slope = −2.3).
The visual signature is striking. After self-supervised pretraining on C-MAPSS-1, the encoder organises its latent space into a smooth degradation manifold without ever seeing a label — the first principal component captures 61% of variance and correlates with time-to-failure. The 10 longest-lived engines all converge toward a shared failure region. The downstream predictor only has to map these states to event probabilities, which is why so few labels suffice.
Getting started
Citation
@misc{petersen2026hepa,
title = {HEPA: A Self-Supervised Horizon-Conditioned
Event Predictive Architecture for Time Series},
author = {Petersen, Jonas and Lombardi, Gian-Alessandro and
Maggioni, Riccardo and Mazzoleni, Camilla and
Martelli, Federico and Petersen, Philipp},
year = {2026}
} Papers
Are you a researcher?
Publish with us.
Help build one world model for any machine and robot.
P - 6.2 bar (Pressure)
RH - 48 % (Humidity)
A - 0.32 g (Acceleration)
V - 1.8 mm/s (Vibration)
RPM - 1450 (Speed)
τ - 92 Nm (Torque)
U - 400 V (Voltage)
I - 18.6 A (Current)
Pwr - 11.2 kW (Power)
E - 7.4 kWh (Energy)
S - 72 dB (Sound)
US - 38 kHz (Ultrasound)
Prox - ON Proximity)
Dist - 42 mm Distance)
Enc - 12480 Position)
CS - 0.85 m/s Conveyor)
Part - TRUE Presence)
CT - 4.2 s Cycle)
TPH - 860 u/h Throughput)
Scr - 1.3 % Scrap)
DT - 3.6 min/h Downtime)
OEE - 78 % Efficiency)
ΔT – 5 °C/min (°C/min · termical gradient)
N – 1245 pcs (pieces unit counting)
W – 12.5 kg (kg · load)
cosφ – 0.92 (adimensional)
L – 850 lux
CO₂ – 820 ppm (ppm · gas concentration
Forgis builds the world model that brings physical intelligence into hardware.