Adaptive Histogram-Based Gradient Boosted Trees for Federated Learning

Yuya Jeremy Ong, Yi Zhou, Nathalie Baracaldo, Heiko LudwigarXiv 2020

Abstract

Gradient Boosted Decision Trees (GBDTs) are essential for tabular data analysis, yet their implementation in Federated Learning (FL) environments remains challenging due to high computational costs and data heterogeneity. This paper introduces Party-Adaptive XGBoost (PAX), a novel framework that replaces heavy encryption with adaptive histogram resolutions. PAX achieves up to a 24x speedup over state-of-the-art encrypted methods while maintaining high accuracy, even in scenarios with extreme data imbalance.

Introduction

In Federated Learning, data remains on local servers to comply with privacy regulations like GDPR. Training GBDTs in this decentralized manner typically faces two major hurdles: extreme latency caused by cryptographic protocols (such as Homomorphic Encryption) and performance degradation due to non-IID (Independent and Identically Distributed) data. When data is distributed unevenly across parties, standard aggregation methods often fail to produce a cohesive global model.

The PAX Framework

PAX addresses these challenges by utilizing a "surrogate representation" of data through histograms rather than raw data or encrypted gradients. The core innovation lies in its adaptive approach to histogram resolution.

The PAX Federated Learning architecture showing the interaction between the central aggregator and local data parties.

Party-Adaptive Epsilon (ε)

In XGBoost, the parameter ε determines the resolution of data histograms; a smaller ε results in more bins and higher precision. PAX calculates a unique ε for each party based on the size of their local dataset relative to the total federation. Larger datasets are assigned higher resolutions, while smaller datasets are "smoothed" with coarser resolutions. This prevents small, potentially noisy datasets from leaking specific information or disproportionately skewing the global model.

Objective-Based Fusion

Once the central aggregator receives histograms from all parties, it must fuse them into a global structure. PAX employs a task-specific heuristic:

  • Classification: Histograms are aligned to the smallest ε (highest resolution) to capture the fine-grained boundaries necessary for accurate classification.
  • Regression: Histograms are aligned to the largest ε (lowest resolution) to prioritize general trends and mitigate the impact of local outliers.

Experimental Setup and Datasets

The researchers evaluated PAX using the Airline Delay Causes dataset, focusing on a binary classification task to predict flight delays based on 30 attributes. To test the model's robustness against data heterogeneity, the authors designed five distinct partition scenarios.

Data distribution across five partition scenarios, ranging from balanced (Partition 1) to extreme skew (Partition 5).

As shown in the table above, these scenarios range from perfectly balanced (33% data per party) to extreme skew, where a single party holds 91% of the data and another holds as little as 0.4%.

Key Results

PAX demonstrated significant improvements over existing frameworks like "Homo SecureBoost" (a popular implementation within the FATE framework):

  • Superior Accuracy: PAX achieved 88% accuracy on random datasets and 87% on balanced ones, consistently outperforming SecureBoost, which ranged between 74% and 81%.
  • Massive Speedup: On random datasets, PAX completed training in 90 seconds, compared to 1,172 seconds for SecureBoost—a 13x improvement. In balanced scenarios, this gap widened to a 24x speedup.
  • Robustness to Skew: Even in the most extreme imbalance (91% vs 0.4% distribution), PAX maintained 91% accuracy, proving its ability to adapt to real-world data messiness.

Discussion and Future Work

PAX demonstrates that in enterprise settings where parties trust a central aggregator but cannot legally move raw data, smart statistical aggregation can replace heavy encryption. By treating precision as a proxy for privacy, PAX provides the speed necessary for production-grade federated learning.

However, the current model is designed for Horizontal FL, where parties share the same features but different rows. Future research will explore applying adaptive histograms to Vertical FL (shared individuals, different features) and refining the mathematical optimization of the ε-fusion step to move beyond current heuristics.

Summary updated

BibTeX
@misc{ong2020adaptive,
  author = {Yuya Jeremy Ong and Yi Zhou and Nathalie Baracaldo and Heiko Ludwig},
  title = {{Adaptive Histogram-Based Gradient Boosted Trees for Federated Learning}},
  year = {2020},
  eprint = {2012.06670},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.06670},
}
Figure