Scalable Private Decision Tree Evaluation with Sublinear Communication

Jianli Bai, Xiangfu Song, Shujie Cui, Ee-Chien Chang, Giovanni Russello · DOI

Abstract

Private Decision Tree Evaluation (PDTE) allows two parties to classify a private input using a private model without revealing sensitive information. However, existing protocols often suffer from linear communication costs relative to the tree size, limiting their use for large-scale models. This paper introduces a novel PDTE framework that achieves sublinear communication complexity through a new "Shared Oblivious Selection" (SOS) functionality. By optimizing tree encoding and leveraging PRF-based or HE-based SOS variants, the proposed method significantly reduces overhead, enabling practical evaluation of trees with millions of nodes.

Introduction

In private classification, a model owner and a data owner wish to compute a classification result while keeping their respective inputs private. Decision trees are widely used for this task due to their interpretability and performance. The primary challenge in PDTE is hiding the evaluation path. To prevent leakage, traditional protocols often pad trees to be complete, leading to costs that scale linearly with the number of nodes ($m$) or exponentially with depth ($d$). This paper addresses these scalability issues, proposing a modular framework that traverses only a single path while maintaining privacy.

Methodology

The core of the proposed approach is the Shared Oblivious Selection (SOS) primitive. SOS allows a party to retrieve a specific node from a tree array using a secret-shared index, ensuring that neither party learns which node was accessed.

Modified Tree Encoding

To handle trees of varying shapes without full padding, the authors introduce a modified encoding scheme. Leaf nodes are redirected to point back to themselves, creating a self-loop. This ensures that every evaluation process runs for a fixed number of iterations (equal to the maximum depth $d$), effectively hiding the actual path length and the classification result until the final step.

Modified tree encoding and its corresponding array representation.

SOS Variants and Optimizations

Two distinct SOS protocols are developed to cater to different network conditions:

  1. PRF-based SOS: Optimized for low-latency (LAN) environments, this variant uses Pseudorandom Functions (PRFs) and moves heavy computations to an offline phase.
  2. HE-based SOS: Designed for high-latency (WAN) environments, this variant utilizes Paillier Additive Homomorphic Encryption (AHE) to minimize communication rounds.

Additionally, the authors employ Node Clustering, which packs parent and child nodes into a single cluster to reduce the total number of SOS invocations.

Experimental Evaluation

The protocols were tested on eight UCI datasets, including high-dimensional data like MNIST, and synthetic trees with depths up to 50 to test scalability limits.

Key Results

The proposed sublinear protocols demonstrate significant improvements over state-of-the-art linear and ORAM-based solutions. As shown in the comparison table below, the new approach maintains competitive or superior performance across various metrics.

Comparison of the proposed protocols with state-of-the-art PDTE solutions.
  • Communication Efficiency: The PRF-based protocol achieves a 62× reduction in communication for large trees compared to previous linear protocols.
  • Latency Performance: In WAN settings, the HE-based protocol is 83× faster in online computation than existing solutions.
  • Scalability: Unlike previous ORAM-based methods that fail at moderate depths (e.g., $d=23$), this framework successfully handles trees with a depth of 50.
  • Total Efficiency: Compared to the best existing sublinear ORAM-based protocol, the PRF-based version is roughly 40× faster in total execution time.

Conclusion

This work provides a highly scalable solution for PDTE by replacing generic ORAM with a specialized, read-only SOS functionality. While the current implementation focuses on semi-honest security and requires a linear setup phase, it sets a new benchmark for efficiency in private machine learning. Future research will explore extensions to malicious security and applications in ensemble methods like Random Forests.

Summary updated

BibTeX
@inproceedings{bai2022scalable,
  author = {Jianli Bai and Xiangfu Song and Shujie Cui and Ee-Chien Chang and Giovanni Russello},
  title = {{Scalable Private Decision Tree Evaluation with Sublinear Communication}},
  booktitle = {AsiaCCS},
  year = {2022},
  doi = {10.1145/3488932.3517413},
}
Figure