[Paper Review] Random Forests for dependent data
This paper proposes RF-GLS, a novel extension of random forests that incorporates generalized least squares (GLS) to account for spatial dependence in geospatial data, significantly improving estimation and prediction over standard random forests. By modeling spatial correlation via Gaussian processes and adapting the RF loss function to GLS, RF-GLS achieves consistency under β-mixing dependence and outperforms existing methods in simulations, establishing the first theoretical consistency result for random forests under dependent data.
Random forest (RF) is one of the most popular methods for estimating regression functions. The local nature of the RF algorithm, based on intra-node means and variances, is ideal when errors are i.i.d. For dependent error processes like time series and spatial settings where data in all the nodes will be correlated, operating locally ignores this dependence. Also, RF will involve resampling of correlated data, violating the principles of bootstrap. Theoretically, consistency of RF has been established for i.i.d. errors, but little is known about the case of dependent errors. We propose RF-GLS, a novel extension of RF for dependent error processes in the same way Generalized Least Squares (GLS) fundamentally extends Ordinary Least Squares (OLS) for linear models under dependence. The key to this extension is the equivalent representation of the local decision-making in a regression tree as a global OLS optimization which is then replaced with a GLS loss to create a GLS-style regression tree. This also synergistically addresses the resampling issue, as the use of GLS loss amounts to resampling uncorrelated contrasts (pre-whitened data) instead of the correlated data. For spatial settings, RF-GLS can be used in conjunction with Gaussian Process correlated errors to generate kriging predictions at new locations. RF becomes a special case of RF-GLS with an identity working covariance matrix. We establish consistency of RF-GLS under beta- (absolutely regular) mixing error processes and show that this general result subsumes important cases like autoregressive time series and spatial Matern Gaussian Processes. As a byproduct, we also establish consistency of RF for beta-mixing processes, which to our knowledge, is the first such result for RF under dependence. We empirically demonstrate the improvement achieved by RF-GLS over RF for both estimation and prediction under dependence.
Motivation & Objective
- To address the poor performance of standard random forests in spatially dependent data due to ignored spatial correlation.
- To develop a principled extension of random forests that explicitly models spatial dependence using Gaussian processes and GLS.
- To establish theoretical consistency of the proposed method under β-mixing dependence, including the first consistency result for random forests under dependent data.
- To provide a framework that separates covariate effects from spatial random effects, enabling valid inference on non-linear covariate functions.
- To generalize the approach beyond spatial data to other dependent data types like time series.
Proposed method
- Proposes RF-GLS as a generalization of random forests where the node-splitting criterion is based on generalized least squares (GLS) instead of ordinary least squares (OLS), accounting for spatial correlation.
- Models the spatial dependence using a Gaussian process (GP) with a Matérn covariance function, embedding the spatial structure into the loss function.
- Uses a data-driven, nonparametric function class for the regression function, with tree-based basis functions that adapt to the data.
- Applies a GLS-style optimization to the ensemble of trees, ensuring that the final estimate accounts for the covariance structure of the errors.
- Employs a uniform law of large numbers under β-mixing dependence to establish theoretical consistency.
- Derives a general consistency result for GLS optimizers over data-driven function classes, applicable beyond RF-GLS.
Experimental results
Research questions
- RQ1How does ignoring spatial correlation affect the performance of standard random forests in geospatial data?
- RQ2Can random forests be systematically extended to handle spatially dependent data while preserving theoretical consistency?
- RQ3Does the proposed RF-GLS method outperform existing approaches like RF-RK and RFsp in estimation and prediction accuracy?
- RQ4Is there a theoretical foundation for random forests under dependent data, particularly for β-mixing processes?
- RQ5Can the GLS framework be generalized to other types of dependent data beyond spatial processes?
Key findings
- RF-GLS significantly outperforms standard random forests in both estimation and prediction across multiple simulation scenarios with spatially correlated data.
- The method achieves consistency for β-mixing dependent error processes, including the popular Matérn Gaussian process, establishing the first theoretical consistency result for random forests under dependence.
- Empirical results show that RF-GLS maintains superior performance even when spatial correlation is strong, unlike standard RF which degrades under such conditions.
- The proposed uniform law of large numbers under β-mixing dependence provides a new theoretical tool for analyzing GLS-style estimators in nonparametric regression with dependent data.
- RF-GLS can be extended to other dependent data types such as time series, demonstrating broader applicability beyond spatial data.
- The method successfully isolates the non-linear covariate effect $ m(\mathbf{x}) $ from the spatial random effect, enabling valid inference in mixed-model frameworks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.