Abstract
Deep probabilistic time series forecasting models have become an integral part of machine learning. While several powerful generative models have been proposed, we provide evidence that their associated inference models are oftentimes too limited and cause the generative model to predict mode-averaged dynamics. Mode-averaging is problematic since many real-world sequences are highly multi-modal, and their averaged dynamics are unphysical (e.g., predicted taxi trajectories might run through buildings on the street map). To better capture multi-modality, we develop variational dynamic mixtures (VDM): a new variational family to infer sequential latent variables. The VDM approximate posterior at each time step is a mixture density network, whose parameters come from propagating multiple samples through a recurrent architecture. This results in an expressive multi-modal posterior approximation. In an empirical study, we show that VDM outperforms competing approaches on highly multi-modal datasets from different domains.
Introduction
Deep probabilistic models are the standard for time-series forecasting, yet they frequently suffer from a critical flaw: the "mode-averaging" problem. When a model encounters a branching path—such as a taxi approaching a T-junction—it must choose between multiple valid futures. Traditional models, often relying on unimodal Gaussian distributions, tend to predict the mathematical average of these paths. In a spatial context, this results in physically impossible trajectories, such as a vehicle driving straight through a building instead of turning onto a street.
While generative models have become increasingly flexible, the authors argue that the bottleneck lies in the inference process. If the inference model cannot represent multiple distinct possibilities (modes), the generative model is forced to over-generalize or focus solely on the most dominant path, losing the rich diversity of real-world dynamics.
Methodology: Variational Dynamic Mixtures (VDM)
To address this, the authors introduce Variational Dynamic Mixtures (VDM), an inference framework designed to be explicitly multi-modal yet computationally tractable. Unlike standard approaches that map observations to a single latent state, VDM utilizes a mixture-based posterior.
Key Technical Components
- Mixture-Based Posterior: The approximate posterior at each time step is a mixture density network. Parameters for these mixtures are generated by propagating multiple samples through a recurrent architecture (specifically, a Gated Recurrent Unit or GRU).
- Stochastic Cubature Approximation (SCA): To ensure stability, VDM employs SCA rather than standard Monte Carlo sampling. SCA selects "sigma points" that optimally capture the mean and covariance of the distribution, preventing mixture components from jittering randomly and ensuring the persistence of specific modes over time.
- Hybrid Training Objective: The model is optimized using an Evidence Lower Bound (ELBO) augmented by two critical terms: a predictive likelihood term ($L_{pred}$) for forecasting accuracy, and an adversarial term ($L_{adv}$) to discourage the model from placing probability mass in "unphysical" regions.
- Weighting Function: An indicator function selects the mixture component that best matches the current observation, allowing different parts of the model to specialize in distinct behavioral modes.
Experimental Results
The researchers evaluated VDM against state-of-the-art baselines, including VRNN, AESMC, and CF-VAE, across five diverse datasets ranging from synthetic 2D data and chaotic Lorenz attractors to real-world GPS taxi trajectories and NBA player movements.
Qualitative Performance
In the Porto taxi dataset, the superiority of VDM is visually evident. While baselines like VRNN produce "smeared" or unimodal paths and models like AESMC produce noisy, scattered trajectories, VDM generates samples that strictly adhere to the underlying street map.
Quantitative Gains
Beyond visual inspection, VDM demonstrated superior performance across several metrics:
- Lorenz Attractor: VDM achieved the lowest multi-step prediction error (24.46) compared to the next best model, AESMC (25.01).
- Empirical Wasserstein Distance: To measure how well the set of predicted samples matches the set of real-world continuations, the authors used a Wasserstein distance score. VDM significantly outperformed others (e.g., 0.56 on taxi data vs. 0.66 for AESMC and 2.07 for RKN), proving its ability to generate diverse and realistic samples.
Conclusion
VDM demonstrates that making the inference process multi-modal is key to unlocking the potential of generative time-series models. By escaping the trap of mode-averaging, VDM provides a path toward more reliable and physically grounded forecasting in complex, real-world environments. Future work may involve scaling VDM to higher-dimensional data or integrating it into reinforcement learning "world models" where capturing multiple future outcomes is essential for safe planning.
Summary updated