Bayesian Regression Tree Ensembles that Adapt to Smoothness and Sparsity
Antonio Ricardo Linero, Yun Yang
Introduction
Consider a nonparametric regression model with response , a -dimensional predictor, an unknown regression function of interest, and Gaussian noise . Suppose we observe consisting of independent and identically distributed copies of . A popular approach to estimating is to form an ensemble of decision trees; common techniques include boosted decision trees (Freund et al.,, 1999) and random forests (Breiman,, 2001). Bayesian tree-based models, such as the Bayesian additive regression trees (BART) model (Chipman et al.,, 2010), have recently attracted interest from practitioners due to their excellent empirical performance and natural uncertainty quantification; BART has been applied in a wide variety of contexts such as nonparametric function estimation with variable selection (Bleich et al.,, 2014; Linero,, 2016), analysis of loglinear models (Murray,, 2017), and survival analysis (Sparapani et al.,, 2016). Additionally, BART is consistently among the best performing methodologies in the Atlantic Causal Inference Conference Data Analysis Challenge (Hill,, 2011, 2016; Hahn et al.,, 2017; Dorie et al.,, 2017).
Despite the recent popularity of Bayesian tree-based models, they suffer from several drawbacks. First, in the regression setting, estimators based on decision trees are not capable of adapting to higher smoothness levels exhibited in due to their piecewise-constant nature. Second, as illustrated by Linero, (2016), they suffer from the curse of dimensionality — their prediction performance deteriorates as the dimensionality increases. Last but not least, very little theoretical work has been done for understanding large sample properties of Bayesian tree-based approaches from a frequentist perspective.
In this article, we propose a new method, called soft Bayesian additive regression trees (SBART) which improves both practically and theoretically upon existing Bayesian sum-of-trees models. To address the first aforementioned drawback, we employ a ensemble of carefully designed “soft” decision trees as building blocks in the BART model, and show in both empirical studies and theoretical investigation that the resulting Bayesian approach can adapt to the unknown smoothness level of the true regression function — the corresponding posterior distribution achieves the minimax rate of contraction up to logarithmic terms (Ghosal et al.,, 2000) when where denotes a Hölder space with smoothness index and radius .
To overcome the curse of dimensionality, we specify sparsity inducing priors (Linero,, 2016) for the splitting rule probabilities in the soft decision trees. We show that SBART takes advantage of structural sparsity in the true regression function — when only depends on predictors and is -Hölder smooth, the resulting posterior distribution contracts towards the truth at a rate of up to logarithmic terms, which is near minimax-optimal even in the high-dimensional setting where grows nearly exponentially fast in (Yang and Tokdar,, 2015). Furthermore, due to the additive nature of sum-of-trees based models, we show that SBART can also adapt to low-order non-linear interactions: if can be decomposed into many low dimensional pieces , where each additive component is -sparse and -smooth, then SBART also achieves a near-minimax rate of posterior contraction. Compared to the rate for the general sparse case, which allows at most many active predictors for consistency, the rate for additive structures potentially allows many predictors for some ; this partly explains the empirical success of Bayesian sum-of-tree approaches, as many real-world phenomena can be explained in terms of a small number of low-order interactions.
Our proofs involve a key lemma that links sum-of-tree type estimators with kernel type estimators. Unlike frequentist kernel type estimators that require prior knowledge on the smoothness level of for choosing a smoothness matching kernel, Bayesian sum-of-tree based methods are adaptive, requiring no prior knowledge of the smoothness levels , number of additive components , or degree of lower-order interactions , while still attaining near-minimax rates even under the high-dimensional setting. Practically, SBART can be implemented by making minimal modifications to existing strategies for fitting Bayesian tree-based models: the sparsity-inducing prior uses conditionally-conjugate Dirichlet priors which can be easily accommodated during Gibbs sampling, while replacing the usual decision trees with soft decision trees requires minor changes to the backfitting algorithm typically used with BART.
There has been a recent surge of interest in the theoretical properties of BART-type models. While our work was under review we learned that, in essentially simultaneous work, Rockova and van der Pas, (2017) established similar posterior contraction rates for a particularly designed BART prior, using a so-called “spike-and-tree” prior to allow for the ensemble to adapt to sparsity. In particular, they show that a single deep decision tree can approximate any function with smoothness level , which is then divided among trees with smaller depth. Our theory instead relies on linking sum-of-tree type estimators with kernel type estimators, which only need shallow trees and motivate the usage of soft-decision trees. Practically, the most relevant difference is that our SBART prior allows for adaptation to the smoothness level even when , whereas the use of piecewise-constant basis functions in traditional BART models only allows for adaptation to functions which are at-most Lipschitz-smooth (). An additional difference is that we focus on establishing concentration results for the fractional posterior, which allows for less restrictive assumptions about our choice of prior; in our supplementary material, we also provide concentration results for the usual posterior, under more stringent conditions. In even more recent work, Alaa and van der Schaar, (2017) establish consistency results for BART-type priors for estimating individual treatment effects in causal inference settings, and also noted the limitation of BART in adapting to a smoothness order higher than .
The soft decision trees we use are similar in spirit to those used by Irsoy et al., (2012), who considered a soft variant of the CART algorithm. Our work differs in that (i) our trees are not learned in a greedy fashion, but instead by extending the Bayesian backfitting approach of Chipman et al., (2010), (ii) we consider an ensemble of soft trees rather than a single tree, (iii) we use a different parameterization of the gating function which does not consider oblique decision boundaries, and (iv) we establish theoretical guarantees for our approach.
The rest of the paper is organized as follows. In Section 2, we develop our SBART prior. In Section 3 we state our theoretical results. In Section 4, we illustrate the methodology on both simulated and real datasets. We finish in Section 5 with a discussion. Proofs are deferred to the appendix. In supplementary material, we provide additional computational details, timing results, and additional theoretical results extending our fractional posterior results to the usual posterior.
Soft Bayesian sum of trees models
We begin by describing the usual “hard” decision tree prior used in BART. We model as the realization of a random function
Following Chipman et al., (2010), we endow with a branching process prior. The branching process begins with a root node of depth . For , each node at depth is non-terminal with probability where and are hyperparameters controlling the shape of the trees. It is easy to check using elementary branching process theory that this process terminates almost surely provided that (Athreya and Ney,, 2004).
2 Smoothness adaptation
A well-known feature of decision trees is their lack of smoothness. Single-tree algorithms such as the CART algorithm (Hastie et al.,, 2009, Chapter 9.2) result in step-function estimates, suggesting that they should not be capable of efficiently estimating smooth functions (Györfi et al.,, 2006). Methods based on ensembles of decision trees average over many distinct partitions of the predictor space, resulting in some degree of smoothing. Even with this averaging, the estimated regression functions are not smooth. Heuristically, we note that under our BART specification the function is not differentiable in quadratic mean. Indeed, with trees of depth , , and cutpoints , simple calculations give . Consequently, BART ensembles with a large number of trees resemble nowhere-differentiable continuous functions, and in the limit as the BART prior converges to a nowhere-differentiable Gaussian process. This heuristic argument suggests that BART can only adapt to functions with Hölder smoothness level no greater than (Lipschitz functions).
Figure 2 compares the fit of BART to SBART with . We see that when trees are used we require a large number of leaf nodes to model relatively simple functions. At a large scale, we see that the BART fit resembles a nowhere-differentiable continuous function. While an improvement, the estimate from BART is still not sufficiently smooth and exhibits large fluctuations.
The fit of the soft decision tree in Figure 2 by comparison is infinitely differentiable and requires only a small number of parameters. Consequently, we obtain a fit with lower variance and negligible bias. An attractive feature of soft decision trees exhibited in Figure 2 is their ability to approximate linear relationships. In this case, even when , we recover the smooth functions almost exactly.
3 Prior specification and implementation
Following Chipman et al., (2010), in this section we develop a “default” SBART prior. The goal is to develop a prior which can be used routinely, without requiring the user to specify any hyperparameters; while the choices below may appear ad-hoc, they have been found to work remarkably well across a wide range of datasets. After adopting the following default prior, users may wish to further tune the number of trees , the parameter in the prior for , or use additional information regarding the targeted sparsity level. We stress, however, that a reasonable baseline level of performance is obtained without the need to do any further tuning.
Following Chipman et al., (2010), we recommend scaling so that most/all of the responses fall in the interval . We also preprocess so that approximately by applying a quantile normalization in which each is mapped to its rank, with and . We then apply a linear transformation so that the values of are in $XX$, which is a highly desirable property of the original default BART model.
We now describe our default prior for the bandwidths and the splitting proportions . We use a sparsity-inducing Dirichlet prior,
Our theoretical results require , however in practice we find that setting works adequately. This Dirichlet prior for was introduced by Linero, (2016); throughout, we refer to the BART model with (3) as Dirichlet additive regression trees (DART) to contrast with BART when no such sparsity-inducing prior is used. The parameter controls the expected amount of sparsity in . Conditional on there being branches in the ensemble, the number of predictors included in the ensemble is converges in distribution to where and (Linero,, 2016) when . When prior information is available on the sparsity of , we can choose to match the targeted amount of sparsity. By default we use a compound Gamma prior, with . This prior attempts to strike a balance between the sparse and non-sparse settings by having an infinite density at , median , and an infinite mean.
There are several possibilities for choosing the bandwidth . In preliminary work, using tree-specific ’s shared across branches in a fixed tree worked well, with where . Our illustrations use , which, as shown in Figure 3, gives a wide range of possible gating functions. An interesting feature of the sampled gating functions is that both approximate step functions and approximately linear functions are supported.
We give a half-Cauchy prior, . Again following Chipman et al., (2010), is an estimate of based on the data. We use an estimate of obtained by fitting the lasso using the glmnet package in R.
The model has hyperparameters . In preliminary work, we did not have success placing priors on and , and instead fix and (Chipman et al.,, 2010). We give a half-Cauchy prior, , where is chosen so that has median equal to the default value recommended by Chipman et al., (2010).
An important remaining specification is the number of trees to include in the ensemble. The theoretical results we establish in Section 3 make use of a prior distribution on ; however, our attempts to incorporate a prior on using reversible jump methods (Green,, 1995) resulted in poor mixing of the associated MCMC algorithms. Generally, we have found that fixing at a default value of or is sufficient to attain good performance on most datasets. Tuning further often provides a modest increase in performance, but may be worth the effort on some datasets (see Section 4.3).
There are a number of possible options for tuning , such as approximate leave-one-out cross validation using Pareto-smoothed importance sampling (PSIS-LOO) (Vehtari et al.,, 2015), maximizing an approximate marginal likelihood obtained using (say) WBIC (Watanabe,, 2013), or -fold cross validation as recommended by Chipman et al., (2010). The advantage of WBIC and PSIS-LOO is that they require fitting the model only once for each value of . In practice, we have found that approximations such as WBIC and PSIS-LOO are unreliable, with PSIS-LOO prone to overfitting and WBIC requiring potentially very long chains to estimate. Figure 4 displays the values of PSIS-LOO, a WBIC approximation of the negative marginal likelihood of (Watanabe,, 2013), and -fold cross validation, when used to select for a replicate of the illustration in Section 4.1 with predictors. Both WBIC and cross validation select , which also minimizes the root mean squared error . Resource permitting, we have found -fold cross-validation to be the most reliable method for selecting .
As a default we use the following priors throughout the manuscript.
4 Variable grouping prior
The sparsity-inducing prior (3) can be extended to allow penalization of groups of predictors simultaneously, in a manner similar to the group lasso (Yuan and Lin,, 2006). Suppose that the predictors can be divided into groups of size . We set
We primarily use the grouping prior to allow for the inclusion of categorical predictors through the inclusion of dummy variables. This is an extension of the approach used by the bartMachine package in R. An alternative approach to the inclusion of categorical predictors, used in the BayesTree package, is to construct decision rules based on a dummy variable where is a random subset of the possible values of predictor . In our illustrations, we let so that and set .
5 Posterior computation
We use the Bayesian backfitting approach described by Chipman et al., (2010) to construct a Markov chain Monte Carlo (MCMC) algorithm to sample approximately from the posterior.
Within Algorithm 1, is updated using a Metropolis-Hastings proposal. Proposals consist of one of three possible moves: Birth, which turns a leaf node into a branch node; Death, which turns a branch node into a leaf node; and Change, which changes the decision rule of a branch . A detailed description of these moves, and their associated transition probabilities, is given in the supplementary materials.
Constructing efficient updates for and requires marginalizing over . Because the errors are assumed Gaussian, this marginalization can be carried out in closed form. The main computational drawback of SBART relative to BART lies in this marginalization, as SBART requires computing a likelihood contribution for each leaf-observation pair, whereas BART only requires a single likelihood contribution for each tree. Hence, if the trees are deep, BART will be substantially faster. By the construction of the prior, trees generally are not deep enough for this difference to be prohibitive.
The Dirichlet prior allows for a straight-forward Gibbs sampling update, with the full conditional given by where c_{j}=\#\{b:\text{branchbj}\}. When the grouping prior (5) is used we also obtain simple Gibbs sampling updates, with and , where z_{m}=\#\{b:\text{branchbm}\} and c_{mk}=\#\{b:\text{branchbmk}\}.
Theoretical results
We study the theoretical properties of the SBART procedure from a frequentist perspective by assuming that are generated from the model with some true unknown regression function . We assume that is a function over . We prove posterior consistency results when is a member of certain Hölder spaces. Let denote the Hölder space with smoothness index , i.e., the space of functions on with bounded partial derivatives up-to order , where is the largest integer strictly less than and such that the partial derivatives of order are Hölder-continuous of order . Let denote the Hölder-ball of radius with respect to the Hölder norm (see Ghosal and van der Vaart,, 2017, Appendix C).
We consider the posterior convergence of the Bayesian fractional posterior obtained by raising the likelihood function by a factor in the Bayes formula
where denotes the prior probability measure over , the space over . Fractional posteriors have gained renewed attention in Bayesian statistics due to their robustness to model misspecification (Grünwald,, 2012; Miller and Dunson,, 2018). According to Walker and Hjort, (2001), the fractional posterior can be viewed as combining the original likelihood function with a data-dependent prior that is divided by a portion of the likelihood. This data dependent reweighting in the prior helps to prevent from possible inconsistencies by reducing the weights of those parameter values that “track the data too closely”. Additionally, the fractional posterior with permits much simpler theoretical analyses. Note that corresponds to the usual posterior distribution. Abusing notation slightly, we will also use to denote the prior probability measure over the parameters and any hyperparameters in the model. Our goal is to find a sequence such that, for a sufficiently large constant and fixed ,
In this section, we focus on establishing (7) for . The benefit of considering is that this allows us to bypass verifying technical conditions regarding the effective support of the prior and the existence of a certain sieve (Ghosal et al.,, 2000, 2007), which allows for (7) to be established under very weak conditions. In the supplementary material we establish posterior consistency for under more stringent conditions on the prior.
The main condition governing the posterior contraction rate is that the prior is sufficiently “thick” at , in the sense that there exists a such that
where denotes an -Kullback-Leibler (KL) neighborhood of the truth
and for any positive integer , .
Suppose Assumption G holds for the gating function . For any function , any , and , there exists a sum of soft decision trees with a single bandwidth for all branches,
where and are constants independent of .
With the help of this lemma, we establish (8) as a direct consequence of the following result, where we make the following assumptions on the prior distribution.
Assumption P (prior conditions):
The prior density of tree specific bandwidth parameters satisfies for some constants for all sufficiently small .
The prior on the splitting proportion vector is for some and .
for , where denotes the depth of tree and is as in Theorem 2.
In the supplementary material we show that under extra technical conditions on the prior, the usual posterior (fractional posterior with ) can attain the same rate of convergence as in Theorem 3 below. These extra conditions are needed to control the size of the effective support of the prior and show the existence of a certain sieve (Ghosal et al.,, 2000). In particular, Assumption P only needs certain lower bounds on the prior density (mass) functions, while Assumption SP in the supplementary material requires some upper bound on the tail prior probability of various parameters in the model.
(Prior concentration for sparse function) Suppose that Assumptions G and P are satisfied. Let be a bounded regression function that depends on at most covariates. Then there exists constants and independent of such that for all sufficiently large , the prior over regression function satisfies
where for any .
The following posterior concentration rate for sparse functions follows immediately from Theorem 2 and Theorem 3.2 in Bhattacharya et al., (2016) (see also Section 4.1 therein).
Suppose that Assumptions G and P are satisfied. Let be a bounded regression function that only depends on at most covariates. If and as , then for all sufficiently large constant , we have
where for any .
This result shows a salient feature of our sum of soft decision trees model — by introducing the soft thresholding, the resulting posterior contraction rate adapts to the unknown smoothness level of the truth , attaining a near-minimax rate (Yang and Tokdar,, 2015) without the need of knowing in advance. Our next result shows that if the truth admits a sparse additive structure , where each additive component is sparse and only depends on covariates for , then the posterior contraction rate also adaptively (with respect to both the additive structure and unknown smoothness of each additive component) attains a near-minimax rate (Yang and Tokdar,, 2015) up to terms, which leads to a second salient feature of the sum of soft decision tree model — it also adaptively learns any unknown lower order nonlinear interactions among the covariates.
Suppose that Assumptions G and P are satisfied. Let , where the th additive component belongs to , and is bounded and only depends on at most covariates for . If and as , then for all sufficiently large constant , we have
where for any .
Illustrations
A standard test case, initially proposed by Friedman, (1991) (see also Chipman et al.,, 2010), sets
This features two nonlinear terms, two linear terms, with a nonlinear interaction.
In this experiment, we consider observations, , and from to along an evenly-spaced grid on the scale of . We compare SBART to BART, DART, gradient boosted decision trees (xgboost), the lasso (glmnet), and random forests (randomForest). A similar experiment was conducted by Linero, (2016), who showed that the sparsity inducing prior used by DART resulted in substantial performance gains over BART. The purpose of this experiment is to demonstrate the further gains which are possible when the smoothness of (9) is also leveraged.
Methods are compared by root mean-squared error, which is approximated by Monte-Carlo integration. For the Bayesian procedures, we take to be the pointwise posterior mean of . DART, and SBART use their respective default priors and were fit using 2500 warmup iterations and 2500 sampling iterations, while cross-validation is used to tune the hyperparameters for BART. The non-Bayesian methods were tuned using cross validation for each replication of the experiment.
Results are given in Figure 5. Among the methods considered, SBART performs the best, obtaining a sizeable improvement over DART in both the low noise and high noise settings. Due to the use of a sparsity-inducing prior, both DART and SBART are largely invariant to the number of nuisance predictors, while random forests, BART-CV, and boosting have errors increasing in . The lasso also has stable, albeit poor, performance as increases.
We now compare SBART to DART for the task of variable selection (see Linero,, 2016 for a detailed comparison of DART, BART, random forests, and the lasso which found DART to perform best among these methods). Our goal is to assess whether leveraging smoothness can improve on the good variable selection properties of DART. We modify Friedman’s function, taking instead
where is a tuning parameter for the simulation. A variable is included if its posterior inclusion probability exceeds 50%. We consider . As measures of accuracy, we consider precision , recall , and score (harmonic mean of precision and recall), where and denote the number of true positives, false positives, and false negatives respectively.
Results for replications and are given in Figure 6, along with the average RMSE. First, we see that both DART and SBART have a precision which is roughly constant in , with SBART performing uniformly better. This makes intuitive sense, as varying should have little influence on whether irrelevant predictors are selected. The precision of both methods is heavily dependent on , and we see that SBART is generally capable of detecting smaller signal levels; at its largest, the difference in recall is about 10%. Once the signal level is high enough, both methods detect all relevant predictors consistently. The score reflects a mixture of these two behaviors. Perhaps most interesting is the influence of on the RMSE. As increases the performance of DART degrades while SBART remains roughly constant. Intuitively this is because, as increases, DART must use an increasing number of branches to capture the additional signal in the data, while SBART is capable of representing the effects corresponding to with fewer parameters.
2 Approximation of non-smooth and locally smooth functions
A potential concern with the use of soft decision trees is that they may not be able to capture fine-scale variability in the underlying regression function. An extreme example of this is when is a step function. We consider the regression function In this case, one might expect soft decision trees to perform suboptimally relative to hard decision trees because a soft decision tree must model the jump at in a continuous fashion.
Surprisingly, ensembles of soft decision trees can outperform ensembles of hard decision trees even in this case. Figure 7 shows fits of BART and SBART to data points and a high signal of . We see that both methods can capture the large jump discontinuity at . SBART performs better away from the discontinuity, however, because the level of smoothness is allowed to vary at different points in the covariate space. The trees responsible for the jump discontinuity have small ’s to effectively replicate a step function, while elsewhere the trees have large ’s to allow the function to essentially be constant.
The ability to select different ’s allows SBART to obtain a locally-adaptive behavior. To illustrate this, Figure 8 gives the fit of BART and SBART when is a highly localised Daubechies wavelet of smoothness order . We see that SBART is capable of adapting both to the constant regions outside of the support of the wavelet, and the fast oscillatory behavior within the support of the wavelet. The fit of BART, by contrast, possesses many artifacts outside the support of the wavelet, and possesses generally wider credible bands.
3 Benchmark datasets
We compare the SBART to various tree-based and non-tree-based methods on several benchmark datasets. We consider BART, DART, the LASSO (glmnet), random forests (randomForest), and gradient boosted decision trees (xgboost). The parameters for the non-Bayesian procedures were chosen, separately for each fit, using the caret package. Default priors (with ) for SBART and DART were used; additionally, we consider selecting the hyperparameters of SBART and BART by cross validation.
Ten datasets are considered. Aside from bbb and wipp, the datasets are a subset of those considered by Kim et al., (2007). While we consider only a subset of these datasets, no datasets considered for this experiment were omitted. Attributes of these datasets are presented in Table 1. The response in each dataset was transformed to be approximately Gaussian. The bbb, triazines, and wipp datasets were also considered by Linero, (2016) to illustrate features of the sparsity-inducing priors for decision tree methods.
Results of the experiment are given in Table 1. Methods are compared by an estimate of their root mean predictive error obtained using -fold cross-validation, with the results averaged over replications of the cross-validation. For each experiment, the root mean predictive error for each method is normalized by the root mean predictive error for SBART-CV, so that scores higher than 1.00 correspond to worse performance than SBART and scores lower than 1.00 correspond to better performance than SBART.
SBART/SBART-CV is seen to perform very well in practice, attaining the best performance on 8 out of the 10 datasets. The results here are consistent with the general observation of Chipman et al., (2010) that BART outperforms gradient boosting and random forests in aggregate over many datasets. Two datasets stand out as particularly interesting. First, for the tecator dataset, SBART outperforms all other methods by a very wide margin, indicating that leveraging smoothness for this dataset is essential to attaining good performance. Second, the only dataset for which SBART-CV substantially outperforms SBART is the hatco dataset, where tuning the number of trees is required to attain optimal performance. This indicates that, for most datasets, the default SBART procedure works very well, but that if one wants to be absolutely sure of optimal performance they should tune .
Discussion
We have introduced a novel Bayesian sum-of-trees framework and demonstrated that it is capable of attaining a meaningful improvement over existing methods both in simulated experiments and in practice. This was accomplished by incorporating soft decision trees and sparsity-inducing priors. We also provided theoretical support in the form of near-optimal results for posterior concentration, adaptively over smoothness classes, when is a sparse, or additive, function.
While this paper has focused only on the case of nonparametric regression, the proposed methodology extends in a straight-forward manner to other settings. For example, the case of binary classification can be addressed in the usual way via a probit link and data augmentation.
Our theoretical results concern the rate of convergence of the posterior. Another relevant question is whether the model can consistently estimate the model support. That is, one can ask under what conditions as , where S=\{p:\text{predictorpappears in the ensemble}\} and S_{0}=\{p:\text{f_{0}p}\}. This is an interesting area for future research.
Software which implements SBART is available online at https://github.com/theodds/SoftBART, and is undergoing active development. Our code is based on the implementation of BART in the BayesTree package. Given enough optimization, we hope that our implementation could reach speeds within a modest factor of existing highly-optimized implementations of BART (Kapelner and Bleich,, 2016).
Appendix A Proof of Lemma 1
Let denote a -dimensional tensor product of the rescaled one dimensional kernel in Assumption G, where recall that is the bandwidth parameter in the gating function. Let denote the normalization constant of , so that we can write , and the rescaled kernel function is has an unit normalization constant. Also write . It is easy to verify that also satisfies the two conditions in Assumption G, though it may not be associated to any .
Our proof is composed of three steps. First, we provide error bound estimates of approximating any -smooth function by a convolution with some carefully constructed function for any . Second, we show that any continuous convolution can be approximated by a discrete sum with at most atoms. Lastly, we provide an error bound estimate on approximating this sum of kernels with a sum of soft decision trees by identifying each kernel component as one particular leaf in the th soft decision tree whose depth is at most via splitting at most times, for .
Step 1: This step is follows as a direct result of the following lemma, which is adapted from Lemma 3.4 of De Jonge et al., (2010).
Under Assumption G, for any , there exist some constants independent of , and a function satisfying , such that
where satisfies , with independent of .
Step 2: This step generalizes the theory of approximating a continuous one-dimensional density function from by a mixture of Gaussians developed in Ghosal and Van Der Vaart, (2007) to by a location mixture of any kernel satisfying Assumption G. We also extend their result from density estimation to general function estimation as demanded in our regression setting, where the target function may not integrate to one and can take negative values. First, we state an extension of Lemma 3.1 of Ghosal and Van Der Vaart, (2001) from dimension one to dimension , and from the Gaussian kernel to any kernel satisfying Assumption G.
Under Assumption G, for any probability density function on , any , and , there is a discrete measure with support points such that and
where are independent of and .
We only sketch the key difference in the proof from Lemma 3.1 of Ghosal and Van Der Vaart, (2001) in the one-dimensional case, and a proof for extending the result from one-dimensional case to the multi-dimensional case follows similar lines as in the proof of Theorem 7 in Shen et al., (2013) (by replacing the Gaussian kernel with the kernel ).
The only key property of the Gaussian kernel used in the proof of Lemma 3.1 of Ghosal and Van Der Vaart, (2001) is in bounding the remainder term in the -th order Taylor expansion in their equation (3.11), where they used the fact that for any , the th order derivative of the standard Gaussian density function at the origin satisfies the bound
for some sufficiently large constant (since we only focus on the approximation error over the unit interval $\log(1/\varepsilon)kK_{\kappa}:\,=\tau^{-1}\,K(\cdot/\kappa)\kappa>0CK(\cdot)\mathcal{S}(\rho)K$ to denote this extension), which implies by applying Cauchy’s integral formula that
where the closed path is chosen as a counter-clockwise circle centering at the origin with radius . Since is uniformly bounded on the path by Assumption G, we can further deduce that
holds as long as , where is some constant only depending on , which completes the proof. ∎
With this lemma on the density function approximation as our preparation, we now return to the problem of approximating any general bounded function over . Notice that we always have the decomposition where and are the positive parts and negative parts of , respectively, and both of them are nonnegative and bounded over . Let and. It is obvious that and are two legitimate pdfs over . By applying Lemma 6, we can find two discrete measures and such that
for any and . Now we combine these two discrete measures into a new discrete signed measure , which will be denoted as \sum_{t=1}^{T}\mu_{t}\,K^{(d)}_{\tau}\big{(}\cdot-x_{t}). Then and
for all . Moreover, we have .
Finally, a combination of steps 1-3 together yields a proof of the lemma.
Appendix B Proof of Theorem 2
For convenience, we use the same notation to denote some constant independent of , whose value may change from line to line. Without loss of generality, we may assume that depends only on its first coordinates. Applying Lemma 1, we obtain that for some parameters and to be determined later, there exists some such that , , and the total number of splits (all are along the first coordinates) across all trees are at most ( many leaves in total).
Recall that our prior over the sum of soft decision tree function is specified in a hierarchical manner: first, we specify the number of trees and the tree topology ; second, conditional on these we decide the coordinates in all splits across all the decision trees; third, we sample the independent splitting locations along all the selected coordinates; last, we sample bandwidth parameters associated with each tree and parameters ’s associated with all leaves across the trees. We denote by and the corresponding number of trees and the tree topology of .
then we have the following perturbation error bound by applying the triangle inequality,
Now we apply Theorem 2.1 in Yang and Dunson, (2014) on the prior concentration probability for high-dimensional Dirichlet distribution and Assumption P3 to obtain that the splitting proportion vector satisfies
This combined with the fact that each tree has depth at most and Assumption P5 implies that the prior probability of given can be lower bounded by
where we have used the fact that in the last step. The perturbation error bound in (10) implies
where in the last step we applied Assumptions P2 and P4, and used the fact that for some constant only dependent of (due to Lemma 1). Putting all pieces together and using Assumption P1 and the properties of , we obtain
Therefore, by choosing , , , we can obtain the claimed prior concentration probability lower bound as \Pi\big{[}\|f-f_{0}\|_{\infty}\leq C\,\varepsilon_{n}\big{]}\geq\exp\{-C\,n\,\varepsilon_{n}^{2}\}.
Appendix C Proof of Theorem 4
Using Theorem 3.2 in Bhattacharya et al., (2016) (see also Section 4.1 therein), it suffices to show that \Pi\big{[}\|f-f_{0}\|_{\infty}\leq C\,\varepsilon_{n}\big{]}\geq\exp\{-C\,n\,\varepsilon_{n}^{2}\}. The proof of this is almost the same as that of Theorem 2, the only difference is that now we apply Lemma 1 to find functions , where contains trees and approximates the th additive component in for , and set . Due to the additive structure in our sum of soft decision tree model, we can always write where collects trees and has the same sum of soft decision tree prior structure when conditioning on the total number of trees , and the conditional priors of given and the splitting proportion vector are independent. Let \mathcal{S}=\big{\{}s_{j}\geq(2d)^{-1}\mbox{ for }j=1,\ldots,d,\mbox{ and }\sum_{j=d+1}^{p}s_{j}\leq d^{-1}\big{\}} denote the event in inequality (11) with . Therefore, we obtain by applying Assumption P, the prior concentration bound (11) for , and Theorem 2 for a single (choose parameters for each as in the proof of Theorem 2) that
where constants , and .
Acknowledgments
This work was partially supported by NSF grant DMS-1712870 and DOD grant SOT-FSU-FATs-16-06.