How Time-Series Forecast Lab Works
Compare three contrasting neural time-series families side-by-side on the exact same lookback window —
including interactive shock, trend-shift, and missing-value stress tests — strictly on your CPU.
1. Mistral Timestral-5M (Probabilistic Fan)
Timestral-5M (21.2 MB fp32, ONNX Runtime Web
1.21.0) applies causal Welford asinh normalization, native missing-mask
attention over NaN dropouts, and symmetric [+x, -x] sign-flip ensembling to predict 21
calibrated quantiles per step (direct 32-step pass; 3×32 autoregressive rollout for 96-step horizons).
2. IBM Granite PatchTST (Patch-12 Transformer)
Granite PatchTST (0.77 MB q8,
Transformers.js 3.7.5, Apache-2.0) slices a 7-channel 512-step context into 42 non-overlapping Patch-12
tokens and projects all 96 future steps in one forward pass (~12 ms CPU WASM).
3. IBM Granite PatchTSMixer (0.29 MB MLP-Mixer)
onnx-community/granite-timeseries-patchtsmixer (0.29 MB int8, Transformers.js
3.7.5, Apache-2.0) replaces quadratic self-attention with a 2-layer gated MLP-Mixer across 32 Patch-16
tokens (d_model: 48, expansion_factor: 3) — forecasting 7 channels × 96 steps
in ~2–16 ms on CPU WASM.