A CDF-First Framework for Free-Form Density Estimation
Organizations: Shandong Key Laboratory of Ubiquitous Intelligent Computing, University of Jinan · Shandong Provincial Key Laboratory of Green and Intelligent Building Materials, University of Jinan, Jinan, Shandong 250022, China · Quancheng Shandong Laboratory, Jinan 250100, China · David R. Cheriton School of Computer Science, University of Waterloo, Waterloo, Canada
Abstract
Conditional density estimation (CDE) is a fundamental task in machine learning that aims to model the full conditional law , beyond mere point prediction (e.g., mean, mode). A core challenge is free-form density estimation, capturing distributions that exhibit multimodality, asymmetry, or topological complexity without restrictive assumptions. However, prevailing methods typically estimate the probability density function (PDF) directly, which is mathematically ill-posed: differentiating the empirical distribution amplifies random fluctuations inherent in finite datasets, necessitating strong inductive biases that limit expressivity and fail when violated. We propose a CDF-first framework that circumvents this issue by estimating the cumulative distribution function (CDF), a stable and well-posed target, and then recovering the PDF via differentiation of the learned smooth CDF. Parameterizing the CDF with a Smooth Min-Max (SMM) network, our framework guarantees valid PDFs by construction, enables tractable approximate likelihood training, and preserves complex distributional shapes. For multivariate outputs, we use an autoregressive decomposition with SMM factors. Experiments demonstrate our approach outperforms state-of-the-art density estimators on a range of univariate and multivariate tasks.
Figures & tables
| Dataset | Samples | Domain | ||
|---|---|---|---|---|
| Fish | 908 | 6 | 1 | Toxicology |
| Concrete | 1,030 | 8 | 1 | Civil Eng. |
| Energy | 768 | 8 | 2 | Building |
| Parkinsons | 5,875 | 16 | 2 | Medical |
| Temperature | 7,588 | 21 | 2 | Env. |
| Air | 8,891 | 10 | 3 | Env. |
| 5e-7 | 1e-6 | 5e-6 | 1e-5 | 3e-5 | |
|---|---|---|---|---|---|
| SSE | 0.134 | 0.113 | 0.088 | 0.090 | 0.101 |
| Fish | Concrete | Energy | Parkinsons | Temperature | Air | Skillcraft | |
|---|---|---|---|---|---|---|---|
| MDN | 0.92±0.03 | 0.76±0.09 | -0.99±0.15 | 1.26±0.05 | 1.08±0.03 | 1.26±0.04 | 2.27±1.14 |
| MAF | 1.10±0.09 | 1.10±0.09 | -0.13±0.29 | 1.54±0.08 | 1.25±0.04 | 1.14±0.08 | 4.06±0.28 |
| NSF | 1.57±0.19 | 1.32±0.29 | 9.23±1.63 | 1.72±0.13 | 1.79±0.16 | 1.50±0.17 | 6.72±0.64 |
| RNF | 1.24±0.08 | 1.24±0.09 | 1.89±0.20 | 2.30±0.07 | 1.84±0.10 | 1.70±0.11 | 4.49±0.19 |
| DDN | 0.92±0.04 | 0.59±0.03 | -1.66±0.18 | 0.36±0.04 | 0.74±0.04 | 0.93±0.05 | 1.66±0.07 |
| CDF-First | 0.89±0.01 | 0.44±0.05 | -2.03±0.19 | 0.73±0.04 | 0.70±0.06 | 1.06±0.03 | 1.65±0.08 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
Conditional Distribution Estimation
Conditional distribution estimation models the full distribution of an outcome given covariates, enabling uncertainty-aware prediction and decisions.
See all 74 papers