Skip to content
AI.info

Research

Partition Tree: Conditional Density Estimation over General Outcome Spaces

Overview Research area: Machine learning — probabilistic decision trees, conditional density estimation, nonparametric statistics. Technical level: Advanced. The paper builds on measure theory (Radon–

Partition Tree: Conditional Density Estimation over General Outcome Spaces
arXiv
2602.04042
Published
2026-02-03
Authors
Felipe Angelim, Alessandro Leite

AI summary

Overview

  • Research area: Machine learning — probabilistic decision trees, conditional density estimation, nonparametric statistics.
  • Technical level: Advanced. The paper builds on measure theory (Radon–Nikodym derivatives, σ-finite reference measures, σ-algebras), VC-dimension complexity arguments, and an L¹(ν)-consistency theorem, though the tree algorithm itself is described in implementation terms.
  • Scope: A single paper introducing Partition Tree and Partition Forest, a tree-based framework for conditional density estimation over continuous, categorical, and mixed outcome spaces, with theory, algorithm, and benchmark experiments.

What This Paper Is About

Most decision trees predict a point (regression) or class probabilities (classification), but many applications need a full conditional distribution of the outcome given the inputs. The paper proposes Partition Tree, which represents conditional densities as piecewise-constant densities over data-adaptive partitions of the joint covariate–outcome space, and learns the tree by directly minimizing conditional negative log-likelihood. It extends this to Partition Forest, a bagging ensemble formed by averaging the predicted conditional densities across trees.

Key Contributions

  1. Partition Tree framework. A tree-based method for conditional density estimation over "general outcome spaces" that handles continuous, categorical, and mixed-type outcomes within one unified formulation, modeling conditional distributions as piecewise-constant densities on data-adaptive partitions of the joint covariate–outcome space.

  2. Measure-theoretic formulation. Conditional densities are defined via probability measures and Radon–Nikodym derivatives with respect to the dominating measure ℙ_X ⊗ μ_Y, where μ_Y is counting measure for discrete outcomes and Lebesgue measure for continuous ones. Within this framework, the authors state that both classification and regression emerge as cases of conditional density estimation.

  3. Greedy best-first learning with a log-loss objective. Trees are grown under a global split budget k_N by repeatedly selecting the leaf–split pair with the largest empirical gain, which is equivalent to minimizing the conditional negative log-likelihood. The gain expression depends only on simple count statistics, giving an overall time complexity on the order of O(d_Z N log N) with global presorting and maintained sorted indices, or O(d_Z N log² N) when sorting within each node.

  4. Partition Forest and a consistency theorem. A bagging extension that fits B trees on bootstrap samples (optionally with random feature subsampling as in Random Forests) and averages the per-tree densities before normalization. Theorem 3.2 gives sufficient conditions for L¹(ν)-consistency of the piecewise-constant estimator under complexity and shrinkage assumptions on the induced partition sequence (finite cell count growth, vanishing log-growth function, shrinking cell diameter, and a condition on the number of distinct X-projections).

Main Findings

  • Classification, single trees: Partition Tree outperforms CART trees on 8 out of 9 datasets. Average ranks are 1.33 for Partition Tree and 1.67 for CART. Example log-loss values (mean ± std over 5-fold cross-validation): digits 0.45 ± 0.04 for Partition Tree versus 1.48 ± 0.22 for CART; letter 0.62 ± 0.17 versus 1.42 ± 0.06; wine 1.02 ± 0.06 versus 1.47 ± 0.50.

  • Classification, bagging: Partition Forest reaches an average rank of 1.44 versus 1.56 for Random Forest, and the paper reports better probabilistic classification performance on most datasets. Example values: wine 0.86 ± 0.04 (Partition Forest) versus 0.88 ± 0.11 (Random Forest); support2 0.24 ± 0.02 versus 0.25 ± 0.01. On iris, letter, spam, breast, and adult the Random Forest log-loss is lower or tied (e.g., letter 0.49 ± 0.01 versus 0.28 ± 0.01).

  • Regression, single trees: CDTree achieves the best average ranking (1.70). Partition Tree and CADET are tied in average rank at 2.30, with CART at 3.70. Partition Tree outperforms CADET on Air, Power, California, and Protein, which the authors describe as among the larger datasets in the benchmark suite.

  • Regression, bagging: Partition Forest outperforms Random Forests on 8 out of 10 datasets. Average ranks are 1.20 for Partition Forest and 1.80 for Random Forest. Example values: kin8nm −0.45 ± 0.02 versus 3.30 ± 0.12; california 0.42 ± 0.02 versus 3.11 ± 0.14; protein 2.10 ± 0.02 versus 6.19 ± 0.04.

  • CDTree's scalability limitation: The paper reports that CDTree's high computational complexity limits scalability and can make its integration into bagging frameworks impractical, referring to a runtime comparison in Figure 3 in Appendix E.

  • Redundant feature duplication: Evaluated on the Concrete Compressive Strength dataset with five-fold cross-validation. CDTree maintains a stable negative log-likelihood as the number of duplicated noisy features increases, indicating robustness to correlated feature duplication. Partition Tree showed a gradual degradation in negative log-likelihood, although its performance variance across folds remained lower than CADET's — meaning it is less robust in expectation but yields more consistent predictions under feature corruption.

  • Label noise: In both homoscedastic noise (σ(λ) = λ · (1/N) Σ|y_i|) and heteroscedastic noise (σ_i(λ) = λ|y_i|), with λ ∈ {0.1, 0.5, 1.0, 1.5}, Partition Tree degrades at a rate comparable to CDTree, while CADET exhibits higher variability across folds.

  • Experimental protocol: Five-fold cross-validation with a nested train-validation split per fold; hyperparameter tuning with Optuna at a budget of 200 trials and a 20-minute time limit per model; CDTree hyperparameters were not tuned, following the original implementation's recommendations; model selection based on validation log-loss; all experiments run on an Apple MacBook with an Apple M4 chip.

Methodology in Plain English

The authors treat a decision tree leaf as a rectangular box in the joint space of inputs (X) and outcomes (Y). Inside each box, they assume the conditional density is constant, and estimate that constant from simple counts: the number of training points falling in the box, divided by the number of points whose inputs fall in the box's X-projection, divided by the volume (or category count) of the box's Y-projection. This gives a histogram over Y that adapts to each X region.

Splits can be made on an input coordinate or on an outcome coordinate, letting the tree refine outcome bins as well as input regions. Continuous coordinates are split with threshold tests, categorical ones with subset membership tests. To choose splits, the tree grows best-first: it keeps leaves in a priority queue and always splits the leaf whose best admissible split gives the largest reduction in conditional negative log-likelihood. Continuous thresholds are found by sorting values in a leaf and scanning midpoints with prefix sums; categorical splits are found by sorting categories by score and scanning |Σ| − 1 prefix thresholds rather than enumerating all 2^|Σ| − 2 subset tests. The forest variant draws bootstrap samples and averages the per-tree density estimates, then normalizes so each conditional density integrates to one. For unbounded continuous outcomes, the method uses a data-dependent truncated domain; the underlying estimator's consistency is established under four conditions on how the partition sequence grows and shrinks.

Why This Matters

  • Impact on research: The paper provides a unified, nonparametric treatment of classification, regression, and mixed-type target modeling inside a single tree framework, backed by an L¹(ν)-consistency theorem. It offers an alternative to parametric leaf models (like CADET's) and to computationally heavy joint split-and-histogram optimization (like CDTree's), and it opens the question of whether probabilistic tree ensembles can be made to scale.

  • Real-world applications (potential uses of conditional density estimation):

    • Risk and uncertainty quantification in regression settings, where a full predictive distribution matters more than a point estimate.
    • Healthcare or actuarial prediction, where outcome uncertainty and heteroscedastic noise are central rather than incidental.
    • Scientific modeling with mixed-type targets, where some outcome variables are continuous and others categorical.
    • Robustness studies and tabular data pipelines where redundant or correlated features are common.
  • Industry relevance: Tabular data remains a dominant industrial data format, and tree ensembles are the workhorse models in that setting. A tree ensemble that outputs calibrated densities rather than point predictions is directly relevant to decision systems that need calibrated uncertainty — and the paper's claim that Partition Forest can be bagged in practice, while CDTree's complexity makes bagging impractical, speaks directly to production feasibility.

Future Directions

  • Scaling probabilistic tree ensembles. The paper notes CDTree's complexity limits scalability and can make bagging impractical; whether newer probabilistic tree objectives can be made as scalable as Partition Tree remains open.

  • Improving robustness to redundant features. Partition Tree showed gradual degradation in negative log-likelihood under correlated feature duplication on the Concrete Compressive Strength dataset, while CDTree remained stable — the paper characterizes this behavior but the mechanism is not fully explained.

  • Theoretical guarantees for the forest. The consistency result (Theorem 3.2) applies to the piecewise-constant estimator under a partition sequence; whether analogous guarantees hold for the averaged-density Partition Forest is not established in the provided content.

  • Extension of the method. The paper's own limitations section is truncated in the provided content ("Several directions for future wor..."), so the authors' complete list of intended next steps is not reported here.

Target Audience

Researchers and graduate students in machine learning and statistics working on probabilistic modeling, nonparametric density estimation, or tree-based methods; practitioners who need calibrated predictive distributions on tabular data with continuous, categorical, or mixed-type outcomes; and readers interested in measure-theoretic foundations of learning algorithms, since the paper's formulation via Radon–Nikodym derivatives and its L¹(ν)-consistency theorem require familiarity with measure theory to follow in full.

Authors’ abstract

We propose Partition Tree, a novel tree-based framework for conditional density estimation over general outcome spaces that supports both continuous and categorical variables within a unified formulation. Our approach models conditional distributions as piecewise-constant densities on data-adaptive partitions and learns trees by directly minimizing conditional negative log-likelihood. This yields a scalable, nonparametric alternative to existing probabilistic trees that does not make parametric assumptions about the target distribution. We further introduce Partition Forest, a bagging extension obtained by averaging conditional densities. Empirically, we demonstrate improved probabilistic prediction over CART-style trees and competitive performance compared to state-of-the-art probabilistic tree methods and Random Forests.

Read the original paper