Gradient Boosting Mapping for Dimensionality Reduction and Feature Extraction

Anri Patron, Ayush Prasad, Hoang Phuc Hau Luu, Kai PuolamäkiarXiv 2024 · DOI

Introduction

Modern machine learning often presents a stark choice between high-performance "black-box" models and interpretable linear models. While gradient-boosted decision trees (GBDTs) like XGBoost dominate tabular data benchmarks, their complexity makes them difficult to audit. Conversely, linear models are transparent but frequently fail to capture the non-linear relationships inherent in high-dimensional data.

Furthermore, dimensionality reduction is often employed to simplify models, yet standard techniques like Principal Component Analysis (PCA) are unsupervised. By ignoring the target variable, these methods may discard critical predictive signals in favor of high-variance noise. Additionally, the problem of "concept drift"—where data distributions shift over time—remains a significant hurdle for maintaining model reliability in production. This paper discusses Gradient Boosting Mapping (GBMAP), a supervised dimensionality reduction method designed to bridge the gap between performance, interpretability, and robustness.

Methodology

GBMAP adapts the gradient boosting framework for feature extraction by replacing traditional decision trees with a sequence of simple, one-layer perceptrons. Each weak learner consists of a linear projection followed by a softplus nonlinearity.

The Embedding Process

In GBMAP, the output of each weak learner at every boosting iteration serves as a coordinate in a new, lower-dimensional embedding space. This process transforms the input data into a task-relevant representation. Because the boosting process is guided by the loss function of the target task (regression or classification), the resulting embedding naturally prioritizes features that are most informative for prediction.

Task-Aware Distance and Interpretability

The method induces a "path distance" and an "embedding distance" (specifically, the Manhattan distance in the transformed space). Unlike standard Euclidean distance, these metrics effectively ignore "nuisance" features that do not contribute to reducing the loss. Because the weak learners are locally linear, GBMAP maintains a degree of interpretability, allowing for the straightforward calculation of local feature importance.

Drift Detection

To address the challenge of distribution shift, GBMAP incorporates a built-in drift indicator. This mechanism compares the model's prediction with a k-Nearest Neighbor (k-NN) prediction within the embedding space. A significant divergence between these two values serves as a robust signal that a new data point is "out-of-distribution," enabling proactive model maintenance.

Experimental Setup

The efficacy of GBMAP was evaluated across a diverse set of benchmarks, including ten regression and five classification datasets. These range from small-scale biological data to large-scale synthetic datasets containing 200,000 samples.

Table 1: Summary of regression and classification datasets used for evaluation, including sample size (n), feature count (p), and target type.

In addition to real-world data, the authors utilized two synthetic datasets, SYNTH-COS-R and SYNTH-COS-C, to specifically test the algorithm's ability to handle complex non-linearities and high-dimensional noise.

Results and Discussion

Experimental results demonstrate that GBMAP-derived features allow simple linear models to achieve competitive performance with state-of-the-art regressors.

Predictive Performance and Smoothness

On datasets such as cpu-small and superconductor, linear regression trained on GBMAP embeddings achieved $R^2$ scores of 0.974 and 0.874, respectively—nearly matching the performance of a full XGBoost model. A key advantage of GBMAP over tree-based boosting is the "smoothness" of its transformations. While trees produce piece-wise constant functions that can cause data points to collapse onto the same coordinates, GBMAP’s perceptrons ensure a continuous mapping, which is vital for distance-based learning and visualization.

Efficiency and Scalability

GBMAP exhibits excellent computational efficiency, scaling linearly with the number of samples, features, and boosting iterations ($O(npm)$). In benchmarks, it processed a dataset of one million points with 25 features in approximately 15 seconds, significantly outperforming other supervised embedding methods like IVIS.

Robust Drift Detection

The proposed drift detection scheme proved highly effective. On the cpu-small dataset, the GBMAP drifter achieved an Area Under the Curve (AUC) of 0.91 for identifying out-of-distribution samples, compared to 0.84 for standard Euclidean-based methods. This suggests that task-aware embeddings provide a more reliable basis for monitoring model health.

Conclusion

GBMAP offers a powerful framework for supervised dimensionality reduction that combines the predictive strength of boosting with the interpretability of linear models. By creating smooth, task-relevant embeddings, it enables efficient learning, noise filtering, and reliable drift detection. Future work will focus on incorporating formal uncertainty quantification and exploring advanced visualization techniques to further enhance the utility of these supervised maps.

Summary updated

BibTeX
@misc{patron2024gradient,
  author = {Anri Patron and Ayush Prasad and Hoang Phuc Hau Luu and Kai Puolamäki},
  title = {{Gradient Boosting Mapping for Dimensionality Reduction and Feature Extraction}},
  year = {2024},
  eprint = {2405.08486},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.08486},
}
Figure