NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Conditional Density Estimation with Histogram Trees

Lincen Yang, Matthijs van Leeuwen

Abstract

Standard regression models typically predict a single point estimate, such as the mean. However, many critical applications require understanding the full probability distribution of a target variable to account for uncertainty, skewness, or multi-modality. This paper introduces the Conditional Density Tree (CDTree), an interpretable model for Conditional Density Estimation (CDE). CDTree utilizes decision trees with histogram-based leaves and leverages the Minimum Description Length (MDL) principle for automated model selection. Our results demonstrate that CDTree offers a robust, self-tuning alternative to complex black-box models while providing clear visual explanations.

Introduction

In domains like healthcare and energy forecasting, point estimates are often insufficient. Decision-makers need to understand the full range of potential outcomes. While black-box models like neural networks can perform CDE, their lack of interpretability is a significant barrier in high-stakes environments. Existing interpretable methods, such as kernel-based approaches, often require significant expertise to tune. CDTree addresses these challenges by providing an intuitive, tree-based framework that automatically balances complexity and accuracy.

Methodology

The CDTree framework recursively partitions the feature space, similar to a standard decision tree. However, instead of a single value, each leaf node contains a non-parametric histogram model.

Non-parametric Histogram Leaves

By using histograms in leaf nodes, CDTree can model complex, multi-modal distributions without making rigid parametric assumptions, such as Gaussianity. This flexibility allows the model to capture the true shape of the data within each partition of the feature space.

MDL-based Learning and Regularization

A core innovation of CDTree is the use of the Minimum Description Length (MDL) principle for training. MDL treats learning as a data compression task, where the best model is the one that minimizes the total description length of the model and the data given the model. This approach naturally handles regularization—determining tree depth and histogram bin counts—eliminating the need for manual hyperparameter tuning via cross-validation.

Visualizing the conditional density of medical costs across different patient subgroups

Experimental Results

We evaluated CDTree on 14 numerical datasets from the UCI repository, covering diverse domains such as energy, medical costs, and forest fires. The model was compared against several interpretable baselines (e.g., CART-h, CKDE) and black-box models (e.g., MDN, NF).

Performance and Accuracy

CDTree achieved the best average rank among all interpretable models, securing the lowest negative log-likelihood in 6 out of 14 datasets. Its performance is competitive even when compared to black-box models, which often lack transparency. Notably, CDTrees were consistently smaller than other tree-based competitors, enhancing their interpretability.

Performance comparison (Negative Log-Likelihood) across 14 datasets for various models

Interpretability and Robustness

The use of histograms provides immediate visual feedback on the predicted distributions. Furthermore, the MDL-based scoring makes CDTree highly robust to irrelevant features, preventing the creation of unnecessary splits that do not contribute to data compression.

Conclusion

CDTree represents a significant step forward in interpretable Conditional Density Estimation. By combining the intuitive structure of decision trees with the flexibility of histograms and the principled regularization of MDL, it provides a powerful tool for probabilistic modeling. Future work will focus on addressing current limitations, such as bounded support and the greedy nature of the search algorithm.

Summary updated

BibTeX
@inproceedings{yang2024conditional,
  author = {Lincen Yang and Matthijs van Leeuwen},
  title = {{Conditional Density Estimation with Histogram Trees}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=5SUP6vUVkP},
}
Figure