Skip to main content
Back

Mannheim Researcher's GRANDE Beats XGBoost by Training Decision Trees Like Neural Networks

A doctoral thesis reformulates decision tree learning as a gradient descent problem, unlocking axis-aligned trees for tabular, multimodal, and reinforcement learning tasks.

Pro

  • A University of Mannheim doctoral thesis unifies GradTree, GRANDE, and SYMPOL under one gradient-based decision tree framework.
  • Uses a dense tree representation and straight-through operator to keep splits hard and axis-aligned while enabling backpropagation.
  • GRANDE beats XGBoost, CatBoost, and NODE on 19 tabular benchmarks with instance-wise leaf weighting for local interpretability.
  • SYMPOL trains PPO policies as axis-aligned trees with no post-hoc distillation, eliminating the information loss common in tree-based RL.
  • Full code available: GradTree, GRANDE, and SYMPOL repositories are public.
  • Limitations: dense representation scales poorly with feature count and depth, and high-cardinality categoricals still need special handling.

Decision trees have been stuck in a 60-year rut. Since the 1960s, the dominant way to build them has been greedy, top-down algorithms like CART and C4.5 that pick the locally best split at each node and never look back. A new doctoral thesis from Sascha Marton at the University of Mannheim argues that this greedy legacy is why trees fail to integrate with modern deep learning stacks, and proposes a full framework for training hard, axis-aligned decision trees end-to-end with gradient descent.

The thesis consolidates three peer-reviewed contributions: GradTree for single trees (AAAI 2024 oral), GRANDE for tree ensembles (ICLR 2024), and SYMPOL for reinforcement learning policies (ICLR 2025 spotlight). Together they show that trees don't have to be second-class citizens in a gradient-based world.

Why greedy trees hit a ceiling

Decision trees are commonly used for many machine learning tasks due to their high degree of interpretability. However, learning a DT from data is a difficult optimization problem, as it is non-convex and non-differentiable. Common approaches learn DTs using a greedy growth algorithm that minimizes the impurity locally at each internal node, and this greedy procedure can lead to inaccurate trees.

The thesis illustrates this with an Echocardiogram survival dataset where CART's locally optimal split on wall-motion-score produces a substantially worse tree than one that considers wall-motion-score conditioned on pericardial-effusion at the second level. Because CART commits to the top split first, it cannot see this globally better structure.

Beyond suboptimality, there is a second, more strategic problem: greedy trees cannot plug into modern pipelines. Multimodal architectures, reinforcement learning agents, and end-to-end training loops all speak the language of backpropagation. Trees traditionally do not.

The core trick: a dense representation plus a straight-through operator

The methodological heart of the thesis is a reformulation of a decision tree as a differentiable arithmetic function. The approach uses backpropagation with a straight-through (ST) operator on a dense DT representation to adjust model parameters during training, and a novel tree routing allows an efficient optimization of all parameters over an entire batch.

Concretely, three things had to be fixed to make trees differentiable while keeping them hard and axis-aligned:

  • Feature indices become one-hot matrices. Instead of storing a single categorical split index per node, each internal node holds a matrix over features, letting gradients flow through feature selection.
  • Thresholds become per-feature vectors. Split thresholds are stored feature-wise, so a threshold learned for one variable does not silently transfer to another during optimization.
  • Hard splits survive via the straight-through operator. In the forward pass a hardmax and a rounding step produce discrete routing decisions; in the backward pass those non-differentiable steps are skipped, and gradients propagate through an entmax and sigmoid instead.

The result is a tree that is genuinely axis-aligned at inference (one feature, one threshold per node) but jointly optimizable at training time. Leaves store probability distributions rather than hard class labels so standard cross-entropy losses work out of the box.

From single trees to ensembles: GRANDE

Single trees, even with global optimization, have limited capacity on complex tabular data. The thesis extends GradTree into GRANDE, a tree ensemble trained end-to-end. GRANDE is based on a dense representation of tree ensembles, which affords using backpropagation with a straight-through operator to jointly optimize all model parameters. It combines axis-aligned splits, which is a useful inductive bias for tabular data, with the flexibility of gradient-based optimization, and introduces an advanced instance-wise weighting that facilitates learning representations for both simple and complex relations within a single model.

