PathFM: Fast Generative Forecasting of Multivariate Trajectories
Organizations: California Institute of Technology · Amazon
Abstract
Time series foundation models are becoming increasingly popular for general-purpose forecasting. However, most leading models predict marginal quantiles, leaving the dependence structure of future trajectories unspecified. This distinction matters for trajectory-dependent quantities such as cumulative demand, peak load, and event timing, yet point and marginal scores do not reveal it. To model this dependence, we introduce PathFM, a trajectory-based forecasting model that uses flow matching to generate complete future paths. We further distill the model to one or two steps and share history attention cache across draws. Together, these enable PathFM to generate multiple paths for a single series in roughly the time needed for one query to a quantile model. The distilled sampler also makes it practical to optimize a calibration loss directly. PathFM achieves competitive marginal accuracy on the established forecasting benchmarks fev-bench and TIME. To complement these evaluations, we introduce Forecast Path Score Bench (fps-bench), which augments fev-bench tasks with energy and variogram scores and downstream metrics. PathFM achieves a higher aggregate path score on fps-bench than all evaluated external baselines. Experiments on chaotic systems further show that our flow model sustains long-run variability, while strong baselines rapidly collapse. PathFM makes generative time series forecasting both competitive and practical, enabling diverse downstream applications.
Figures & tables
| Model | Forecast object | NFE | Task compatibility | |||
|---|---|---|---|---|---|---|
| Pretrained | Marginal | Path | Cross-variable | |||
| Quantile models | ||||||
| Chronos-2 ( Ansari et al., 2025 ) | Marginal quantiles | 1 | ||||
| TimesFM-3 ( Jain & Sen, 2026 ) | Marginal quantiles | 1 | ||||
| Toto 2.0 ( Khwaja et al., 2026 ) | Marginal quantiles | 1 | ||||
| Flow models | ||||||
| sMAPE | Dynamics | |||||||
|---|---|---|---|---|---|---|---|---|
| Model | PSD | CD err. | Seg. analog | |||||
| Chronos-1 FT | 24.80 | 31.86 | 39.69 | 47.24 | 0.411 | 0.148 | 0.750 | 16.40 |
| Chronos-2 FT | 21.07 | 26.78 | 33.28 | 40.07 | 9.686 | 0.269 | 0.569 | 11.12 |
| PANDA | 19.09 | 24.42 | 31.94 | 41.22 | 0.588 | 0.195 | 0.537 | 10.03 |
| PathFM (Ours) | 16.45 | 21.52 | 27.43 | 34.50 | 0.251 | 0.061 | 0.273 | 4.80 |
| Held-out truth | — | — | — | — | 0.047 | 0.014 | 0.055 | 1.00 |
Appendix figures & tables18 assets
Supplementary material from the paper’s appendix.
Appendix
| Stage | Updates | Peak learning rate | Warmup | EMA decay |
|---|---|---|---|---|
| Flow matching | 2,000,000 | 2,000 | 0.9999 | |
| Terminal decay (WSD) | 100,000 | — | 0.9999 | |
| PDD | 100,000 | 500 | 0.999 | |
| PDD + fair CRPS | 100,000 | — | 0.999 |
| Cumulative change | NFE | FEV | FPS | |
| R0 | Flow matching with clean target | 10 | 0.4314 | 0.4379 |
| R1 | + Velocity prediction | 10 | 0.4311 | 0.4216 |
| R2 | + Time modulation, zero-init head, QK norm, weight decay | 10 | 0.4468 | 0.4960 |
| R3 | + History-only attention | 10 | 0.4356 | 0.5008 |
| R4 | + Two flow-free entry blocks | 10 | 0.4381 | 0.5088 |
| R5 | + Four packed training draws | 10 | 0.4402 | 0.5076 |
| FEV | FPS | GIFT-Eval | TIME | |||
| Model | Skill | Skill | MASE | CRPS | MASE | CRPS |
| TimesFM-3 | 0.4900 | 0.4871 | — | — | 0.6398 | 0.5363 |
| Chronos-2 | 0.4728 | 0.4699 | 0.6978 | 0.4854 | 0.6620 | 0.5563 |
| TiRex-2 | 0.4550 | 0.4586 | 0.6973 | 0.4781 | — | — |
| Toto-2.0-2.5B | 0.4442 | 0.4261 | 0.6956 | 0.4759 | 0.6419 | 0.5394 |
| TiRex | 0.4258 | 0.4220 | 0.7158 | 0.4885 | 0.6831 | 0.5731 |
| Nine quantiles (ms) | Paths (ms) | ||||
|---|---|---|---|---|---|
| Model | Params. (M) | Batch 1 | Batch 16 | Batch 1 | Batch 16 |
| PathFM, one evaluation | 126.3 | 51.7 | 215.3 | 51.6 | 215.2 |
| PathFM, two evaluations | 126.3 | 96.4 | 403.2 | 96.4 | 403.3 |
| Chronos-2 | 119.5 | 21.8 | 66.6 | 22.5 | 72.9 |
| TimesFM-3 | 330.7 | 160.0 | 508.2 | 160.6 | 515.1 |
| Toto-2.0-2.5B | 2,454.3 | 198.3 | 1,482.6 | 199.0 | 1,489.5 |
| Score | Distance or transformation |
|---|---|
| Energy (ES) | |
| Differenced ES (DES) | , where |
| Variogram (VS) | Squared errors in expected temporal contrasts, Equation 14 |
| Sum CRPS | |
| Max CRPS | |
| First-passage CRPS | in original units, Equation 15 |
| Forecast | Completion | ES | DES | VS | Sum | Max | FPT | FPS skill |
|---|---|---|---|---|---|---|---|---|
| TimesFM-3 | Independent | 0.4913 | 0.3437 | 0.5998 | 0.5032 | 0.3966 | 0.5455 | 0.4871 |
| TimesFM-3 | Comonotone | 0.4757 | 0.3650 | 0.4894 | 0.5049 | 0.3435 | 0.5462 | 0.4590 |
| Chronos-2 | Independent | 0.4783 | 0.3255 | 0.5901 | 0.4797 | 0.3805 | 0.5224 | 0.4699 |
| Chronos-2 | Comonotone | 0.4616 | 0.3590 | 0.4818 | 0.4862 | 0.3331 | 0.5148 | 0.4434 |
| TimesFM-2.5 | Independent | 0.4645 | 0.3164 | 0.5893 | 0.4818 | 0.3687 | 0.5135 | 0.4632 |
| TiRex-2 | Independent | 0.4608 | 0.3201 | 0.5790 | 0.4663 | 0.3678 | 0.5165 | 0.4586 |
| Forecast | Copula | VS |
| No task-specific fitting | ||
| Chronos-2 | Independent | 0.1491 |
| Chronos-2 | Comonotonic | 0.1648 |
| TimesFM-3 | Independent | 0.1446 |
| TimesFM-3 | Comonotonic | 0.1609 |
| Toto-2.0-2.5B | Independent | 0.1560 |
| Forecast | Copula | FPS |
| No task-specific fitting | ||
| Chronos-2 | Independent | 0.4699 |
| Chronos-2 | Comonotonic | 0.4434 |
| TimesFM-3 | Independent | 0.4871 |
| TimesFM-3 | Comonotonic | 0.4590 |
| Toto-2.0-2.5B | Independent | 0.4261 |
| sMAPE | Dynamics | |||||||
|---|---|---|---|---|---|---|---|---|
| Model | PSD | CD err. | Seg. analog | |||||
| PANDA | 19.09 | 24.42 | 31.94 | 41.22 | 0.588 | 0.195 | 0.537 | 10.03 |
| PathFM-75M | 16.94 | 22.16 | 28.22 | 35.37 | 0.263 | 0.063 | 0.286 | 5.07 |
| PathFM-126M | 16.45 | 21.52 | 27.43 | 34.50 | 0.251 | 0.061 | 0.273 | 4.80 |
| Model | Sampler | NFE | ||||
|---|---|---|---|---|---|---|
| PathFM-75M | Euler | 1 | 20.99 | 26.44 | 32.97 | 41.27 |
| Euler | 2 | 17.81 | 23.56 | 30.23 | 37.34 | |
| Euler | 10 | 16.94 | 22.16 | 28.22 | 35.37 | |
| PDD100k | 1 | 17.62 | 22.89 | 29.02 | 36.31 | |
| PDD100k | 2 | 17.17 | 22.44 | 28.55 | 35.69 | |
| PathFM-126M | Euler | 1 | 20.14 | 25.43 | 31.88 | 40.14 |
Time Series Forecasting
Time series forecasting predicts future values from ordered observations using statistical, neural, and probabilistic models to support decisions under uncertainty.
See all 861 papers