Introduction
Machine Learning as a Service (MLaaS) presents a significant privacy challenge: users wish to keep their input data private, while providers must protect their proprietary model parameters. Gradient-Boosting Decision Forests (GBDTs), such as XGBoost and AdaBoost, are widely used for their accuracy but are difficult to deploy in private inference settings due to their complexity. Existing Fully Homomorphic Encryption (FHE) solutions for single trees do not scale well to forests containing hundreds of trees.
SilentWood addresses three primary bottlenecks in private GBDT inference: computational overhead from homomorphic rotations, the difficulty of score aggregation using limited FHE operations, and the massive communication size of encrypted feature vectors.
Methodology
SilentWood introduces three key optimizations to enable high-performance private inference.
Computation Clustering
The protocol identifies redundancy in GBDT models. Node Clustering groups nodes across different trees that share similar thresholds into a single weighted-average threshold. The model is then re-optimized to maintain accuracy. Path Clustering further reduces work by identifying paths across trees that share identical sets of conditions, eliminating redundant evaluations.
Blind Code Conversion (BCC)
To solve the score aggregation bottleneck, SilentWood replaces the standard "MultiplyPath" approach with a novel "SumPath" technique. In a standard MultiplyPath, the "true" path is identified by a product of boolean indicators (1 for true, 0 for false), which is computationally expensive in FHE due to multiplicative depth.
In the SumPath approach, the server assigns a value of 0 to "true" edges and random values to "false" edges. The sum of values along the true path is exactly 0, while any other path results in a random non-zero value. Through a single round of interaction, the client "blindly" converts these 0s to 1s and non-zeros to 0s, allowing the server to aggregate the final score with minimal multiplicative depth.
Ciphertext Compression
To address communication bloat, SilentWood employs a compression scheme that removes repetitive data encodings before encryption. The server performs "homomorphic decompression" to restore the data into the SIMD format required for efficient computation, reducing query sizes from ~85MB to ~15MB.
Experimental Evaluation
The authors evaluated SilentWood using 13 datasets from the UCI Machine Learning Repository, covering both binary and multi-class classification tasks with feature counts ranging from 11 to 64.
Performance Results
SilentWood demonstrates significant improvements over state-of-the-art baselines:
- Speed: Achieves up to a 42.5x speedup over the RCC-PDTE baseline and is 2.94x faster than leading MPC-based protocols (SoK-GGG).
- Communication: Reduces server-client communication by over 80% through ciphertext compression.
- Accuracy: Maintains high average accuracy (approx. 0.90) despite aggressive clustering, thanks to the leaf value re-optimization step.
Conclusion
SilentWood makes private forest inference practical by leveraging model redundancy and a clever interactive aggregation protocol. By trading a small amount of model capacity for significant cryptographic efficiency, it bridges the gap between theoretical privacy and real-world performance requirements. Future work includes automating hyperparameter tuning for clustering and extending the protocol to support malicious security models.
Summary updated