Abstract
Information-theoretic quantities, such as conditional entropy and mutual information, are critical data summaries for quantifying uncertainty. Existing estimators for these quantities either have strong theoretical guarantees or effective performance in high-dimensional data, but not both. We propose a decision forest method, Uncertainty Forests (UF), which combines quantile regression forests, honest sampling, and a finite sample correction. We prove UF provides consistent estimates for these information-theoretic quantities, including in multivariate settings. Empirically, UF reduces finite sample bias and variance in a range of both low- and high-dimensional simulated settings for estimating posterior probabilities, conditional entropies, and mutual information. In a real-world connectome application, UF quantifies the uncertainty about neuron type given various cellular features in the Drosophila larva mushroom body, a key challenge for modern neuroscience.
Introduction
In data science, quantifying the information shared between variables is fundamental to understanding uncertainty. Metrics such as Mutual Information (MI) and Conditional Entropy are standard tools for this task. For decades, $k$-Nearest Neighbor ($k$-NN) methods, such as the KSG estimator, have been the gold standard. However, $k$-NN methods struggle with high dimensionality and are highly sensitive to feature scaling due to their reliance on Euclidean distance. Conversely, while standard Random Forests (RF) are powerful predictors, they are often poorly calibrated, making their predicted probabilities unreliable for pure uncertainty quantification.
Methods: Uncertainty Forests
We propose treating decision forests as adaptive nearest neighbor estimators. Unlike $k$-NN's fixed-radius approach, a decision tree carves out regions of the feature space that are specifically informative for the task at hand.
The core innovation of the Uncertainty Forest (UF) is the use of Honest Trees. Standard trees often suffer from bias because the same data is used to determine both the tree structure and the leaf predictions. UF avoids this "double-dipping" by splitting the training data: one half (the partition set) determines the tree's splits, while the second half (the voting set) is used to calculate the final posterior probabilities in the leaves.
As shown in the figure above, UF tracks the true posterior probability transition more closely than standard RF, which tends to be over-smoothed or biased near decision boundaries. This honesty ensures that UF provides asymptotically consistent estimates of posterior probabilities and information-theoretic quantities.
Key Results and Calibration
UF was evaluated against standard RF and calibrated variants like SigRF (Platt Scaling) and IRF (Isotonic Regression) across 72 real-world datasets from the OpenML CC18 benchmark. UF demonstrated superior Expected Calibration Error (ECE), providing well-calibrated probabilities without the need for the post-hoc tuning required by methods like IRF.
In simulations measuring posterior calibration via Hellinger loss, UF maintained stable and low error rates across varying levels of posterior sharpness ($\alpha$). While standard RF and SigRF showed significant performance degradation as sharpness increased, UF remained robust.
Furthermore, in high-dimensional noise tests ($d=15$), UF successfully converged to true MI values where $k$-NN estimators collapsed. This robustness was applied to a Drosophila connectome dataset, where UF identified that a neuron's "cluster" and "age" are nearly sufficient statistics for its cell type, quantifying the cluster feature's information at 1.102 bits relative to a total uncertainty of 1.189 bits.
Conclusion
Uncertainty Forests bridge the gap between theoretical consistency and high-dimensional performance. By leveraging honest data splitting and adaptive partitioning, UF provides a robust framework for uncertainty quantification. Future work will focus on extending these methods to continuous target variables and establishing formal convergence rates for high-dimensional settings.
Summary updated