Abstract
In the regression problem, L1 and L2 are the most commonly used loss functions, which produce mean predictions with different biases. However, the predictions are neither robust nor adequate enough since they only capture a few conditional distributions instead of the whole distribution, especially for small datasets. To address this problem, we proposed arbitrary quantile modeling to regulate the prediction, which achieved better performance compared to traditional loss functions. More specifically, a new distribution regression method, Deep Distribution Regression (DDR), is proposed to estimate arbitrary quantiles of the response variable. Our DDR method consists of two models: a Q model, which predicts the corresponding value for arbitrary quantile, and an F model, which predicts the corresponding quantile for arbitrary value. Furthermore, the duality between Q and F models enables us to design a novel loss function for joint training and perform a dual inference mechanism. Our experiments demonstrate that our DDR-joint and DDR-disjoint methods outperform previous methods such as AdaBoost, random forest, LightGBM, and neural networks both in terms of mean and quantile prediction.
Introduction
Standard regression models typically aim to predict point estimates like the conditional mean (using L2 loss) or the median (using L1 loss). While useful, these estimates fail to capture the full shape of the conditional distribution—such as variance, skewness, or multimodality—which is critical in risk-sensitive fields like finance or ecology.
Traditional Quantile Regression attempts to address this by predicting specific percentiles. However, it faces two major limitations:
- Fixed Points: Models are usually trained for a pre-defined set of quantiles. If a different percentile is needed post-training, the model cannot provide it.
- Quantile Crossing: Independent estimation of quantiles can lead to logical inconsistencies where, for example, the predicted 90th percentile is lower than the 80th.
Deep Distribution Regression (DDR)
To overcome these issues, we introduce Deep Distribution Regression (DDR). This framework moves beyond fixed points by treating the quantile $\tau$ as a continuous input variable. DDR consists of two dual neural networks:
- The Q Model (Quantile Function): Maps a feature vector $x$ and an arbitrary quantile $\tau \in (0, 1)$ to a predicted value $y$.
- The F Model (Conditional CDF): Maps a feature vector $x$ and a value $y$ to its corresponding quantile $\tau$.
Joint Training and Duality
Since $Q$ and $F$ are inverse functions, we employ "Recover Losses" to enforce consistency: $Q(F(y)) \approx y$ and $F(Q(\tau)) \approx \tau$. This duality acts as a powerful regularizer, improving performance on smaller datasets. To prevent quantile crossing, we incorporate a gradient-based penalty that ensures the predicted value $y$ increases monotonically with the input quantile $\tau$.
Experimental Evaluation
The DDR framework was evaluated across a variety of synthetic and real-world datasets to test its robustness and accuracy.
Datasets
We utilized four synthetic 1D functions to visualize the model's ability to handle different noise profiles and non-linearities.
Furthermore, the model was benchmarked against six real-world datasets ranging from bike rental counts to aircraft control tasks.
Key Results
Our experiments show that DDR-joint and DDR-disjoint consistently outperform baselines like LightGBM, Random Forests, and standard Fully Connected Neural Networks (FCNN) in both quantile and mean prediction accuracy.
- Quantile Accuracy: DDR achieved lower quantile error across all real-world benchmarks compared to LightGBM and FCNNs.
- Standard Metric Performance: Surprisingly, DDR often outperformed models specifically optimized for Mean Absolute Error (MAE) and Mean Squared Error (MSE). For instance, on the Kinematics dataset, DDR-joint achieved an MSE of 0.0653, significantly lower than the standard neural network's 0.1480.
- Monotonicity: The gradient-based regularization effectively eliminated the quantile crossing problem, ensuring logically consistent distribution estimates.
Conclusion
By treating the quantile as a variable rather than a constant, DDR enables "infinite-task" learning that prevents overfitting and captures the full conditional distribution. Future work includes extending this framework to unstructured data, such as computer vision tasks, and further exploring the F model's potential for robust anomaly detection.
Summary updated