Gradient-less Federated Gradient Boosting Trees with Learnable Learning Rates

Chenyang Ma, Xinchi Qiu, Daniel J. Beutel, Nicholas D. Lane · DOI

TL;DR

FedXGBllr introduces a gradient-less framework for horizontal federated XGBoost that completely eliminates the need to share gradients or hessians during training. By aggregating local tree ensembles and using a lightweight, interpretable 1D CNN to learn adaptive learning rates for each tree, it matches state-of-the-art performance while slashing communication overhead by 25x to 700x.

What Problem Does This Paper Address?

Extreme Gradient Boosting (XGBoost) is a dominant tool for tabular data, but adapting it to Horizontal Federated Learning (HFL)—where clients share the same feature space but have different sample IDs—presents severe bottlenecks.

Figure 1: Horizontal vs. vertical federated XGBoost.

Traditional horizontal federated XGBoost algorithms require clients to upload gradients and hessians to a central server at every single node split to find the optimal global splitting condition. This vanilla approach suffers from two fatal flaws:

  1. Massive Communication Frequency: For an ensemble of 500 trees with a depth of 8, the number of per-node communication rounds can easily exceed 100,000.
  2. Severe Privacy Risks: Sharing raw gradients exposes clients to gradient-inversion attacks, allowing adversaries to reconstruct sensitive training data.

Existing solutions try to find a trade-off using homomorphic encryption or gradient histograms, but they still suffer from high computational overhead or residual privacy leaks. This paper asks a fundamental question: Can we build a horizontal federated XGBoost model without sharing gradients and hessians at all?

Methods

The authors propose FedXGBllr (Federated XGBoost with learnable learning rates), a framework that decouples tree construction from federated communication.

The training pipeline operates in two distinct phases:

Figure 4: The pipeline. (a) tree ensembles aggregation and (b) one-layer 1D CNN to study the learning rates and output the final prediction result.
  1. Local Tree Training & Aggregation (Round 0): Each client independently trains a standard local XGBoost model on its own dataset. Clients send these completed tree ensembles to the server, which sorts and concatenates them into a single massive global ensemble. This ensemble is then frozen and broadcasted back to all clients.
  2. Learning Adaptive Learning Rates (Rounds 1 to $R$): Because local datasets are heterogeneous (non-IID), a fixed global learning rate performs poorly. To fix this, the authors introduce a lightweight, one-layer 1D CNN on top of the tree predictions. Clients compute the prediction outputs of all aggregated trees on their local data and use these outputs as inputs to train the CNN. The CNN parameters are then aggregated across clients using standard Federated Averaging (FedAvg).

The architecture of the 1D CNN is intentionally designed for interpretability:

  • Kernel Size & Stride = $M$ (the number of trees per client). This ensures that each channel of the 1D convolution acts as a learnable learning rate ($W_t^k$) tailored to a specific tree.
  • Fully Connected (FC) Layer: Acts as a weighting factor ($Z_k$) to balance the overall contribution of each client's original model.

Datasets

The framework was evaluated on ten diverse tabular datasets from the LIBSVM repository:

  • Classification: a9a, cod-rna, ijcnn1, real-sim, HIGGS, and SUSY.
  • Regression: abalone, cpusmall, space_ga, and YearPredictionMSD.

The datasets range in size from a few thousand samples (abalone) to 1 million samples (HIGGS, SUSY), with feature dimensions spanning from 6 to over 20,000.

Key Insights and Ideas

  • Fixed Learning Rates Fail Under Data Heterogeneity: In non-IID settings, local models converge to divergent local optima. When evaluated on unseen client data, some trees make massive mistakes while others remain highly accurate. Applying a uniform, fixed learning rate ($\eta$) is too rigid.
  • Disentangling Communication from Tree Structure: By fixing the tree structures in Round 0 and only communicating the CNN's weights in subsequent rounds, the total communication overhead becomes completely independent of the dataset size ($N$) and tree depth ($L$).
  • Architecture as an Explainer: Instead of using a complex neural network black box to combine tree outputs, the strict structural constraints placed on the 1D CNN (matching kernel size and stride to ensemble size) ensure the network weights map directly to meaningful hyper-parameters: tree-level learning rates and client-level weights.

Key Results

  • Massive Communication Savings: FedXGBllr dramatically reduces total communication overhead. For large datasets like HIGGS and SUSY, it cuts communication costs from over 4 GB down to a fixed 6.0 MB—a 700x reduction compared to the state-of-the-art SimFL method.
  • High Efficiency: Only 10 communication rounds were required for the CNN to converge and achieve competitive performance.
  • Comparable Accuracy: Across all six classification datasets, FedXGBllr achieved test accuracy on par with or superior to both SimFL and a centralized XGBoost baseline trained on the entire pooled dataset. For regression tasks, it achieved comparable Mean Squared Error (MSE).

Limitations and Future Work

  • Scalability with Client Count: The authors observed a slight degradation in performance as the number of clients scaled up from 2 to 10. This is a common challenge in federated learning due to increasing data variance.
  • Hyperparameter Optimization: The optimal trade-off between the number of local epochs ($E$) and global communication rounds ($R$) for training the 1D CNN requires further empirical study.
  • Extension to Vertical FL: While this paper focuses strictly on the horizontal setting, the authors note that extending the concept of learnable learning rates to vertical federated learning remains an open and promising direction.

Summary updated

BibTeX
@inproceedings{ma2023gradient,
  author = {Chenyang Ma and Xinchi Qiu and Daniel J. Beutel and Nicholas D. Lane},
  title = {{Gradient-less Federated Gradient Boosting Trees with Learnable Learning Rates}},
  booktitle = {EuroMLSys@EuroSys},
  year = {2023},
  doi = {10.1145/3578356.3592579},
}
Figure