Gradient tree boosting with random output projections for multi-label classification and multi-output regression

Arnaud Joly, Louis Wehenkel, Pierre GeurtsarXiv 2019

TL;DR

This paper introduces a novel extension of gradient tree boosting for multi-label classification and multi-output regression that leverages random output projections. By fitting weak learners to random linear combinations of residuals and mapping them back to the original output space, the method automatically adapts to any underlying target correlation structure. This approach significantly accelerates convergence speeds and delivers highly competitive predictive accuracy compared to traditional multi-output methods.

What Problem Does This Paper Address?

In many real-world machine learning applications, models must predict multiple outputs simultaneously—such as assigning multiple tags to an image or predicting various physical properties of a biological sample. Traditional tree-based approaches generally handle this in one of two extreme ways:

  1. Binary Relevance / Single Target: Training completely independent models for each output. While simple, this completely ignores potentially valuable correlations between targets.
  2. Multi-Output Trees: Building a single tree ensemble where every tree predicts all outputs at once. This forces all outputs to share the exact same structural splits, which becomes highly inefficient or inaccurate if the outputs are independent or plagued by noise.

The authors address this rigidity by developing a flexible gradient tree boosting framework that dynamically adapts to varying degrees of correlation between outputs without requiring prior knowledge of the output structure.

Methods

The authors propose a few key algorithmic variations to extend gradient boosting to multi-output spaces:

  • Gradient Boosting with Multi-Output Regressors (GB-MO): A direct extension where base learners are multi-output regression trees trained to fit the negative loss gradient vector of all outputs simultaneously. The baseline structure of this approach is detailed in Algorithm 2.
  • Gradient Boosting with Random Output Projections (GB-RPO): At each boosting iteration, the algorithm generates a random projection vector ($\phi_m$) to compress the multi-dimensional residuals into a single scalar target. A standard single-output regression tree is grown to fit this projection. The tree's predictions are then mapped back to all original outputs via an independent linear fit.
  • Leaf-Relabeled Variant (GB-RELABEL-RPO): Instead of a global linear fit, this variant grows the tree structure on the random projection and then "re-labels" each leaf by averaging the original, unprojected residuals of the training samples that fall into that leaf.
Algorithm 2

The choice of loss functions and their gradients (such as square loss for regression or logistic loss for classification) defines the exact residual targets at each step, as summarized in Loss Functions and Gradients.

Table 1: Constant minimizers and gradient of square loss in regression (Y = R) and exponential loss in binary classification (Y = {−1,1}).

Datasets

The methods were evaluated across both synthetic and diverse real-world benchmarks:

  • Synthetic Benchmarks: Three variations of the classic friedman1 regression dataset engineered with specific target relationships: friedman1-chain (chained dependencies), friedman1-group (fully correlated outputs), and friedman1-ind (fully independent outputs).
  • Real-World Multi-Label Classification (21 datasets): Standard benchmarks spanning text, image, biology, and multimedia domains, including CAL500, bibtex, birds, bookmarks, corel5k, delicious, diatoms, drug-interaction, emotions, enron, genbase, mediamill, medical, protein-interaction, reuters, scene, scop-go, sequence-funcat, wipo, yeast, and yeast-go.
  • Real-World Multi-Output Regression (8 datasets): atp1d, atp7d, edm, oes10, oes97, scm1d, scm20d, and water-quality.

Key Insights and Ideas

  • Automatic Correlation Adaptation: Because the random projection tree's outputs are scaled independently for each target during the linear fit, targets independent of the random projection receive a weight near zero. This ensures tree structures are only shared among genuinely correlated outputs.
  • The Power of Dense Projections: While sparse random projections (like sub-sampling a single output at a time) focus the tree on individual targets, dense projections (like Gaussian random projections) combine multiple outputs, which significantly accelerates convergence when complex correlations exist.
  • Leaf Relabeling as a Regularizer: Growing a tree on a random projection and then relabeling its leaves in the original space acts as an effective bias-variance trade-off, preventing overfitting while preserving structural sharing.

Key Results

  • 100x Speedup on Correlated Data: On synthetic datasets with strong output correlations (friedman1-chain and friedman1-group), the projection-based boosting methods converged over 100 times faster than the single-target baseline.
  • Superior Multi-Label Performance: Across the 21 real-world multi-label datasets, the leaf-relabeled variant using dense Gaussian projections (gbrt-relabel-rpo-gaussian) achieved the best overall average rank, significantly outperforming standard binary relevance and multi-output random forests.
  • Robustness to Noise: When purely noisy outputs were artificially added to the synthetic datasets, the random projection method (gbrt-rpo-subsampled) significantly outperformed standard multi-output boosting (gbmort), which suffered from trying to fit all outputs (including noise) simultaneously.

Limitations and Future Work

  • Hyper-parameter Sensitivity: The predictive performance of these gradient boosting variants is highly sensitive to hyper-parameters (such as learning rate, tree depth, and projection type), requiring extensive validation tuning compared to simpler random forests.
  • Model Size vs. Relabeling: While the basic gbrt-rpo method drastically reduces model memory requirements (storing only one scalar prediction per leaf instead of a vector of size $d$), the superior gbrt-relabel-rpo variant loses this advantage because leaf relabeling forces the storage of full output vectors.
  • Future Directions: The authors suggest exploring non-tree base learners within this random projection boosting framework.

Summary updated

BibTeX
@misc{joly2019gradient,
  author = {Arnaud Joly and Louis Wehenkel and Pierre Geurts},
  title = {{Gradient tree boosting with random output projections for multi-label classification and multi-output regression}},
  year = {2019},
  eprint = {1905.07558},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.07558},
}
Figure