The instance-wise weighting is a key departure from XGBoost-style ensembles. Instead of one scalar weight per tree, GRANDE assigns a weight to each leaf. For any given input, the weights along the traversed leaves are combined via softmax, so different trees can specialize in different regions of the input space. In a PhishingWebsites case study, a single depth-2 tree ends up accounting for 94% of the prediction weight for instances that satisfy a simple rule, effectively giving free local explanations inside an otherwise complex ensemble.

Numbers on tabular benchmarks

On a benchmark of 19 binary classification datasets selected via the OpenML CC18 process, GRANDE achieves the highest mean reciprocal rank (0.702) and normalized mean (0.776), beating CatBoost (0.570 MRR), XGBoost (0.417), and NODE (0.395). Even with default hyperparameters GRANDE stays on top, which matters for practitioners who don't want to run 250-trial Optuna searches.

For single trees, on binary tasks GradTree wins on 13 of 22 datasets versus 6 for CART, with a train-test gap of just 0.051 compared to 0.183 for CART, indicating markedly less overfitting. On multi-class tasks with many features, CART still edges ahead, a limitation the thesis attributes to the dense representation's parameter growth with feature and class counts.

Beyond tables: multimodal learning and RL

Because GRANDE is fully differentiable, it drops into a multimodal pipeline as a tabular backbone next to a ConvNeXt image encoder. On the PAD-UFES-20 skin lesion dataset, ConvNeXt + GRANDE reaches 0.956 ROC and 0.747 F1, beating ConvNeXt + MLP and ConvNeXt + ResNet variants.

The reinforcement learning contribution, SYMPOL, is arguably the most striking. Existing tree-based RL methods either distill a neural policy into a tree post-hoc (VIPER, SA-DT) or train soft decision trees that are then discretized. Both suffer from what the thesis calls information loss: the interpretable tree you inspect is not the policy that was actually optimized. SYMPOL directly optimizes an axis-aligned tree policy with PPO, using a neural network only for the critic.

Reported measurements include:

  • On control environments like CartPole, Acrobot, LunarLander, MountainCarContinuous, and Pendulum, SYMPOL matches or beats distilled SA-DT baselines and stays competitive with MLP policies.
  • On MiniGrid environments, SYMPOL outperforms alternatives by a substantial margin on LavaGap-7 and Empty-Random.
  • Cohen's D between validation and test reward is -0.019 for SYMPOL versus 3.449 for SA-DT (depth 5) and 3.126 for discretized soft DTs, confirming that the trained policy and the deployed policy are effectively the same model.
  • Trees learned by SYMPOL average 50.5 nodes, roughly one-sixth the size of depth-8 SA-DTs (291.6 nodes).

A goal-misgeneralization case study on DistShift makes the interpretability payoff concrete: inspecting the SYMPOL tree reveals that the agent has only learned to hug walls and avoid stepping into lava, not to actually navigate to arbitrary goals. That failure mode is invisible in a neural policy without dedicated probing.

Where it breaks and what's next

The thesis is candid about limitations. The dense representation scales poorly with very high feature counts and deep trees because memory grows with both. High-cardinality categorical features remain awkward. Gradients on split indices are informative only about whether the current feature is decent, not about which alternative would be better, so training can still be noisy. And unstructured modalities like raw images or text require frozen embeddings rather than joint training, because moving embeddings make threshold-based splits unstable.

Code for all three components is publicly available (GradTree, GRANDE, SYMPOL), with GRANDE runnable on GPU in under two minutes on most benchmark datasets. Future directions flagged include online learning, distillation from neural teachers using soft logits, unsupervised representation learning with tree-based clustering objectives, and recurrent tree variants for time series.

The broader claim is worth taking seriously: if hard, axis-aligned trees can be trained with the same optimizer as everything else in a modern ML stack, then the historical trade-off between tree-style inductive bias and deep learning-style composability may finally be negotiable.