arXiv:2610.22358cs.LGOct 2026

Manuscript Offprint

arXiv:2610.22358

PathFM: Fast Generative Forecasting of Multivariate Trajectories

Jiachen Yao, Xiyuan Zhang, Annan Yu, Boran Han, Abdul Fatir Ansari, Shuai Zhang, Michael Bohlke-Schneider, Bernie Wang

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.

1 INTRODUCTION

Time series foundation models (TSFMs) are a hot topic (Ansari et al., 2024; Das et al., 2023; Ansari et al., 2025; Jain & Sen, 2026; Cohen et al., 2025). The field is growing fast: Every year, new models are released that refresh the leaderboard. The models are commonly evaluated through point accuracy (e.g., MASE) and marginal probabilistic scores (e.g., CRPS, scaled quantile loss) (Aksu et al., 2024; Shchur et al., 2025). Consequently, most of the recent TSFMs are designed and trained to produce quantile levels, which are optimized for these benchmarks.

Point accuracy and marginal probabilistic scores are widely adopted for good reason: they provide an interpretable, per-step summary of forecast quality that directly supports common operational decisions such as inventory planning, resource allocation, and risk management. However, they do not capture all aspects of forecast quality. Other properties, particularly trajectory-dependent ones, are important but overlooked by these metrics. Among many, we illustrate two important aspects:

• Learning distributions with multiple modes: Quantiles are defined through the inverse of the cumulative distribution function (CDF) of the target distribution. These CDFs, however, are not always nice and smooth, for instance, when the target distribution has multiple modes or sharp peaks. With a few or a few dozens of quantiles, the resulting approximation of the CDF can be quite rough and suffer from a regression-to-the-mean issue (Yu et al., 2026). See the Lorenz oscillator example in Figure 1.

• Learning autocorrelation: Many quantile regression models predict marginal quantiles at individual time steps across a forecast window. These marginal outputs do not specify temporal

*Work done during an internship at Amazon.

†^{\dagger}Correspondence to: Xiyuan Zhang xiyuanz@amazon.com.

dependence among future values within that window. For instance, many forecasting problems also require learning trajectory-dependent quantities, such as cumulative demand, peak load, and threshold-crossing times (Perez-Diaz et al., 2025; Cai et al., 2026). See the solar-output example in Figure 1. A marginal quantile loss does not identify these joint properties.

Lorenz: long-term dynamics

(a) PathFM

Figure

(b) Chronos-2 FT

Solar: daily-peak uncertainty

Figure

(c) Continuing the forecast

(d) PathFM paths

Figure

(e) C2 independent

Figure

Figure

(f) C2 comonotone

(g) Daily maximum

Figure

Figure

PathFM C2 ind. C2 com.

Figure 1: Two advantages of trajectory generation. Left: a sampled Lorenz rollout sustains variability and a two-lobe structure, while the fine-tuned Chronos-2 trace contracts. Both use the dynamical models in Section 6. Gray Lorenz curves show the observed continuation. Right: solar-output paths from PathFM and independent (ind.) and comonotone (com.) completions of the Chronos-2 (C2) quantiles. Horizontal dashed lines mark each solar path's daily maximum; black denotes the observed future. In (g), boxes show medians and interquartile ranges across 32 paths, whiskers show the 10–90% range, and the dashed line marks the observed maximum.

Ad hoc methods have been proposed to mitigate these weaknesses, such as completing marginal quantiles under independence or comonotone assumptions (Perez-Diaz et al., 2025), or learning copula structures on top of marginal forecasts (Drouin et al., 2022; Ashok et al., 2024). On the other hand, diffusion- or flow-matching-based generative time-series models are naturally well-suited for capturing joint trajectory distributions even without these ad hoc methods, as they can generate complete future paths while maintaining temporal and cross-variable dependencies. Unfortunately, existing generative models (Kollovieh et al., 2025; Liu et al., 2025) achieve neither high marginal accuracy nor efficient sampling, limiting their practical utility in real-world forecasting scenarios. This leads us to ask:

Can we construct a generative time-series model that achieves both high marginal accuracy and efficient sampling while also preserving trajectory dependence?

We introduce PathFM to combine joint and multi-mode trajectory modeling with accurate marginal forecasting and efficient sampling. The model learns temporal and cross-variable dependence through conditional flow matching (Lipman et al., 2022), generating complete future paths conditioned on history and known future covariates. Parallel decoding distillation (Shaul et al., 2026) and history attention caching enable faster sampling with one or two model evaluations. To narrow the marginal accuracy gap, we add a calibration loss that directly optimizes fair CRPS on generated forecasts. The distilled sampler makes this optimization practical by allowing calibration gradients to pass through its short rollout and refine the forecast distribution.

With these components, PathFM-300M ranks second on the widely used fev-bench for marginal scores (Section 5). 1^{1} On Forecast Path Score Bench (fps-bench), which we curate to evaluate trajectory quality, PathFM ranks first for path scores (Section 5). In a separate evaluation on chaotic systems, our sampling approach improves point forecast accuracy upon the state-of-the-art PANDA model, captures useful temporal dependence, and preserves long-run variability more faithfully than baselines.

1^{1}Cutoff date for the rankings throughout this paper: Sept. 26, 2026; see Section A.1 for concurrent work.

(Section 6). These results demonstrate that PathFM generates high-fidelity trajectory forecasts without sacrificing marginal accuracy, making it a strong candidate for forecasting applications.

Our contributions are as follows:

  • Fast and calibrated trajectory generation. We introduce PathFM, a joint flow foundation model for fast, calibrated trajectory generation with accurate small-ensemble marginals (Figure 2). Distillation enables one- or two-step generation, marginal-CRPS refinement improves empirical coverage, and stratified sampling reduces finite-ensemble marginal error.

  • A benchmark for trajectory distributions. We introduce fps-bench, to our knowledge the first dedicated benchmark for evaluating path distributions from time series foundation models on real-world data. It reveals how strong marginal accuracy in existing models can mask errors in temporal dependence and uncertainty over trajectory-dependent quantities.

  • State-of-the-art performance. PathFM outperforms leading foundation models on downstream probabilistic forecasting tasks and stays among the top on marginal benchmarks. It also achieves the highest forecasting accuracy across strong baselines on chaotic systems.

References (82)