Machine Learning
Neural Networks That Learn From Decision Trees Show Strong Gains on Classification Tasks
A new approach builds interpretable deep learning models by encoding the structure of tree ensembles directly into neural network architecture.
Researchers have developed a novel neural architecture that bootstraps its structure from decision trees, creating models that are both more transparent and competitive in predictive power. Known as Symbolic Branch Networks (SBNs), these models map the logical pathways of tree ensembles into neural components, maintaining a clear link between what the network learns and how decisions are reached.
How the Architecture Works#
The key innovation lies in how SBNs translate tree structure into neural form. Each path from the root node to a leaf in a decision tree becomes a branch neuron in the network. Two weight matrices then capture the relationships: one connects input features to branches, while the other connects branches to class predictions. This design preserves the original ensemble's decision logic while allowing gradient-based training to refine the feature connections.
Performance Gains#
Testing across 29 tabular datasets, the approach (specifically the configuration that retrains feature-to-branch weights while holding class weights fixed) improved on the teacher ensemble in 28 of 29 cases. Mean accuracy jumped from 84.0% to 87.9%. While not matching the state-of-the-art results of TabPFN (91.3%), SBNs substantially outperformed the base ensemble and achieved performance comparable to XGBoost (87.3%). A statistical test confirmed the improvement was highly significant (p < 0.0001).
Interpretability Benefits#
Beyond accuracy, SBNs enable direct interpretation of their decisions. Global feature importance emerges naturally from the tree-induced connectivity structure, and individual predictions can be traced to specific branch neurons and their contributing features. However, stability analysis across multiple independently trained ensembles revealed a tradeoff: while the network consistently produced the same predictions for given instances, the local feature rankings for those predictions showed only partial consistency.
Significance#
The approach bridges a persistent gap in machine learning: delivering neural network flexibility and optimization without sacrificing the explainability that tree-based models provide. The explicit mapping between branches and neurons creates a foundation for understanding both what the network predicts and why.