PathFM: generating complete time series trajectories through flow matching
New time series models have gotten better at predicting future values, but most of them work with marginal quantiles and ignore dependencies between variables across a trajectory. For tasks like forecasting aggregate demand, peak load, or the timing of events, that's not enough. PathFM tackles the problem with a generative approach built on flow matching: the model creates complete paths for how a time series evolves, rather than isolated points. The Autogluon team distilled the model down to one or two steps and optimized it for fast generation of multiple paths. The result is the generation of 32 independent trajectories in the time it takes a standard quantile method to handle a single query. • **3rd place on fev-bench**: competitive accuracy for marginal forecasts on the standard benchmark • **10.6% advantage on fps-bench**: the highest aggregated path score among all baselines, including TimesFM-3 • **51.6 ms for 32 paths**: GPU acceleration on an NVIDIA L4 enables near real-time ensemble generation
AI-processed from Hugging Face Daily Papers; edited by Hamidun News
Time series foundation models are becoming the standard for universal forecasting, but they leave out critical information about the dependency structure of future trajectories. Most leading solutions — like TimesFM-3 — predict marginal quantiles for each variable separately, without accounting for their joint behavior or temporal correlations. That creates a problem for applied tasks that require a full picture of how things unfold: forecasting aggregate demand, peak network load, or the timing of events.
Autogluon researchers have proposed an alternative approach called PathFM, a generative forecasting model that produces complete multivariate trajectories. Instead of outputting individual points or quantiles, the model uses flow matching to generate realistic paths for how a series develops, preserving all the inherent dependencies and variability.
Architecture and optimization
PathFM relies on flow matching, a method that transforms a simple distribution into a complex one through a reversible process. The key innovation is distillation: the researchers compressed the model down to one or two computation steps and implemented a history attention cache for reuse when generating multiple paths. That made it possible to achieve speeds comparable to a single quantile-model query, but for producing dozens of independent trajectories.
The model is also optimized directly through a calibration loss — a loss function aimed at calibrating uncertainty, something that isn't available to models working with individual quantiles.
Benchmark results
PathFM was evaluated on the standard fev-bench and TIME benchmarks. On fev-bench, the model achieved competitive accuracy for marginal forecasts, placing third. However, its main achievements show up on a new benchmark called Forecast Path Score Bench (fps-bench), which the researchers designed specifically to evaluate trajectory quality.
fps-bench extends fev-bench's tasks with additional metrics: energy score and variogram score, which measure how well a model reproduces the joint distribution and spatial variability. On the aggregated path score, PathFM outperformed every tested solution, including TimesFM-3, by 10.6%.
Speed and practicality
On an NVIDIA L4 GPU, PathFM generates 32 complete paths in 51.6 milliseconds. That makes ensemble methods practical: previously, generative approaches required either expensive computation or compromises on quality.
Behavior on chaotic systems
A dedicated test on chaotic systems showed that the flow-matching approach has a unique property: the model sustains long-term variability 20 times longer or more than baseline methods, while also achieving the lowest average point-forecast error. Other strong models quickly lose randomness and collapse their forecasts toward averaged values.
PathFM opens up a new class of applications: from supply chain management that accounts for the full demand distribution to load management systems in the energy sector, where it's necessary to anticipate not just the average but the entire range of possible scenarios. The authors — Jiachen Yao, Xiyuan Zhang, Annan Yu, Boran Han, Abdul Fatir Ansari, Shuai Zhang, Michael Bohlke-Schneider, and Bernie Wang — promise to release the model weights and source code soon.
Key Questions Answered
What are the key details on Architecture and optimization?
PathFM relies on flow matching, a method that transforms a simple distribution into a complex one through a reversible process. The key innovation is distillation: the researchers compressed the model down to one or two computation steps and implemented a history attention cache for reuse when generating multiple paths. That made it possible to achieve speeds comparable to a single quantile-model query, but for producing dozens of independent trajectories. The model is also optimized directly through a calibration loss — a loss function aimed at calibrating uncertainty, som
What are the key details on Benchmark results?
PathFM was evaluated on the standard fev-bench and TIME benchmarks. On fev-bench, the model achieved competitive accuracy for marginal forecasts, placing third. However, its main achievements show up on a new benchmark called Forecast Path Score Bench (fps-bench), which the researchers designed specifically to evaluate trajectory quality. fps-bench extends fev-bench's tasks with additional metrics: energy score and variogram score, which measure how well a model reproduces the joint distribution and spatial variability. On the aggregated path score, PathFM outperformed ever
What are the key details on Speed and practicality?
On an NVIDIA L4 GPU, PathFM generates 32 complete paths in 51.6 milliseconds. That makes ensemble methods practical: previously, generative approaches required either expensive computation or compromises on quality.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.