Lune

USENIX Security2023Top-tier venue

Squirrel: A Scalable Secure Two-Party Computation Framework for Training Gradient Boosting Decision Tree

Wen-jie Lu, Zhicong Huang, Qizhi Zhang, Yuchen Wang, Cheng Hong

Abstract

Gradient Boosting Decision Tree (GBDT) and its variants are widely used in industry, due to their strong interpretability. Secure multi-party computation allows multiple data owners to compute a function jointly while keeping their input private. In this work, we present Squirrel, a two-party GBDT training framework on a vertically split dataset, where two data owners each hold different features of the same data samples. Squirrel is private against semi-honest adversaries, and no sensitive intermediate information is revealed during the training process. Squirrel is also scalable to datasets with millions of samples even under a Wide Area Network (WAN). Squirrel achieves its high performance via several novel co-designs of the GBDT algorithms and advanced cryptography. Especially, 1) we propose a new and efficient mechanism to hide the sample distribution on each node using oblivious transfer. 2) We propose a highly optimized method for gradient aggregation using lattice-based homomorphic encryption (HE). Our empirical results show that our method can be three orders of magnitude faster than the existing HE approaches. 3) We propose a novel protocol to evaluate the sigmoid function on secretly shared values, showing 19×-200×-fold improvements over two existing methods. Combining all these improvements, Squirrel costs less than 6 seconds per tree on a dataset with 50 thousands samples which outperforms Pivot (VLDB 2020) by more than 28×. We also show that Squirrel can scale up to datasets with more than one million samples, e.g., about 170 seconds per tree over a WAN. * We have updated our USENIX'23 paper and this is the latest version. Code could be found at https://github.com/secretflow/spu/tree/main/ experimental/squirrel. GBDT(I k , X, state, pp). 1. If 1 ≤ k < 2 D-1 is not reaching the maximum depth, (a) Find the feature z (k) * ∈ [m] and the threshold u (k) * ∈ R that best split the samples in I k .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Level Up: Private Non-Interactive Decision Tree Evaluation using Levelled Homomorphic Encryption cites Privacy Preserving Vertical Federated Learning for Tree-based Models
  • Oblivious Neural Network Predictions via MiniONN Transformations cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Kangaroo: A Private and Amortized Inference Framework over WAN for Large-Scale Decision Tree Evaluation cites Level Up: Private Non-Interactive Decision Tree Evaluation using Levelled Homomorphic Encryption
  • Kangaroo: A Private and Amortized Inference Framework over WAN for Large-Scale Decision Tree Evaluation cites Oblivious Neural Network Predictions via MiniONN Transformations
  • Kangaroo: A Private and Amortized Inference Framework over WAN for Large-Scale Decision Tree Evaluation cites Privacy Preserving Vertical Federated Learning for Tree-based Models
  • Ironman: Accelerating Oblivious Transfer Extension for Privacy-Preserving AI with Near-Memory Processing cites QUOTIENT: Two-Party Secure Neural Network Training and Prediction
  • Ironman: Accelerating Oblivious Transfer Extension for Privacy-Preserving AI with Near-Memory Processing cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • QUOTIENT: Two-Party Secure Neural Network Training and Prediction cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Accelerating Secure Collaborative Machine Learning with Protocol-Aware RDMA cites Oblivious Neural Network Predictions via MiniONN Transformations
  • Accelerating Secure Collaborative Machine Learning with Protocol-Aware RDMA cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Privacy Preserving Vertical Federated Learning for Tree-based Models cites Oblivious Neural Network Predictions via MiniONN Transformations
  • Privacy Preserving Vertical Federated Learning for Tree-based Models cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. Level Up: Private Non-Interactive Decision Tree Evaluation using Levelled Homomorphic EncryptionRasoul Akhavan Mahdavi, Haoyan Ni, Dimitry Linkov, Florian KerschbaumCCS 2023 · 8 citations
  2. Accelerating Secure Collaborative Machine Learning with Protocol-Aware RDMAZhenghang Ren, Mingxuan Fan, Zilong Wang, Junxue Zhang et al.USENIX Security 2024 · 6 citations
  3. Ironman: Accelerating Oblivious Transfer Extension for Privacy-Preserving AI with Near-Memory ProcessingChenqi Lin, Kang Yang, Tianshi Xu, Ling Liang et al.MICRO 2025 · 4 citations
  4. Kangaroo: A Private and Amortized Inference Framework over WAN for Large-Scale Decision Tree EvaluationWei Xu, Hui Zhu, Yandong Zheng, Song Bian et al.NDSS 2026 · 3 citations
  5. Ents: An Efficient Three-party Training Framework for Decision Trees by Communication OptimizationGuopeng Lin, Weili Han, Wenqiang Ruan, Ruisheng Zhou et al.CCS 2024 · 3 citations

Builds on10

  1. SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 citations
  2. Inverting Gradients - How easy is it to break privacy in federated learning?Jonas Geiping, Hartmut Bauermeister, Hannah Dröge, Michael MoellerNeurIPS 2020 · 1,822 citations
  3. Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 citations
  4. Privacy Preserving Vertical Federated Learning for Tree-based ModelsYuncheng Wu, Shaofeng Cai, Xiaokui Xiao, Gang Chen et al.VLDB 2020 · 259 citations
  5. QUOTIENT: Two-Party Secure Neural Network Training and PredictionNitin Agrawal, Ali Shahin Shamsabadi, Matt J. Kusner, Adrià GascónCCS 2019 · 241 citations

Related papers

  1. Gibbon: Faster Secure Two-party Training of Gradient Boosting Decision TreeLichun Li, Zecheng Wu, Yuan Zhao, Zhihao Li et al.CCS 2025
  2. Practical Anonymous Two-Party Gradient Boosting Decision TreeChenyu Huang, Fan Zhang, Minxin Du, Sherman S. M. Chow et al.S&P 2026
  3. SecureXGB: A Secure and Efficient Multi-party Protocol for Vertical Federated XGBoostZongda Han, Xiang Cheng, Wenhong Zhao, Jiaxin Fu et al.SIGMOD 2025 · 3 citations
  4. Federated Boosted Decision Trees with Differential PrivacySamuel Maddock, Graham Cormode, Tianhao Wang, Carsten Maple et al.CCS 2022 · 31 citations
  5. Practical Federated Gradient Boosting Decision TreesQinbin Li, Zeyi Wen, Bingsheng HeAAAI 2020 · 215 citations
Dusk over the sea between two cliffs drawn in fine vertical lines