arXiv:2611.05195cs.LGNov 2026

Manuscript Offprint

arXiv:2611.05195

Ensembles of Random Partition-Based Models under Covariate Shift

Mary Versa Clemens-Sewall, Eliza O'Reilly

Abstract

Distribution shifts, including covariate shifts, are ubiquitous in real-world applications of machine learning. Empirical evidence suggests that, across a variety of models with and without downstream adaptation, ensembles tend to be more robust to covariate shift than single models. We extend the theory of covariate shift severity from single models to ensembles, providing theoretical justification for the empirical trends. We introduce new discrepancy measures of covariate shift severity to control the risk of partition-based kernel estimators. We then show that with sufficient ensemble size, these models can achieve minimax-optimal risk convergence rates under covariate shift. Our results suggest that modelers can expect to need larger ensemble sizes for more severe covariate shifts.

1 Introduction

Distribution shift occurs when some or all of the data used to train a model is sampled from a shifted distribution, meaning one that differs from the distribution of a randomly sampled test point, and it is common in a wide range of machine learning applications [15]. General distribution shift narrows to covariate shift if the nature of the shift is restricted to the features, a.k.a. covariates. Specifically, covariate shift occurs when the marginal distributions of the feature vectors differ yet the conditional distributions of the labels given the features are identical [24].

Recent work has characterized covariate shifts severe enough that they affect convergence rates of non-parametric estimators, yet not so severe that they preclude learning altogether [16, 10, 23]. These studies have defined asymmetric discrepancy measures for source-target pairs of distributions and proven that these discrepancy measures control minimax rates of convergence. Coarser discrepancy measures, especially the transfer exponent [16], preceded finer ones, like the aggregate transfer exponent [10] and integrated transfer exponent [23, 10].

To establish that these covariate shift discrepancy measures control minimax rates, these works have demonstrated that certain single-learner (i.e., not ensembled) local averaging estimators achieve the reported rates, including nearest-neighbor, dyadic tree, and top-hat (a.k.a. naïve [12]) kernel estimators [16, 10, 23]. In this paper, we extend this theory to random partition-based kernel estimators. Our interest in these models stems, in part, from the empirical success of random forest models [5] on many tabular data machine learning problems. Both random forests and random-partition based kernel estimators are ensembles of local averaging estimators where each local averaging estimator is a piecewise constant function over a randomly generated partition. By studying random partition-based kernel estimators, we aim to discover when covariate shift theory developed on single learners applies to models suited to ensembling, and when it does not.

Inspired by the integrated transfer exponent [23, 10], we define a covariate shift discrepancy measure (definition 5) that likewise emerges in the analysis of the estimator's variance. Our random partition-based discrepancy measure exhibits some advantageous theoretical properties (see proposition 1). Of practical concern, it cannot always be controlled, even when the integrated transfer exponent can be (see proposition 3). Our analysis of a class of doubling measures demonstrates that to control a partition-based estimator's

*Preprint. Under review.

variance under severe covariate shift, ensembling may be necessary, with larger ensembles needed to achieve minimax-optimal rates on more severe covariate shifts.

Our discrepancy measure is specified to the partitioning scheme used to initialize the single learners in the ensemble. We must choose a partitioning scheme to derive risk convergence rates for the random partition-based kernel estimator under covariate shift. We choose to study the STIT tessellation as a partitioning scheme because of its theoretical advantages.

The STIT tree and its ensembles, especially the STIT random forest, have been proven to achieve minimax-optimal convergence rates on Lipshitz regression without covariate shift [22]. Indeed, the STIT random forest is the only random forest model to date to have been proven minimax-optimal in arbitrary dimension. This was possible because the stochastic geometry of the STIT tessellation can be described with precision [19, 22], thanks in part to the memorylessness of the exponential distribution and the Poisson process built upon it. However, this same memorylessness gives the stochastic geometry of the tessellation a heavy-tailed (i.e., exponential-tailed) phenomenon that renders the typical cell in a partition quite small. In a recent work, the authors remarked that the small-cell phenomenon complicates the pursuit of statistical inference on Mondrian trees [8], which are a special case of STIT trees. So, too, in our work, the cells of a single Mondrian tree seem to be too small for the single learner to be robust to severe covariate shift (see proposition 3). As with statistical inference [8], we overcome this challenge through ensembling Mondrian trees to sufficiently widen the pool of independent training points that contribute to the local average.

We prove that, with a sufficient ensemble size, the Mondrian kernel [2] estimator can achieve minimax-optimal rates on a class of severe covariate shifts (see proposition 4), just like the top-hat kernel estimator can [23]. In doing so, we extend covariate shift theory from simpler, single learners to more complex, ensemble estimators. 1^{1}

References (29)