use case · multi-model · Granite PatchTST (0.77 MB) → Mistral Timestral-5M (21.2 MB) · ~22 MB total

Head-to-Head Multivariate vs Probabilistic Forecaster Ensemble

Run two distinct time-series foundation architectures side-by-side in isolated CPU WebAssembly workers on the exact same 512-step lookback window: Stage 1 (IBM Granite PatchTST, 0.77 MB q8, Apache-2.0) forecasts all 7 channels × 96 steps; Stage 2 (Mistral Timestral-5M, 21.2 MB fp32, reusing timestral-5m/worker.js with zero weight duplication) forecasts the focused channel's full 21-quantile uncertainty fan (p05..p95) over the next 32 steps, overlays both curves, measures agreement/divergence and holdout MAE, and builds a 50/50 ensemble.

1 · Two isolated WASM workers (~22 MB combined)

Stage 1 · IBM Granite PatchTST (0.77 MB q8)

onnx-community/granite-timeseries-patchtst · 7-ch 96-step Patch-12 · Apache-2.0

Stage 2 · Mistral Timestral-5M (21.2 MB fp32)

Shared timestral-5m/worker.js · onnx-community/Timestral-5M-ONNX · 21-quantile fan · Mistral Modified MIT ($20M/mo cap)

2 · Run Stage 1 (Granite PatchTST) → Stage 2 (Timestral-5M) Head-to-Head

Prepare Stage 1 (Granite PatchTST) and Stage 2 (Timestral-5M) above to compare both models head-to-head.

PatchTST MAE (+32)—
Timestral MAE (+32)—
50/50 Ensemble MAE—
Mean |PT − TM|—
PT inside 80% / 95%—
Stage 1 + Stage 2 ms—

3 · Step-by-Step Agreement & Divergence Table (Horizon +1..+32)

Step Actual PatchTST Timestral p50 Ensemble [p10, p90] PT − TM
Run both stages above to populate the step-by-step ensemble comparison.

Stage 1 weights: ibm-granite/granite-timeseries-patchtst via onnx-community/granite-timeseries-patchtst (Apache-2.0, 0.77 MB q8). Stage 2 weights: mistralai/Timestral-5M via onnx-community/Timestral-5M-ONNX — Mistral Modified MIT License ($20M/month global consolidated company revenue cap; attribution notice: 2026 - Mistral AI). CSV exports neutralize spreadsheet formulas per OWASP.