Paper commentary
Clustering-Based Artificial Tree Ensembles for Random Forest Approximation
- Problem Random Forests predict well but are hard to read, and a single representative tree may miss patterns spread across the forest.
- Method Partitions the trees of an RF into k clusters with MDS and k-means, then builds one MRT or one ART per cluster and averages the trees' predictions as in an RF.
- Results In the linear simulation, ARTEs reached lower BIC-type values than MRTEs and MRTs at the same fixed k, and ARTE results were incomplete for five of 19 benchmark datasets.
Why one tree is not enough to explain a forest
Random Forests combine many trees and therefore resist direct reading, even though they are known for strong prediction performance. Variable importance measures show how strongly a variable influences predictions, but they say little about interactions between variables or about the decision paths inside the ensemble.
A surrogate is an easy-to-read model that should stay close to the forest, and one option trains such a model on the forest's own predictions, which mainly reproduces outputs rather than the forest's structure. Representative trees take a different route by reusing splitting rules that actually occur in the forest, so the surrogate keeps more of the forest's structure while still tracking its predictions.
One representative tree can leave out patterns that appear only in some parts of the forest, which yields an explanation that is too simple. Grouping the trees into clusters and taking one representative per cluster is a way to cover more of this variety.
Earlier clustering work on forests explored how trees differ and made the ensemble easier to visualize, but it did not test the predictive performance of the resulting ensembles or their use as surrogates.
How MRTs, WSV distances and ARTs are built
Distances can be based on the similarity of predictions or on the splitting variables used by each tree, and the splitting-variable version is called SV.
The WSV metric changes the SV idea by weighting each use of a variable by the depth of its split, so splits close to the root contribute more to a tree's usage score. The distance between two trees is the sum over all variables of the squared differences between their usage scores.
An ART is not chosen from the forest but constructed from splits that occur in the forest's trees, so the new tree resembles the forest without necessarily being one of its members. Because the split choice at each node is random, a single tree may place a weak variable first, which can mislead an interpretation; the ART was proposed to address this.
The imp.num.var hyperparameter limits the ART to the most important variables, either with a fixed count or with the Boruta variable selection procedure based on statistical tests. Continuous splits can be restricted to chosen quantiles, such as the 25%, 50% and 75% quantiles, and min.bucket requires each child node to keep at least that many observations before a split is made.
Clustering RF trees into representative ensembles
The trees of the forest are partitioned into k clusters, and one MRT or one ART is taken from each cluster, which gives an MRT ensemble (MRTE) or an ART ensemble (ARTE). With k equal to 1 the procedure reduces to the single-tree MRT or ART approach applied to the whole forest.
The ensemble prediction is formed the same way as in a forest, by averaging the predictions of the member trees in regression. Naively taking the top k MRTs ranked by average similarity is the alternative the clustering is meant to improve on, since those trees may be similar to one another.
The clustering step embeds the pairwise tree distances with multidimensional scaling and then applies k-means to the first two MDS components. MRTEs and ARTEs share the same cluster assignments because the clustering inputs and the random seed are identical. For ARTEs, the number of clusters can also be chosen automatically, and a further cluster is accepted only when the within-cluster improvement exceeds 10%.
Randomly selected RF trees, taken in the same number as the clustered members, form the RT ensembles used as an additional baseline.
Designing the linear and nonlinear simulations
The linear scenario generates a regression outcome from four effect variables, y = X1 + X2 + X3 + X4 + N(0, 0.2), with each effect variable drawn from a standard normal distribution. Noise variables X5 to X88 are standard normal, and two effect variables and two noise variables each get three correlated companions, with correlation 0.9 for X1 and X5 and correlation 0.3 for X2 and X6.
Each linear dataset contains 100 variables and 1000 observations, and 200 datasets are simulated, half for training and half for testing.
The nonlinear scenario follows Friedman and Popescu, with 100 independent variables drawn uniformly from {0, 0.1, ..., 0.9}, of which the first eight are effect variables and the remaining 92 are noise variables. Gaussian noise is set so that the signal-to-noise variance ratio is 2:1, and each dataset has 5000 training and 1000 test observations.
Each RF has 500 trees with mtry equal to 10 and min.node.size equal to 100. The ARTEs use min.bucket equal to 100 and probs quantiles of (0.25, 0.5, 0.75), and the variable count is chosen by Boruta rather than fixed, since the best count varies between datasets.
Two sensitivity analyses vary the settings of ARTEs in the simulations: imp.num.var is set to Boruta, to a fixed 10, or to 100, and the clustering is switched between WSV-based, prediction-based and random assignment. Each analysis uses 100 repetitions, and the other settings stay at their main-analysis values.
How fidelity, accuracy, complexity and stability are scored
Fidelity is the mean squared error between the predictions of a surrogate ensemble and those of the RF on test data, and it is used for MRTs, MRTEs, ARTEs and RT ensembles alike. Accuracy is the mean squared error between the ensemble predictions and the true outcomes on test data.
Complexity is combined with accuracy in a BIC-type criterion adapted from Grubinger et al., with their conservative default of alpha equal to 1 as the complexity penalty. Instead of the tree size of a single tree, the criterion counts the total number of terminal nodes across all trees of the ensemble, and lower values mean a better trade-off between accuracy and size.
Stability is measured on a common reference dataset of 1000 observations per scenario, using the models trained in the 100 repetitions. Predictions are compared pairwise by mean squared differences and averaged over all pairs, so lower values indicate that predictions agree more across repetitions.
CPU time is the user time for building the surrogate, excluding RF training and evaluation, and it was measured on heterogeneous cluster nodes, so the times show rough effort and not a controlled comparison.
What the simulations show for fidelity, accuracy and complexity
The deviation from the RF falls as k grows, and at the same fixed k ARTEs deviate less from the RF than MRTEs and MRTs, most clearly for small ensembles. Ensembles chosen automatically vary more than those with a fixed k.
In the linear scenario, a single ART gives a lower test MSE than a single MRT, while MRTEs and MRTs do better as k grows and approach the RF's MSE. In the nonlinear scenario the three methods differ less in test MSE.
The BIC-type criterion rises with ensemble size in both scenarios. In the linear scenario ARTEs reach substantially lower values than MRTEs and MRTs, and in the nonlinear scenario the gap is smaller while ARTEs still stay lower at the same fixed k.
ARTs contain far fewer splits than the other trees in the linear scenario, and the total number of terminal nodes grows with k for every method. SV distances are much lower for ARTEs than for MRTEs, MRTs and RT ensembles, while the WSV distances depend on the scenario: they are largest for ARTEs in the linear case and smaller than for MRTEs and RT ensembles in the nonlinear case.
The authors point out that sharing split variables does not imply that they sit at similar depths, which the WSV distance captures.
In the nonlinear scenario ARTs cover a larger share of effect variables, and in both scenarios ARTs rarely split on noise variables while the other methods use them much more often.
Prediction differences across repetitions shrink as k grows, and ARTEs show smaller differences than MRTEs and MRTs at the same fixed k, most clearly for small ensembles. The median user CPU time was 11.74 minutes for ARTEs with Boruta, compared with 0.0100 minutes for MRTEs and 0.0083 minutes for MRTs.
In the nonlinear scenario, allowing all 100 variables raises noise variable usage, SV distances, terminal-node counts and BIC-type values, and Boruta needs far more CPU time than either fixed setting.
Prediction-based clustering gives slightly lower deviations from the RF and slightly lower test MSE than WSV-based clustering, with similar variable usage and complexity.
Setting up the benchmark on real regression data
The benchmark starts from 33 OpenML datasets of the AutoML Benchmark Regression Collection (ID 269), with between four and 4992 variables and between 240 and 10 million observations.
Each dataset is split by seven-fold cross-validation, and each RF has 500 trees with mtry set to the floor of the square root of p and a minimum node size of 0.1 times the training size. Only datasets whose out-of-bag R2 exceeds 0.3 are kept, and 19 datasets pass this filter.
ARTEs use WSV for both clustering and ART construction, and Boruta with automatic imp.num.var, with min.bucket set to the floor of 0.1 times the training size and the same probs quantiles as in the simulations. A repetition that exceeds 15 hours of construction time is not completed, and a method enters the figures only when all of its repetitions finish in time.
Because each cross-validation model has different held-out folds, all models predict the same full preprocessed dataset when prediction stability is measured.
Fidelity, accuracy and complexity on benchmark datasets
For most datasets MRTs and MRTEs show lower MSE than ARTEs, and the ARTE MSE moves toward the MSE of the RF as k increases. RT ensembles reach MSE values similar to MRTs and MRTEs at larger k.
At larger fixed k ARTEs usually have lower BIC-type values than MRTs and MRTEs, which the authors link to their smaller total number of terminal nodes. Taken together, ARTEs trade some fidelity and accuracy for compactness at larger k, which the authors describe as a trade-off between accuracy and complexity.
Prediction distances across cross-validation folds shrink as k grows, and ARTEs often show smaller distances for small fixed ensembles. Median runtimes were below 0.00 minutes for RT ensembles, 0.01 minutes for MRTs and 0.01 minutes for MRTEs, and 12.05 minutes for ARTEs with variable selection.
WSV-based and prediction-based clustering often give lower deviations from the RF than random clusters, with the largest differences for boston, house 16H, socmob and space ga, and neither WSV-based nor prediction-based clustering consistently wins. Prediction stability with clustering improves with k under all three procedures, but neither clustering method consistently produces smaller prediction distances than random clustering.
Choosing an ensemble type for the surrogate use case
MRTEs tend to give higher fidelity and accuracy on the benchmarks, while ARTEs give more compact surrogates, so the choice depends on whether size or closeness to the forest matters more. The authors caution that a lower BIC-type value alone does not show that fidelity is adequate, so deviation from the RF and test MSE should be read alongside complexity.
Adding more trees to an ARTE may add little structural insight, because its trees are more similar to one another than MRTE trees are. Small ART ensembles are therefore the setting the authors recommend when a compact representation is wanted and its fidelity and accuracy meet the application's needs.
The comparison with random clustering suggests that similarity-based clustering improves fidelity beyond what averaging several ARTs achieves, but its gains in accuracy and stability are less consistent on benchmark data.
Limits of the evidence
ARTE results were incomplete for five benchmark datasets because construction exceeded the 15-hour limit, and Table B1 lists 253 missing ART ensemble results in total. Only complete ARTE results are shown, so the ARTE comparisons may favor datasets that are computationally manageable.
ARTEs use variable preselection and split constraints, whereas MRTs and MRTEs choose existing forest trees without these restrictions, and the sensitivity analysis varies only the preselection, not the split constraints or the construction itself. Random clusters have approximately equal sizes, whereas similarity-based clusters may not, so the random-clustering comparison does not fully separate cluster composition from cluster size.
The stability analyses cover only the variability of individual predictions, and the stability of cluster assignments and representative tree structures was not assessed. The findings cover the simulated settings and the benchmark datasets that passed the out-of-bag R2 filter, and user studies are named as future work to test whether these ensembles help interpretation.
Paper info
- Authors
- Lea L. Kronziel, Maren S. Wieder, Silke Szymczak, Björn-Hergen Laabs
- Venue
- arXiv · Preprint
- First published
- 2026-11-13
- Added
- 2026-11-17
- Updated
- 2026-11-13
- Version
- v1
- arXiv
- 2611.18803
- Category
- cs.LG
- Original paper terms
- CC BY 4.0
- What we show
- Paper info, commentary and permitted figures from the original paper
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Abstract
Random Forests (RFs) offer strong prediction performance but are difficult to interpret. Most representative trees (MRTs) and artificial representative trees (ARTs) provide surrogate explanations, but a single tree may miss patterns within a forest. We investigate benefits and limitations of clustering-based representative tree ensembles for RF surrogate modeling and assess the contribution of similarity-based clustering relative to random tree partitions. Using linear and nonlinear simulations and regression benchmarks, we evaluate fidelity, prediction accuracy, complexity, and prediction stability against equally sized ensembles of top-ranked MRTs and randomly selected trees. Increasing ensemble size generally improves fidelity, accuracy, and prediction stability. ART ensembles show higher fidelity in simulations and often greater prediction stability for small ensembles. Compared with random tree partitions, similarity-based clustering generally improves ART fidelity in simulations and often on benchmarks. On benchmark datasets, MRT-based ensembles generally achieve higher fidelity and prediction accuracy, whereas ART ensembles have fewer terminal nodes. ART ensembles provide compact surrogates when reduced complexity matters and their fidelity and prediction accuracy meet application requirements. These findings clarify both the trade-offs of representative tree ensembles as RF surrogates and the contribution of similarity-based clustering beyond random clustering.
Quote from the paper
Lea L. Kronziel, Maren S. Wieder, Silke Szymczak, Björn-Hergen Laabs (2026). Clustering-Based Artificial Tree Ensembles for Random Forest Approximation. arXiv:2611.18803v1. https://arxiv.org/abs/2611.18803v1
BibTeX
@misc{kronziel2026clustering,
title = {{Clustering-Based Artificial Tree Ensembles for Random Forest Approximation}},
author = {Lea L. Kronziel and Maren S. Wieder and Silke Szymczak and Björn-Hergen Laabs},
year = {2026},
eprint = {2611.18803},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.18803v1}
}