A Neural Tangent Kernel Formula for Ensembles of Soft Trees with Arbitrary Architectures

Ryuichi Kanoh, Mahito Sugiyama

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

Decision tree ensembles, such as Random Forests and Gradient Boosting Decision Trees (GBDTs), are fundamental tools in machine learning. Despite their success, the choice of tree architecture—depth, symmetry, and branching structure—is often guided by heuristics rather than theory.

To provide a theoretical foundation, researchers have turned to soft trees, which utilize differentiable splitting rules. By applying the Neural Tangent Kernel (NTK) framework, we can describe the behavior of these ensembles in the limit of an infinite number of trees. Previous work was largely restricted to symmetric "perfect binary trees." This paper generalizes the NTK formula to ensembles of soft trees with arbitrary architectures, revealing fundamental principles governing their performance and stability.

Theoretical Framework: Rule Set Decomposition

The core of our approach is the decomposition of complex tree structures into simpler components. We define a "soft rule set" as a single path from the root to a leaf.

Figure 1: Different tree architectures (a-c) and their decomposition into rule sets (d), showing how various structures partition the input space.

We prove that any tree can be viewed as a collection of these rule sets. The resulting NTK for an arbitrary tree is simply the sum of the kernels of its constituent paths. This additive property allows us to analyze diverse structures, including those with shared parameters (like oblivious trees) or asymmetric branching, under a unified mathematical lens.

Key Insights

The "Leaf Count" Rule

Our analysis leads to a striking conclusion: in the infinite ensemble limit, the specific branching structure (isomorphism) of a tree is irrelevant. The behavior of the ensemble in function space is determined solely by the number of leaves at each depth.

Figure 5: Training trajectories for two different tree architectures (Shape A and Shape B) with the same leaf counts at each depth, demonstrating identical behavior in function space.

As shown in Figure 5, even when two ensembles use trees with different internal structures, their training trajectories remain identical if their leaf distributions across depths match. This suggests that the "shape" of a tree is less important than its capacity at various levels of complexity.

Asymmetry as a Cure for Degeneracy

A known issue with deep perfect binary trees is "kernel degeneracy," where the model loses the ability to distinguish between different inputs as depth increases. We demonstrate that asymmetric trees, such as decision lists, avoid this pitfall. Because they contain "short" paths to leaves even at high total depths, they preserve discriminative information. This makes asymmetric trees analogous to Residual Networks (ResNets) in deep learning, where skip-connections prevent signal vanishing.

Empirical Results

We validated our theory using 90 classification tasks from the UCI Machine Learning Repository. Our findings include:

  • Convergence: Finite ensembles converge to the derived NTK formula at a rate of $O(1/\sqrt{M})$, where $M$ is the number of trees.
  • Stability at Depth: While the accuracy of perfect binary trees plummeted as depth increased from 2 to 128, the performance of decision lists remained stable or improved.
  • Competitive Performance: Infinitely deep decision lists performed comparably to tuned GBDTs, outperforming them on 35 of the 90 datasets without requiring the same level of architectural tuning.

Conclusion

By deriving a general NTK formula for soft trees, we provide a new theoretical tool for understanding tree-based models. The discovery that leaf distribution—rather than exact branching—governs ensemble behavior simplifies the search for optimal architectures and highlights the inherent robustness of asymmetric tree structures in deep learning contexts.

Summary updated

BibTeX
@inproceedings{kanoh2023neural,
  author = {Ryuichi Kanoh and Mahito Sugiyama},
  title = {{A Neural Tangent Kernel Formula for Ensembles of Soft Trees with Arbitrary Architectures}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=V_06QV-kZX},
}
Figure