Wasserstein Gradient Boosting: A Framework for Distribution-Valued Supervised Learning

Takuo MatsubaraNeurIPS 2024

Overview

Wasserstein Gradient Boosting (WGBoost) is a novel framework that extends traditional gradient boosting to predict entire probability distributions instead of single point estimates. By fitting weak learners to "Wasserstein gradients," the model learns to output a set of particles that represent the predictive uncertainty for every input. This makes it a powerful tool for safety-critical applications and out-of-distribution (OOD) detection, particularly on tabular data.

The Challenge: Quantifying Uncertainty

In most machine learning tasks, we ask a model for a single answer: "What is the price of this house?" or "Is this image a cat?" However, in high-stakes fields like medicine or autonomous driving, a single point estimate isn't enough—we need to know how certain the model is about its prediction.

While "evidential learning" has emerged to quantify this uncertainty, it has largely been restricted to neural networks and cases where the math resolves into clean, "closed-form" solutions. Meanwhile, gradient boosting remains the undisputed king of tabular data, but its ability to handle complex, non-parametric uncertainty has historically been limited. The authors tackle a fundamental question: Can we build a boosting model where the target is a probability distribution rather than a single number?

Methods: The Wasserstein Twist

The core innovation is Wasserstein Gradient Boosting (WGBoost). Standard gradient boosting iteratively adds "weak learners" (usually small decision trees) to correct the numerical errors (residuals) of previous steps. WGBoost fundamentally changes what those trees are trying to fix.

WGBoost Architecture

Instead of a simple numerical error, WGBoost uses Wasserstein gradients:

  • Distribution-Valued Learning: The model's output for a single input $x$ is a set of $N$ particles. Together, these particles represent a probability distribution.
  • Optimal Transport Geometry: The authors use the geometry of optimal transport (Wasserstein space) to define how to "move" these particles to minimize a loss functional, such as KL divergence.
  • WEvidential: The paper introduces a specific implementation for "evidential learning." It uses a second-order optimization approach—similar to how modern libraries like XGBoost use both gradients and Hessians—but adapted for the space of probability distributions.
  • Kernel Smoothing: Since particles are discrete points, the authors use a Gaussian kernel to "smooth" the gradients, making the optimization stable and mathematically sound.

Key Insights and Innovations

  • Boosting the "Shape," not just the "Value": Traditional boosting shifts a prediction up or down. WGBoost "sculpts" the distribution. If the model is uncertain, the particles spread out; if it is confident, they cluster tightly together.
  • Non-Parametric Freedom: Unlike many Bayesian methods that assume a standard "Normal" distribution, WGBoost’s particle-based approach can represent virtually any shape of uncertainty without requiring a predefined formula.
  • Second-Order Efficiency: By deriving a "diagonal approximate Wasserstein Newton direction," the authors created an algorithm that is computationally efficient. It provides the benefits of complex second-order optimization without the massive matrix-inversion overhead that usually bottlenecks performance.
  • Natural OOD Detection: The dispersion (spread) of the particles serves as a built-in alarm. When the model sees an input unlike its training data, the particles scatter, providing a clear signal that the prediction shouldn't be trusted.

Evaluation and Results

The authors put WGBoost through a rigorous battery of tests across synthetic and real-world datasets.

Synthetic and Real-World Modeling

On synthetic data, such as a noisy sine wave, WGBoost visually demonstrates how its particles "hug" the true distribution as weak learners are sequentially added.

WGBoost fitting a synthetic sine wave after 100 weak learners.

For real-world conditional density estimation (e.g., Bone Mineral Density and Old Faithful Geyser), WGBoost successfully captured complex, multi-modal shapes. In regression benchmarks across 10 standard UCI datasets (e.g., Boston Housing, Wine, Yacht), the specific WEvidential implementation achieved the best or second-best Negative Log-Likelihood (NLL) almost universally, outperforming popular methods like Deep Ensembles and Monte Carlo Dropout.

Out-of-Distribution (OOD) Detection

In classification and OOD tasks using the Segment and Sensorless datasets, WEvidential showcased superior anomaly detection. On the Segment dataset, it achieved an OOD detection PR-AUC of 99.67%, significantly higher than standard Bayesian Neural Networks (43-58%) and specialized Posterior Networks.

Furthermore, the second-order version of the algorithm converged much faster and more accurately than first-order or Langevin-based alternatives, proving that the "Newton" approach is vital for particle-based boosting.

Limitations and Future Work

While WGBoost is a breakthrough for tabular data, the authors acknowledge that its performance on non-tabular data (like raw images or audio) remains untested and might face the same feature-extraction challenges as standard gradient boosting in those domains.

Future research directions include:

  1. Alternative Loss Functionals: Exploring losses other than KL divergence to see if they offer better robustness.
  2. Theoretical Convergence: Deepening the mathematical understanding of how these particle-based ensembles converge over many iterations.
  3. Hyperparameter Sensitivity: Automating the tuning of the "kernel scale" ($h$), a critical setting that currently requires manual adjustment, to make the tool more user-friendly.

Summary updated

BibTeX
@inproceedings{matsubara2024wasserstein,
  author = {Takuo Matsubara},
  title = {{Wasserstein Gradient Boosting: A Framework for Distribution-Valued Supervised Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=cuO0DenqMl},
}
Figure