Abstract
We propose Multivariate Quantile Function Forecaster (MQF²), a global probabilistic forecasting method constructed using a multivariate quantile function and investigate its application to multi-horizon forecasting. Prior approaches are either autoregressive, implicitly capturing the dependency structure across time but exhibiting error accumulation with increasing forecast horizons, or multi-horizon sequence-to-sequence models, which do not exhibit error accumulation, but also do typically not model the dependency structure across time steps. MQF² combines the benefits of both approaches, by directly making predictions in the form of a multivariate quantile function, defined as the gradient of a convex function which we parametrize using input-convex neural networks. By design, the quantile function is monotone with respect to the input quantile levels and hence avoids quantile crossing. We provide two options to train MQF²: with energy score or with maximum likelihood. Experimental results on real-world and synthetic datasets show that our model has comparable performance with state-of-the-art methods in terms of single time step metrics while capturing the time dependency structure.
Introduction
Probabilistic forecasting is essential for high-stakes decision-making, such as inventory management or energy load balancing, where understanding the risks at the distribution tails is as important as predicting the mean. Current state-of-the-art methods typically fall into two categories: autoregressive models (e.g., DeepAR) and sequence-to-sequence models (e.g., MQCNN).
Autoregressive models capture temporal dependencies well but suffer from "error accumulation" as the forecast horizon grows. Sequence-to-sequence models avoid this accumulation by predicting the entire horizon at once, but they often treat time steps as independent. This independence leads to "jagged" sample paths that fail to reflect real-world temporal correlations. Furthermore, many existing quantile-based methods suffer from "quantile crossing," a mathematical inconsistency where a lower quantile is predicted to be higher than a higher one.
Methodology
MQF² bridges the gap between these approaches by predicting a multivariate quantile function. The model's architecture consists of an RNN-based encoder that extracts features from past observations and an output model based on Partially Input Convex Neural Networks (PICNN).
The core innovation is parameterizing the quantile function as the gradient of a convex function. Because the underlying PICNN is convex with respect to its input quantile levels, its gradient is mathematically guaranteed to be monotonic. This design choice eliminates the quantile crossing problem by construction. MQF² can be trained using two distinct objectives: the Energy Score (ES), which focuses on multivariate sample quality, or Maximum Likelihood (ML), by treating the gradient transformation as a normalizing flow.
Key Results and Insights
MQF² was evaluated against high-standard benchmarks, including the Electricity (Elec), Traffic (Traf), and M4 competition datasets. The model achieved state-of-the-art performance, particularly excelling in metrics that measure the quality of the joint distribution, such as the Energy Score and Sum CRPS.
Beyond numerical metrics, MQF² produces significantly more realistic sample paths. While models like MQCNN generate noisy, independent-point jitter, MQF² generates smooth and temporally consistent paths. In synthetic experiments using Gaussian Processes, MQF² recovered the true correlation structure with a Mean Absolute Error of 0.019, vastly outperforming MQCNN’s 0.075.
Conclusion and Future Work
MQF² provides a robust framework for global probabilistic forecasting that ensures monotonicity by design and captures complex temporal dependencies without error accumulation. While the current formulation is optimized for continuous data, future research may extend this approach to discrete count distributions and explore joint modeling across both time and item dimensions to capture cross-series correlations.
Summary updated