Practical Anonymous Two-Party Gradient Boosting Decision Tree

Chenyu Huang, Fan Zhang, Minxin Du, Sherman S. M. Chow, Huangxun Chen, Huaming Rao, Danqing Huang, Bo Qian, Peng ChenarXiv 2026 · DOI

TL;DR

This paper introduces AnonGBDT, the first practical two-party framework for training gradient-boosted decision trees (GBDTs) on vertically partitioned data while keeping record identifiers (IDs) completely anonymous. By combining a novel dual-circuit-PSI framework with optimized ciphertext packing and batched state synchronization, AnonGBDT eliminates identity and alignment leakage with minimal performance overhead compared to traditional, privacy-leaking approaches.

What Problem Does This Paper Address?

In collaborative machine learning, data is often "vertically partitioned"—meaning two different organizations (like a bank and an e-commerce platform) hold different features for an overlapping set of users. To train a model like a GBDT, the parties must first align their datasets so that row $i$ on one side matches row $i$ on the other.

The standard industry approach relies on Private Set Intersection (PSI) for pre-alignment. While PSI hides non-matching IDs, it explicitly reveals which IDs are shared between the datasets. This intersection membership can leak highly sensitive information (e.g., revealing which patients are shared between two hospitals can leak geographic or medical diagnostic details).

While circuit-PSI can compute functions on an intersection without revealing the IDs themselves, its asymmetric hashing structure (where one party uses a cuckoo hash table and the other uses simple hashing) breaks order-dependent operations. This makes it incredibly difficult and computationally expensive to perform the gradient histogram aggregations and sample tracking required for GBDT training.

Figure 1. Circuit-PSI asymmetry (cuckoo vs. simple hash): the receiver learns 7 is in the second bucket, but the sender cannot tell which item (4 or 7) is in the second one.

Methods

The authors overcome the limitations of circuit-PSI through several key cryptographic and algorithmic innovations:

  1. Dual-Circuit-PSI Framework (AnonGBDT-OTSA): Instead of trying to resolve the cuckoo-vs-simple hash asymmetry with heavy multi-party computation, the protocol runs two circuit-PSI instances in parallel with swapped roles. This allows both parties to act as a receiver once, enabling them to keep feature matrices local and use an efficient, order-independent matrix-vector multiplication protocol (FBinMatVec) for gradient aggregation.
  2. Fast Ciphertext Packing (FastPackLWEs): Secure matrix operations rely on Homomorphic Encryption (HE). The authors introduced a new subroutine that packs adjacent Learning With Errors (LWE) ciphertext pairs directly into a single Ring-LWE ciphertext without individual dimension lifting, cutting the cryptographic packing overhead and runtime exactly in half.
  3. Batched OPPRF-based Indicator Synchronization (FBOIS): To track which samples reach which tree nodes without leaking IDs, the authors designed an Oblivious Programmable Pseudorandom Function (OPPRF) approach. By batching these updates level-wise rather than node-wise, they reduced the communication complexity from exponential $O(2^D)$ to linear $O(D)$ relative to tree depth $D$.
  4. Optimized Sigmoid Approximation: They replaced standard integral-derived Fourier coefficients with a least-squares fitting method, reducing the number of terms needed for secure gradient computation, which slashed sigmoid runtime by 33% and communication by 16%.

Datasets

The authors evaluated their framework using both synthetic and real-world public benchmarks:

  • Synthetic Data: Used to evaluate scalability, with sample sizes ($n$) scaling up to 1 million, feature counts ($m$) up to 100, and tree depths ($D$) up to 6.
  • Real-World Benchmarks: Six public datasets from the LIBSVM repository were used for accuracy and effectiveness testing: breast-cancer, phishing, a9a, cod-rna, skin_nonskin, and covtype.binary.

No new datasets or benchmarks were introduced in this paper.

Key Insights and Ideas

  • Symmetrizing the Asymmetric: The core "aha!" moment is that running two parallel, role-swapped asymmetric circuit-PSI instances is vastly more efficient than trying to force a single asymmetric instance to handle symmetric data operations.
  • State Propagation over Universal Alignment: Instead of performing a massive, costly data alignment step upfront that scales poorly with domain size, AnonGBDT propagates the sample alignment state obliviously across tree levels using OPPRFs.
  • Cryptographic Streamlining: By finding a mathematical shortcut to pack LWE ciphertexts directly into Ring-LWE structures, the authors demonstrated that privacy-preserving machine learning doesn't always have to suffer from massive homomorphic encryption overheads.

Key Results

  • Massive Speedups: The final optimized protocol (AnonGBDT-OTSA) is up to 20× faster and 44× lighter in communication traffic than their baseline anonymous implementation, successfully avoiding out-of-memory (OOM) errors on large datasets.
  • Competitive with Leaky Baselines: In Local Area Network (LAN) environments, AnonGBDT matches the performance of Squirrel (the state-of-the-art protocol that leaks IDs). In Wide Area Networks (WAN), its runtime and traffic never exceed 1.8× of Squirrel's, proving that strict anonymity can be achieved with practical overhead.
  • High Accuracy: Thanks to the improved least-squares sigmoid approximation, AnonGBDT achieved identical or superior F1 scores compared to plaintext XGBoost across all real-world public datasets.

Limitations and Future Work

  • Split Value Leakage: Like nearly all existing secure two-party tree protocols, AnonGBDT still reveals the best split values (the feature thresholds) at internal nodes during training. Fully hiding these split indices in a two-party setting remains an open problem due to the extreme cost of oblivious sorting.
  • WAN Communication Overhead: Because the dual-framework maintains two "logical" trees (one for each circuit-PSI instance), it inherently doubles the communication payload compared to non-anonymous setups, which can become a bottleneck in high-latency WAN environments.
  • Generalizability: The authors note that their dual-circuit-PSI blueprint is not limited to GBDTs and can be extended to add anonymity to other vertical federated learning architectures, such as federated transformers and split neural networks.

Summary updated

BibTeX
@misc{huang2026practical,
  author = {Chenyu Huang and Fan Zhang and Minxin Du and Sherman S. M. Chow and Huangxun Chen and Huaming Rao and Danqing Huang and Bo Qian and Peng Chen},
  title = {{Practical Anonymous Two-Party Gradient Boosting Decision Tree}},
  year = {2026},
  eprint = {2605.26903},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.26903},
}
Figure