Skip to main content
QUICK REVIEW

[Paper Review] Distributional Random Forests: Heterogeneity Adjustment and Multivariate Distributional Regression

Domagoj Ćevid, Loris Michel|arXiv (Cornell University)|May 29, 2020
Gaussian Processes and Bayesian InferenceComputer Science17 citations
TL;DR

This paper introduces Distributional Random Forests (DRF), a novel random forest method that estimates the full multivariate conditional distribution of responses by using a Maximal Mean Discrepancy (MMD)-based splitting criterion to detect distributional heterogeneity. DRF enables accurate, locally adaptive estimation of complex targets—such as conditional means, quantiles, or causal effects—by weighting training data based on distributional similarity, significantly outperforming standard methods in nonlinear and heterogeneous settings.

ABSTRACT

Random Forest (Breiman, 2001) is a successful and widely used regression and classification algorithm. Part of its appeal and reason for its versatility is its (implicit) construction of a kernel-type weighting function on training data, which can also be used for targets other than the original mean estimation. We propose a novel forest construction for multivariate responses based on their joint conditional distribution, independent of the estimation target and the data model. It uses a new splitting criterion based on the MMD distributional metric, which is suitable for detecting heterogeneity in multivariate distributions. The induced weights define an estimate of the full conditional distribution, which in turn can be used for arbitrary and potentially complicated targets of interest. The method is very versatile and convenient to use, as we illustrate on a wide range of examples. The code is available as Python and R packages drf.

Motivation & Objective

  • To address the challenge of distributional heterogeneity in multivariate responses, where conditional distributions vary across covariates.
  • To develop a nonparametric, data-adaptive method that estimates the full conditional distribution of multivariate responses without assuming a specific parametric model.
  • To enable accurate estimation of complex targets—such as conditional means, quantiles, or causal effects—by leveraging distributional similarity rather than geometric proximity.
  • To overcome the curse of dimensionality in local estimation by using distributional metrics to identify relevant training points, even when covariates are far apart in Euclidean space.
  • To provide a flexible, model-free framework for distributional regression that supports downstream tasks like fairness assessment, causal inference, and two-sample testing.

Proposed method

  • Proposes a new splitting criterion in random forests based on the Maximal Mean Discrepancy (MMD) statistic to detect differences in the joint distribution of multivariate responses across splits.
  • Uses MMD as a distributional metric to measure dissimilarity between conditional distributions of Y given X ≤ l and X > l for each feature and split point.
  • Constructs a forest where each tree recursively partitions the data based on MMD-based splits, creating a partitioning that reflects distributional homogeneity.
  • Assigns weights to training observations based on their proximity in the forest structure, forming a kernel-type weighting function that estimates the full conditional distribution P(Y|X = x).
  • Employs the induced weights to estimate arbitrary functionals of the conditional distribution, such as conditional expectations, quantiles, or copulas, via weighted empirical distributions.
  • Supports causal inference by enabling estimation of interventional distributions E[Y|do(W = w)] through conditional regression fits on weighted data, even when W is rare under certain X values.

Experimental results

Research questions

  • RQ1How can we estimate the full multivariate conditional distribution P(Y|X = x) in a nonparametric, data-adaptive way when the response distribution is heterogeneous across covariates?
  • RQ2Can a random forest framework be extended to use distributional metrics like MMD for splitting, rather than mean or variance reduction, to improve estimation in heterogeneous settings?
  • RQ3To what extent does DRF outperform standard random forests and local regression methods in estimating complex targets like nonlinear conditional means or causal effects under distributional heterogeneity?
  • RQ4Can DRF effectively handle extrapolation in causal inference, especially when the treatment variable W takes values that are rare or unobserved under certain covariate values?
  • RQ5How does the use of MMD-based weighting compare to geometric neighborhood methods in high-dimensional covariate spaces, particularly in terms of estimation accuracy and robustness?

Key findings

  • DRF achieves significantly better estimation of the conditional mean E[Y|W = w, X = x] compared to standard random forest regression, especially in regions with low data density or nonlinear dependence.
  • The estimated joint distribution (Y, W) given X = x closely matches the true conditional distribution, as evidenced by the alignment of the DRF fit (blue line) with the true conditional mean (red dashed line) in Figure 16.
  • DRF enables reliable extrapolation in causal effect estimation, even for treatment values W that are rare or unobserved under certain X values, due to distributional weighting rather than geometric proximity.
  • In causal effect estimation E[Y|do(W = w)], DRF outperforms the conventional method of regressing Y on (W, X) using standard random forests, with lower error, particularly at the boundaries of W (Figure 17).
  • The method successfully handles nonlinear treatment effects, such as the sine transformation of W in the simulation, where standard methods fail due to model mis-specification.
  • DRF demonstrates robustness in the presence of confounding variables (e.g., X₃), which affect both W and Y, by correctly identifying relevant training points based on distributional similarity rather than marginal covariate distance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.