Balancing Partition Forest for Causal Weighting

Felipe Angelim, Alessandro LeitearXiv 2026

TL;DR

Balancing Partition Forest (BPF) is a novel tree-based method for estimating balancing weights in causal inference. By directly partitioning the covariate-treatment space and calculating weights from simple observation counts, it provides a fast, flexible, and unified framework for binary and continuous treatments that outperforms traditional propensity score and permutation-based methods.

What Problem Does This Paper Address?

In observational studies, researchers want to estimate the causal effect of a treatment ($T$) on an outcome ($Y$). However, because treatment isn't randomly assigned, "confounders" (pretreatment covariates, $X$) often influence both. To fix this, we use balancing weights to reweight the data, creating a pseudo-population where the treatment is independent of the covariates.

The "ideal" weight is the density ratio between the product of marginal distributions (what we want: independence) and the joint distribution (what we have: the observed data). Estimating this ratio is hard:

  1. Propensity score methods require modeling the treatment assignment process, which can be highly unstable if the relationship is complex.
  2. Permutation weighting is flexible but computationally expensive, often requiring thousands of classifier fits on generated "fake" data.
  3. Continuous treatments are notoriously difficult for standard balancing methods to handle gracefully.

Methods

The authors introduce Balancing Partition Trees (BPT) and Balancing Partition Forests (BPF). Instead of modeling $P(T|X)$, they learn a rectangular partition of the combined $X \times T$ space.

The "Counting" Intuition

The core insight is that for any rectangular cell $A$ in this space, the target "independence" mass is simply the product of the marginal masses. This allows for a remarkably simple weight estimate within each cell: $$\hat{w}_A = \frac{\text{count in } X \text{ projection} \times \text{count in } T \text{ projection}}{N \times \text{count in joint cell}}$$

Figure 1: The BPF construction process. (a) shows treatment-covariate dependence. (b) illustrates how a cell's weight is computed from counts. (c) shows the resulting partition and decision tree.

Splitting and Aggregation

  • Bregman Divergence Splits: The tree grows by choosing splits that maximize the gain in a Bregman divergence. The authors develop two specific criteria: one that maximizes Mutual Information (capturing dependence) and one that minimizes Squared Error of the weights.
  • Harmonic Forest Aggregation: To reduce sensitivity to any single partition, BPF builds an ensemble of trees. Crucially, it aggregates them using the harmonic mean of their weights, which prevents a single tree with an extreme weight from dominating the estimate.
  • Theoretical Bounds: The paper proves that the "residual" error of the partition (how much information or variance the tree didn't capture) directly bounds the bias of downstream causal estimators like Inverse Probability Weighting (IPW) and Doubly Robust (DR) estimators.

Datasets

The authors evaluated BPF across 17 different experimental settings:

  • Synthetic Designs: Including the classic Kang–Schafer design (both binary and continuous versions), a new Beta-mixture design for non-Gaussian treatments, and the SyntheticVCNet benchmark.
  • Semi-synthetic Benchmarks: They used real-world covariates from the Digits, ACIC 2016, and California Housing datasets, then simulated complex, non-linear treatment and outcome functions to test the methods under realistic conditions.

Key Insights and Ideas

  • Independence via Geometry: By using rectangular partitions, the method exploits the mathematical structure of independence ($P(X,T) = P(X)P(T)$) to turn a difficult density estimation problem into a simple counting problem.
  • Unified Treatment: The algorithm doesn't care if the treatment is binary, categorical, or continuous. The "counting" logic remains identical, providing a truly unified approach to causal weighting.
  • Exploration Splits: Because a single split on $X$ or $T$ alone at the root shows zero "gain" (since marginals are independent by definition), the tree uses "exploration splits" to jump-start the search for interactions.
  • Stability by Design: Tree-based weights are piecewise constant, which naturally avoids the extreme, "runaway" weights often produced by high-capacity neural networks or misspecified logistic regressions.

Key Results

  • Top Performance: Across all 17 settings, BPF achieved the lowest mean RMSE rank among seven competing weight estimators (including CBPS and Permutation Weighting).
  • Extreme Speed: BPF is incredibly efficient. On a dataset of ~16,500 observations, a single BPT fits in 0.14 seconds. In contrast, Permutation Weighting (using 100 permutations) took over 107 seconds—a nearly 800x speedup.
  • Robustness: In continuous treatment scenarios, BPF was significantly more stable than the Covariate Balancing Propensity Score (CBPS), which frequently produced extreme weights that blew up the error in Doubly Robust estimators.
Figure 3: MSM response curves. The BPF estimates (blue) closely track the true causal response (dashed black) across various synthetic and semi-synthetic settings, outperforming the unweighted "Unit" baseline.

Limitations and Future Work

  • Theoretical Gap: While the paper provides bias bounds for population partitions, it does not yet provide full statistical consistency guarantees for the learned partitions and forest aggregation.
  • Interpretability: While individual trees are interpretable, the authors suggest that more work is needed to leverage BPT specifically for "interpretable causal inference" in high-stakes real-world settings.
  • Hyperparameters: The method introduces new tuning parameters (like marginal and joint count floors) that require careful cross-validation using the permutation log-loss.

Summary updated

Abstract

Balancing weights are used in observational causal inference to construct a population in which the treatment is independent of observed pretreatment covariates. The ideal weight is the ratio between the product of the covariate and treatment marginals and their joint distribution, for binary and continuous treatments alike. We propose Balancing Partition Tree (BPT) and Balancing Partition Forest (BPF), which estimate this ratio on a learned rectangular partition of covariate--treatment space. Each split maximizes the gain in a Bregman divergence computed from joint and marginal counts. Two choices of divergence yield criteria that maximize the mutual information captured by the partition or reduce the squared error of the weights. We show that the population residual of either criterion bounds the bias of inverse-probability-weighted and doubly robust response estimators that use the population partition weights. Across 17 synthetic and semi-synthetic settings and three response estimators, BPF obtains the lowest mean RMSE rank among seven weight estimators, and a single tree fits in 0.14 seconds on 16,512 observations.
BibTeX
@misc{angelim2026balancing,
  author = {Felipe Angelim and Alessandro Leite},
  title = {{Balancing Partition Forest for Causal Weighting}},
  year = {2026},
  eprint = {2611.23524},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.23524},
}
Figure