TL;DR
GRANDE is a novel machine learning model that brings the flexibility of end-to-end gradient descent to hard, axis-aligned decision tree ensembles. By introducing an innovative instance-wise weighting scheme and a custom differentiable split function, GRANDE outperforms state-of-the-art tabular models like XGBoost and CatBoost while offering superior local interpretability.
What Problem Does This Paper Address?
While deep learning (DL) has conquered text and image domains, traditional tree-based ensemble models (like XGBoost, LightGBM, and CatBoost) remain the undisputed champions of heterogeneous tabular data. This is largely because tabular data is often irregular and piece-wise constant. DL models suffer from a "spectral bias" that forces them to learn overly smooth functions, whereas traditional decision trees naturally learn hard, axis-aligned splits.
However, the machine learning community wants to use gradient-based methods for tabular data. Gradient descent offers immense flexibility: it allows for custom differentiable loss functions, iterative online training, and seamless integration into multimodal architectures (e.g., a neural network that takes in an image and a tabular patient record). Existing DL approaches for tabular data (like NODE) try to bridge this gap using "soft" or oblique splits, but they lose the crucial inductive bias of hard, axis-aligned trees. The authors of this paper set out to combine the best of both worlds.
Methods
GRANDE (GRAdieNt-Based Decision Tree Ensembles) builds upon a recent technique called GradTree, extending it from single trees to full ensembles. Key innovations include:
- Dense Representation & Straight-Through (ST) Operator: GRANDE represents trees as dense matrices, allowing for efficient parallel computation. To handle the non-differentiable nature of "hard" splits (e.g., $x > 5$), the model uses an ST operator. This allows the model to make hard, discrete routing decisions during the forward pass, while smoothly approximating the gradient during the backward pass.
- Softsign Split Function: Typically, differentiable trees use a sigmoid or entmoid function to approximate splits. GRANDE introduces a scaled softsign function. This function maintains strong, responsive gradients for data points close to the decision threshold, but crucially, its gradients don't vanish as rapidly as a sigmoid's for data points far from the threshold.
- Instance-Wise Estimator Weights: This is GRANDE's standout feature. Instead of assigning a single, static weight to each tree in the ensemble, GRANDE learns weights for every leaf of every tree. For any given data point, the model looks at which leaves the point lands in, and applies a softmax across those specific leaf weights. This dynamically calculates how much "trust" to place in each tree on a strictly per-instance basis.
Datasets
The authors evaluated GRANDE on a predefined benchmark of 19 binary classification datasets sourced from the OpenML Benchmark Suites.
- To avoid "cherry-picking" datasets that favor their model, the authors used strict, objective selection criteria proposed by previous literature.
- Datasets range in size and complexity, including well-known benchmarks like
adult,wdbc,PhishingWebsites,churn, andnumerai28.6.
Key Insights and Ideas
- Hard splits are non-negotiable for tabular data: The paper reinforces the growing consensus that the inductive bias of hard, axis-aligned splits is exactly why tree models beat deep learning on tabular data. By successfully optimizing hard splits with gradient descent, GRANDE proves you don't have to sacrifice this bias to get the benefits of backpropagation.
- Ensembles benefit from "Local Experts": The instance-wise weighting scheme means GRANDE doesn't force every tree to be a generalist. A specific tree can learn a very simple, highly confident rule for a small subset of the data. When a sample matches that rule, that single tree's weight spikes, dominating the ensemble's prediction.
- Interpretability for free: Because of these local experts, GRANDE offers excellent local interpretability. For a given prediction, you can simply look at the tree with the highest instance-wise weight. In a case study on phishing websites, the authors showed that GRANDE often relies on a single, easily readable rule (e.g., "If the URL has a prefix/suffix, it's phishing") to make a prediction, whereas XGBoost and CatBoost require complex, global explanations.
Key Results
- State-of-the-Art Performance: Across the 19 datasets, GRANDE achieved the highest Mean Reciprocal Rank (MRR) of 0.702, outperforming CatBoost (0.570), XGBoost (0.417), and the deep learning baseline NODE (0.395) when using optimized hyperparameters.
- Strong Out-of-the-Box: Deep learning models are notoriously finicky with hyperparameters. GRANDE, however, also ranked #1 using default hyperparameters (MRR of 0.640 vs. CatBoost's 0.522).
- Efficiency: GRANDE averaged 47 seconds per dataset during training. While this is significantly faster than deep learning competitors like NODE (~130 seconds), it is still slower than highly optimized, non-gradient GBDT frameworks like XGBoost.
Limitations and Future Work
- Speed: Because it relies on gradient descent and dense matrix operations, GRANDE cannot currently match the raw training speed of highly optimized, GPU-accelerated GBDT libraries like XGBoost.
- Architecture Depth: The current version of GRANDE is a "shallow" ensemble.
- Future Directions: The authors note that because GRANDE is fully differentiable, future work can easily extend it. Promising directions include adding categorical embeddings, stacking multiple layers of trees (deep forests), and directly plugging GRANDE layers into larger deep learning pipelines for multimodal tasks.
Summary updated