Multi-Layered Gradient Boosting Decision Trees

Ji Feng, Yang Yu, Zhi-Hua Zhou

Deep learning's massive success in computer vision and natural language processing is largely due to its ability to learn hierarchical, distributed representations. Layer by layer, neural networks turn raw inputs into abstract concepts. However, this "magic" usually requires the model to be differentiable so that errors can be sent backward via backpropagation.

This leaves a huge gap for tabular and discrete data. For these datasets (such as medical records, financial logs, or click-through rates), Gradient Boosting Decision Trees (GBDTs) like XGBoost are still the reigning champions. But GBDTs are non-differentiable and "shallow," meaning they struggle to learn the complex, multi-layered features that make deep learning so powerful.

Researchers have finally found a way to give GBDTs the "deep" representation learning powers of neural networks. By using a variant of target propagation instead of backpropagation, the proposed mGBDT model can be trained across multiple layers without needing differentiable components or gradients.

Methods: Training Trees Without Backprop

The authors introduce the multi-layered GBDT forest (mGBDT). Instead of neurons, each layer consists of regression GBDTs. To train this stack without gradients, they use a technique called Target Propagation.

Architecture of mGBDT using target propagation.

The training process works as follows:

  1. Forward Pass: Data flows through the forward GBDT layers ($F_i$) to produce an output.
  2. Inverse Mapping: For every forward GBDT, the model learns a "pseudo-inverse" GBDT ($G_i$). This inverse tree learns to reconstruct the input of a layer from its output.
  3. Pseudo-label Generation: Starting from the final error at the output layer, the model uses these inverse mappings to propagate "pseudo-labels" (targets) back to each intermediate layer.
  4. Joint Update: Each layer’s GBDT is then updated to better hit its specific pseudo-label.

This allows the model to perform joint optimization across all layers simultaneously, mimicking the coordination of backpropagation without actually needing a single derivative.

Key Insights and Representation Learning

The paper evaluates the model on synthetic datasets (like 2D concentric circles and 3D S-shape curves), the classic Adult Income dataset, and a Protein Localization dataset.

The most striking insight from these experiments is that trees can indeed learn hierarchical representations. Visualizations show that as data moves through mGBDT layers, it becomes increasingly linearly separable, just like in a neural network.

Transformed representation of synthetic data.

Other key takeaways include:

  • Bypassing Differentiability: The work proves that differentiability isn't a hard requirement for "deep" learning. Target propagation provides a mathematically sound alternative for non-parametric models.
  • Robustness to Depth: Unlike some neural network variants of target propagation which degrade as they get deeper, mGBDTs remained robust. In the protein dataset, mGBDT maintained performance even as layers were added, whereas the neural network version's accuracy plummeted.
  • Adversarial Defense: Because the model is non-differentiable, it naturally "blocks" many common adversarial attacks that rely on calculating the gradient of the loss with respect to the input.

Key Results

The mGBDT architecture demonstrated strong empirical performance:

  • Superior Accuracy: On the Income and Protein datasets, mGBDT outperformed standard XGBoost, stacked XGBoost, and neural networks trained via both backprop and target propagation. For example, on the Income dataset, mGBDT achieved 87.42% accuracy, beating the backprop NN (85.34%).
  • Faster Convergence: mGBDT converged significantly faster than neural networks in terms of epochs. On the protein dataset, mGBDT reached peak accuracy in about 50 epochs, while NNs required 200.
  • Unsupervised Learning: The authors demonstrated an unsupervised mGBDT autoencoder that could reconstruct complex 3D shapes, proving the architecture isn't just for classification but can learn the underlying structure of data.

Limitations and Future Work

While promising, the mGBDT approach has limitations. Training GBDTs is generally more computationally expensive than simple matrix multiplications in a neural network, and stacking them while training inverse mappings adds to this cost. Furthermore, while excellent for tabular data, the model has not been tested on massive-scale image datasets like ImageNet, where CNNs currently dominate.

Future work may explore "Hybrid DNNs," where mGBDT layers are embedded into differentiable systems to handle specific types of features that trees process best. Integrating this with automated complexity methods could also allow the model to dynamically decide how many layers it needs based on the data.

Summary updated

BibTeX
@inproceedings{feng2018multi,
  author = {Ji Feng and Yang Yu and Zhi-Hua Zhou},
  title = {{Multi-Layered Gradient Boosting Decision Trees}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=rkbZOvZuWB},
}
Figure