Skip to content
AI Learning Ground Start learning

Research ·

PathFM: Fast Generative Forecasting of Multivariate Trajectories

PathFM is a flow-matching model that generates complete multivariate forecast trajectories instead of marginal quantiles, with a distilled one-to-two-step sampler enabling fast path ensembles and higher path-accuracy scores than baselines.

PathFM: Fast Generative Forecasting of Multivariate Trajectories
Image: Hugging Face

Researchers introduce PathFM, a trajectory-based time series forecasting model that uses flow matching to generate complete future paths. Most leading foundation models predict marginal quantiles, which leaves the dependence structure of future trajectories unspecified; this matters for trajectory-dependent quantities like cumulative demand, peak load, and event timing, which point and marginal scores do not reveal.

PathFM is distilled to one or two sampling steps and shares a history attention cache across draws, so generating multiple paths for a series takes roughly the time of one query to a quantile model. The distilled sampler also makes it practical to optimize a calibration loss directly. On benchmarks, PathFM places 3rd on fev-bench for marginal accuracy and achieves the highest path score on the new Forecast Path Score Bench (fps-bench), beating the strongest baseline TimesFM-3 by 10.6%. It generates 32 paths in 51.6 ms on an NVIDIA L4, and on chaotic systems sustains long-run variability more than 20 times longer than baselines while attaining the lowest average point-forecast error.

For builders, PathFM offers generative multivariate forecasting that is both competitive and practical: it captures temporal and cross-variable dependence and multi-mode futures that quantile models miss, with fast sampling suitable for downstream applications like ensemble forecasting. Model weights and code are coming soon, per the paper page.

References

Read the full story at Hugging Face ↗Like, save or discuss on Buzz

#research