Manuscript Offprint

arXiv:2610.00976

Variational Streaming Flow: Probabilistic Forecasting in Physical Time

Hans Hao-Hsun Hsu, Minseon Gwak, Soon Hoe Lim, Pan Li, N. Benjamin Erichson

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Probabilistic forecasting is important for predicting complex dynamical systems because intrinsic randomness and incomplete observations can cause the same observed state to evolve into multiple plausible futures. While flow matching is a flexible approach for probabilistic forecasting, it is computationally expensive. Streaming flow (SF) reformulates this approach to model temporal evolution efficiently by learning a continuous velocity field directly in physical time. However, SF learns a deterministic velocity field. Thus, it provides only a single future trajectory for a given fixed initial state and observation history. To overcome this limitation, we introduce Variational Streaming Flow (VSF). Our approach learns a latent distribution that is conditioned on the dynamics of interest. In turn, this enables probabilistic forecasting. Importantly, we retain the computational efficiency of SF by generating in physical time. Across deterministic and stochastic dynamical systems, VSF demonstrates superior predictive accuracy and distributional fidelity. We demonstrate the advantage for both long-horizon rollouts exceeding 1,000 steps, and settings with bifurcating dynamics. Moreover, VSF can be integrated into existing Joint-Embedding Predictive Architecture (JEPA)-based world models as a plug-and-play predictor to improve temporal dynamics and goal-directed success rate in navigation, motion planning, and manipulation. Our code is available at https://github.com/hans66hsu/VSF-forecasting.

Correspondence: shlim@kth.se; panli@gatech.edu; and erichson@lbl.gov

Figure

Figure 1 Our variational streaming flow approach obtains lower forecasting error over long rollouts than standard streaming flow. Left: continuous ranked probability score (CRPS) on the deterministic double pendulum. Right: energy distance (ED) on the partially observed Rössler system.

∗^{*}Work done while visiting ICSI/UC Berkeley.

Figure

Figure 2 VSF can serve as a predictor in a JEPA-based world model. We replace the deterministic autoregressive predictor with an action-conditioned VSF predictor while keeping the JEPA encoder and CEM planner fixed. The encoder maps the current and goal observations into latent space. For each action sequence, VSF samples multiple latents and rolls out future trajectories. CEM compares the predicted terminal states with the goal representation and uses these costs to select a plan.

1 Introduction

Forecasting dynamical systems over long horizons remains challenging. Even when the dynamics are deterministic, small measurement or prediction errors can compound over a long rollout (Zhang & Gilpin, 2025). Predicting the entire future trajectory at once can avoid this recursive error accumulation, but this becomes an increasingly difficult learning task as the forecast horizon grows. Many real-world systems are also stochastic, which means that there can be many different future trajectories for the same sequence of observations (Pfister et al., 2026). For example, in weather forecasting (Feng & Fu, 2013; Sandu et al., 2019; Price et al., 2025), unresolved atmospheric processes can lead to different storm tracks from similar observations. In these settings, predicting just a single trajectory is insufficient for forecasting or planning. This motivates probabilistic forecasts that represent a distribution over possible futures (Chua et al., 2018; Porcher et al., 2026).

Flow matching provides a flexible way to learn probabilistic forecasts over entire future trajectories (Lipman et al., 2024; Kollovieh et al., 2025); see App. A for related work. However, generating a forecast requires integrating a learned vector field along an auxiliary flow time that is separate from the physical evolution of the system. Streaming and physical-time formulations instead evolve the predicted state directly through physical time, making long-horizon forecasting more efficient (Jiang et al., 2025; Liu et al., 2026). However, a standard non-latent physical-time model with a deterministic velocity field produces only one future from a fixed observed state.

To address this limitation, we introduce Variational Streaming Flow (VSF), a probabilistic extension of physical-time flow forecasting. VSF augments the physical-time velocity field with a latent variable that is sampled once for each forecast and kept fixed throughout the rollout. This preserves the computational efficiency of streaming flow (SF) while improving long-horizon forecasting accuracy, as shown in Fig. 1. Different latent samples can also generate different future trajectories from the same observed state, allowing VSF to represent multiple possible futures. During training, we use an encoder to infer the latent variable from the observed future transition and regularize its distribution toward a fixed prior (Guo & Schwing, 2025; Eijkelboom et al., 2024). At inference, we only need to sample a latent from the prior and keep it fixed throughout the rollout.

We evaluate VSF on deterministic and partially observed stochastic dynamical systems, including chaotic systems and settings with branching futures, testing both predictive accuracy and distributional fidelity. On deterministic systems, VSF improves long-horizon predictive accuracy over DeepAR (Salinas et al., 2020), diffusion- and flow-based forecasters, SF (Jiang et al., 2025), and Chronos-2 (Ansari et al., 2025). On stochastic Rössler and Lorenz systems, VSF more accurately recovers the conditional distribution of long-horizon futures. We further use VSF as the predictor in a JEPA-based world model (Maes et al.,

2026); see Fig. 2. Across four robotics tasks, VSF improves average goal-directed planning success by 7.34% over LeWM's deterministic predictor while retaining one velocity-field evaluation per imagined transition.

Our main contributions are as follows.

  • We introduce Variational Streaming Flow, a variational latent variable formulation of physical-time flow modeling in which one latent draw conditions a full forecast rollout. It is motivated by a limitation of non-latent physical-time flows near bifurcations, where small differences in state can make the learned dynamics highly sensitive to perturbations (see App. B).

  • We develop a variational learning framework for latent-conditioned physical-time velocities (see Section 3). We derive a conditional-velocity ELBO and introduce an energy-based reconstruction over multiple latent samples. Under posterior-prior alignment, we show that the resulting reconstruction controls the energy distance between predicted and true velocity distributions.

  • We evaluate VSF on deterministic and stochastic forecasting and in an action-conditioned world model. VSF improves long-horizon predictive accuracy and distributional fidelity, while its predictions improve goal-directed planning and retain the efficiency of physical-time forecasting.

References (60)