Analyzing Tree Architectures in Ensembles via Neural Tangent Kernel

Ryuichi Kanoh, Mahito Sugiyama · DOI

Abstract

A soft tree is an actively studied variant of a decision tree that updates splitting rules using the gradient method. Although soft trees can take various architectures, their impact is not theoretically well known. In this paper, we formulate and analyze the Neural Tangent Kernel (NTK) induced by soft tree ensembles for arbitrary tree architectures. This kernel leads to the remarkable finding that only the number of leaves at each depth is relevant for the tree architecture in ensemble learning with an infinite number of trees. In other words, if the number of leaves at each depth is fixed, the training behavior in function space and the generalization performance are exactly the same across different tree architectures, even if they are not isomorphic. We also show that the NTK of asymmetric trees like decision lists does not degenerate when they get infinitely deep. This is in contrast to the perfect binary trees, whose NTK is known to degenerate and leads to worse generalization performance for deeper trees.

Introduction

Ensemble methods, particularly Gradient Boosted Decision Trees (GBDTs) and Random Forests, are foundational tools in modern machine learning. While traditional trees use greedy, discrete splitting rules, "soft trees" employ differentiable, probabilistic splits (often using sigmoid functions), allowing the entire ensemble to be optimized via gradient descent.

Despite their popularity, choosing the optimal tree architecture—such as depth, symmetry, or parameter sharing—remains largely empirical. Recent theoretical work has applied the Neural Tangent Kernel (NTK) framework to soft trees, but these analyses were restricted to perfect binary trees. This paper bridges that gap by providing a general NTK formulation for arbitrary tree architectures, revealing fundamental principles that govern how tree shape influences learning dynamics.

Methodology: NTK for Arbitrary Soft Trees

To analyze complex architectures, the authors decompose any arbitrary tree into a collection of "rule sets." A rule set represents a single path from the root to a leaf node, effectively acting as a linear graph. The paper proves that the NTK of any tree is a weighted sum of the kernels of its constituent rule sets.

This decomposition leads to a closed-form expression for the NTK of any tree architecture. Crucially, this formula depends only on the distribution of leaves across different depths, rather than the specific connectivity or branching patterns of the tree.

The Leaf-per-Depth Rule

The most significant theoretical finding is the leaf-per-depth rule. It states that for an ensemble with an infinite number of trees, the behavior in function space is determined solely by the number of leaves at each depth.

Schematic of different tree architectures and their corresponding decision boundaries.

As illustrated in Figure 1, even if two trees are not isomorphic—for instance, one being a standard binary tree and another sharing parameters like an oblivious tree—they will exhibit identical training and generalization behavior if their leaf-per-depth counts match. This implies that parameter sharing, often thought to be a critical architectural choice, becomes "invisible" in the infinite-tree limit.

Asymmetry and the Prevention of Degeneracy

Deep perfect binary trees suffer from a phenomenon called degeneracy, where the NTK loses its ability to distinguish between different inputs as depth increases. This leads to a collapse in generalization performance.

The authors demonstrate that asymmetric architectures, such as decision lists, naturally avoid this collapse. Because decision lists maintain large splitting regions even at significant depths, they preserve the distinguishability of inputs. This structural property allows decision lists to remain effective at depths where symmetric trees would fail, drawing an intriguing parallel to the skip-connections in Residual Networks (ResNets).

Empirical Validation

The theoretical predictions were validated using 90 classification datasets from the UCI repository and synthetic experiments. The researchers confirmed that as the number of trees ($M$) in an ensemble increases, the behavior of finite models converges to the theoretical NTK limit.

Output trajectories of two different tree shapes (A and B) becoming nearly identical as the ensemble size increases.

As shown in the trajectory analysis, different tree shapes with the same leaf-per-depth distribution produce nearly identical function outputs during training. Furthermore, while the accuracy of perfect binary trees plummeted at depths beyond 10-15, decision lists maintained stable performance even at depths as high as 128.

Conclusion

By extending NTK analysis to arbitrary tree architectures, this work provides a rigorous foundation for understanding ensemble learning. The leaf-per-depth rule significantly simplifies the search space for Neural Architecture Search (NAS) in tree-based models. Moreover, the discovery that asymmetric structures prevent kernel degeneracy offers a clear theoretical justification for using deeper, non-symmetric trees in complex tasks.

Summary updated

BibTeX
@inproceedings{kanoh2023analyzing,
  author = {Ryuichi Kanoh and Mahito Sugiyama},
  title = {{Analyzing Tree Architectures in Ensembles via Neural Tangent Kernel}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=V_06QV-kZX},
}
Figure