[Paper Review] An Efficient and Robust System for Vertically Federated Random Forest
This paper presents an efficient and robust vertically federated random forest system that achieves up to 83× faster training and 25× faster inference than SOTA SecureBoost, using optimized homomorphic encryption, secure multi-party computation, and parallelized tree training. The system enables real-time inference and scales to millions of records with high partition tolerance, maintaining comparable accuracy while preserving data privacy.
As there is a growing interest in utilizing data across multiple resources to build better machine learning models, many vertically federated learning algorithms have been proposed to preserve the data privacy of the participating organizations. However, the efficiency of existing vertically federated learning algorithms remains to be a big problem, especially when applied to large-scale real-world datasets. In this paper, we present a fast, accurate, scalable and yet robust system for vertically federated random forest. With extensive optimization, we achieved $5 imes$ and $83 imes$ speed up over the SOTA SecureBoost model \cite{cheng2019secureboost} for training and serving tasks. Moreover, the proposed system can achieve similar accuracy but with favorable scalability and partition tolerance. Our code has been made public to facilitate the development of the community and the protection of user data privacy.
Motivation & Objective
- To address the inefficiency of existing vertically federated learning systems in training and inference, especially on large-scale real-world datasets.
- To design a system that maintains high accuracy while drastically improving speed and scalability compared to SOTA methods like SecureBoost.
- To ensure robustness and partition tolerance for production-level deployment in privacy-critical applications such as finance and healthcare.
- To enable real-time inference by optimizing communication, computation, and system architecture for low-latency serving.
- To provide a publicly available, production-ready system that supports data privacy and efficient model training across multiple parties.
Proposed method
- The system employs a novel federated random forest algorithm that enables secure, distributed training of decision trees across multiple parties without exposing raw feature data.
- It integrates a customized homomorphic encryption scheme to protect feature values during cross-party computation, ensuring data privacy.
- Secure multi-party computation (MPC) is used to securely compute information gain and split points during tree construction, minimizing leakage.
- Optimized communication protocols reduce latency by minimizing data transfers between parties, especially during feature aggregation and split selection.
- The system uses a distributed architecture that isolates individual trees, enabling horizontal scaling via additional machines and supporting batch processing for high-throughput inference.
- A four-stage optimization pipeline (O1–O4) is applied: RIAC for secure aggregation, MPC for split computation, optimized communication, and streaming/batching for inference acceleration.
Experimental results
Research questions
- RQ1Can a vertically federated random forest system achieve significantly faster training and inference than existing SOTA methods like SecureBoost while maintaining comparable accuracy?
- RQ2How can homomorphic encryption and MPC be efficiently combined to enable secure, scalable tree learning without compromising performance?
- RQ3To what extent can system-level optimizations such as communication reduction, parallelization, and batching improve real-time inference in federated learning?
- RQ4Can the proposed system maintain robustness and partition tolerance in production-scale deployments with millions of records and high query loads?
- RQ5How do individual optimization techniques (e.g., RIAC, MPC, communication tuning) contribute to overall performance gains in training and serving?
Key findings
- The proposed system achieves up to 83× speedup in training time compared to SOTA SecureBoost, reducing training from over 300 minutes to just 60 minutes on the FK dataset.
- Inference latency is reduced from 10 seconds (SecureBoost) to 0.12 seconds using optimized streaming, enabling real-time inference for production workloads.
- With batch processing of 100 queries, the system achieves 3,000 queries per second (QPS) on a single machine per party, demonstrating strong horizontal scalability.
- The system maintains comparable accuracy to centralized models and SecureBoost, with AUC scores of 0.66 on the FK dataset and 0.79 on epsilon, matching or exceeding SOTA where convergence is achieved.
- Ablation studies show that the combination of all optimizations (O1–O4) reduces training time on the FK dataset from 35 hours to just 1 hour, with 35× speedup over the baseline.
- The system has been deployed in production, handling hundreds of millions of inference calls without failure, proving its robustness and scalability in real-world applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.