Hyperparameter Optimization for SecureBoost via Constrained Multi-Objective Federated Learning

Yan Kang, Ziyao Ren, Lixin Fan, Linghua Yang, Yongxin Tong, Qiang YangarXiv 2024 · DOI

Introduction

Vertical Federated Learning (VFL) allows organizations to collaborate on machine learning models without sharing raw data. SecureBoost is a widely adopted framework for training gradient-boosted decision trees in this setting, utilizing Homomorphic Encryption (HE) to protect intermediate gradients. However, recent research reveals that SecureBoost is vulnerable to label leakage and often suffers from suboptimal hyperparameter tuning. This paper introduces CMOSB (Constrained Multi-Objective SecureBoost), a framework designed to balance the competing demands of model utility, training efficiency, and data privacy.

The Challenge of Label Leakage

In VFL, an "active party" holds the labels, while "passive parties" hold additional features. Even when gradients are encrypted, the structure of the resulting decision trees—specifically how instances are distributed across leaf nodes—can leak sensitive information. A passive participant can exploit this distribution to infer private labels.

The authors quantify this risk through a novel Instance Clustering Attack (ICA). As shown in Figure 1, the attack builds a similarity matrix based on the co-occurrence of samples in leaf nodes across the ensemble. Spectral clustering is then applied to these similarities to reconstruct the labels. Without defenses, this attack can leak up to 84% of private labels.

The Instance Clustering Attack (ICA) uses the instance distribution of decision trees to infer private labels.

Proposed Methodology: CMOSB

To address these vulnerabilities and the difficulty of manual tuning, the authors propose CMOSB. This framework treats hyperparameter selection as a constrained multi-objective optimization problem.

Defense Mechanisms

CMOSB incorporates two primary defenses against label leakage:

  1. Local Trees: The active party trains the initial trees locally. This "scrambles" the early instance distributions, which are the most informative for an attacker, before any federated splits occur.
  2. Purity Threshold: If a node's class purity exceeds a threshold $\theta_p$, the active party stops federated splitting and completes the subtree locally, preventing the passive party from observing the final, highly-pure distribution.

Multi-Objective Optimization

CMOSB utilizes the NSGA-II genetic algorithm to evolve a population of hyperparameter configurations. Each set is evaluated against three objectives: Utility Loss (1 - AUC/Accuracy), Training Cost (estimated time for HE operations), and Privacy Leakage (accuracy of the ICA attack). By identifying "Pareto optimal" solutions, CMOSB allows practitioners to select configurations that offer the best possible trade-offs for their specific constraints.

Experimental Evaluation

The researchers evaluated CMOSB on four datasets: Synthetic1, Synthetic2, DefaultCredit, and Sensorless. The results demonstrate that CMOSB consistently finds superior trade-offs compared to traditional methods like Grid Search (GS) and Evolutionary Search (ES).

3D visualization of Pareto fronts found by CMOSB compared to baseline solutions across four datasets.

As illustrated in Figure 2, CMOSB solutions (blue dots) tend to cluster closer to the origin, representing lower utility loss, lower training cost, and lower privacy leakage. In terms of Hypervolume (HV)—a metric for trade-off quality—CMOSB achieved a score of 0.968 on the Sensorless dataset, significantly outperforming Grid Search (0.822).

Conclusion

The CMOSB framework highlights that encryption alone is insufficient for privacy in federated tree-based models. By acknowledging the information inherent in model structure and applying multi-objective optimization, CMOSB provides a robust path forward for secure and efficient Vertical Federated Learning. Future work will focus on scaling these techniques to many-party scenarios and handling dynamic data distributions.

Summary updated

BibTeX
@misc{kang2024hyperparameter,
  author = {Yan Kang and Ziyao Ren and Lixin Fan and Linghua Yang and Yongxin Tong and Qiang Yang},
  title = {{Hyperparameter Optimization for SecureBoost via Constrained Multi-Objective Federated Learning}},
  year = {2024},
  eprint = {2404.04490},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.04490},
}
Figure