Abstract
Traditional regression and prediction tasks often only provide deterministic point estimates. To estimate the distribution or uncertainty of the response variable, traditional methods either assume that the posterior distribution of samples follows a Gaussian process or require thousands of forward passes for sample generation. We propose a novel approach called DistPred for regression and forecasting tasks, which overcomes the limitations of existing methods while remaining simple and powerful. Specifically, we transform proper scoring rules that measure the discrepancy between the predicted distribution and the target distribution into a differentiable discrete form and use it as a loss function to train the model end-to-end. This allows the model to sample numerous samples in a single forward pass to estimate the potential distribution of the response variable. We have compared our method with several existing approaches on multiple datasets and achieved state-of-the-art performance. Additionally, our method significantly improves computational efficiency. For example, compared to state-of-the-art models, DistPred has a 180x faster inference speed.
Introduction
In high-stakes fields like autonomous driving, healthcare, or financial forecasting, a single "best guess" (point estimate) is insufficient. Decision-makers require the full probability distribution of the outcome to assess risk and confidence. Existing probabilistic inference methods generally fall into two categories:
- Parametric Methods: These assume a specific distribution shape (e.g., Gaussian). They often fail when real-world data is skewed or multi-modal.
- Sampling-Based Methods: Techniques like Monte Carlo Dropout or Diffusion models generate multiple samples to build a distribution. While flexible, they are computationally expensive, requiring hundreds or thousands of forward passes for a single prediction.
DistPred introduces a "distribution-free" framework that enables neural networks to predict an entire probability distribution in a single forward pass, providing the "whole picture" of uncertainty without the heavy computational cost.
Methodology
The core innovation of DistPred is treating a model's output as an ensemble of $K$ predictive quantiles generated simultaneously.
Single Forward Pass Architecture
Instead of running a model $K$ times to generate samples, DistPred modifies the network's head to output $K$ values at once. This architectural shift allows the model to capture the underlying distribution in one go, shifting the burden from the processor to the model parameters and drastically reducing inference time.
Differentiable Scoring Rules
To train this ensemble, the authors utilize the Continuous Ranked Probability Score (CRPS). CRPS is a "proper scoring rule," meaning it is minimized only when the predicted distribution perfectly matches the true distribution. The authors transformed the standard CRPS into a differentiable discrete form using L-moments (probability-weighted moments), enabling end-to-end training via standard backpropagation with $O(K)$ computational complexity.
Experimental Results
DistPred was validated across synthetic toy examples, 10 UCI regression benchmarks, and 7 large-scale time series datasets.
- Massive Speedup: DistPred achieved a 180x faster inference speed compared to state-of-the-art diffusion-based models like CARD. It is also significantly faster than traditional sampling methods like MC Dropout and Deep Ensembles.
- Superior Calibration: The model achieved the best results on the Quantile Interval Calibration Error (QICE) metric across the majority of UCI datasets, ensuring that its predicted confidence intervals are statistically accurate.
- State-of-the-Art Forecasting: In multivariate time series forecasting, DistPred outperformed recent architectures like iTransformer and PatchTST, showing average performance improvements ranging from 3.5% to 16.5%.
Conclusion
DistPred offers a robust, distribution-free solution for probabilistic inference. By leveraging differentiable scoring rules and a single-pass architecture, it provides high-quality uncertainty quantification at a fraction of the computational cost of existing methods. Future research will focus on extending this approach to classification and reinforcement learning tasks.
Paper Citation: Liang, D., Zhang, H., & Yuan, D. (2025). DistPred: A Distribution-Free Probabilistic Inference Method for Regression and Forecasting. arXiv:2406.11397v2.
Summary updated