SoK: Modular and Efficient Private Decision Tree Evaluation

Ágnes Kiss, Masoud Naderpour, Jian Liu, N. Asokan, Thomas Schneider

Abstract

This paper presents a comprehensive systematization of knowledge (SoK) for Private Decision Tree Evaluation (PDTE), a critical task in privacy-preserving machine learning. By decomposing PDTE into three modular phases—selection, comparison, and path evaluation—the authors explore the design space of hybrid protocols. These protocols leverage the complementary strengths of Garbled Circuits (GC) and Homomorphic Encryption (HE). The resulting hybrid constructions achieve significant performance gains, including an order-of-magnitude speedup over existing state-of-the-art methods.

Introduction

In the growing field of Machine Learning as a Service (MLaaS), protecting both the model provider's intellectual property and the client's data privacy is paramount. Private Decision Tree Evaluation (PDTE) enables a client to evaluate a server-held decision tree on their private input without revealing the input to the server or the model structure to the client.

Historically, PDTE protocols have been polarized between two cryptographic paradigms: Garbled Circuits (GC), which offer fast computation but high communication costs, and Homomorphic Encryption (HE), which is communication-efficient but computationally intensive. This work provides a systematic framework to bridge these paradigms through modularity and hybrid protocol design.

The Modular Framework

The authors identify three fundamental sub-protocols that constitute the PDTE process:

  1. Selection Phase: The process of obliviously identifying the specific feature from the client's input vector required for a given node's threshold check.
  2. Comparison Phase: The execution of the threshold comparison (e.g., $x_i < y_j$) to determine the traversal direction.
  3. Path Evaluation Phase: The logic that determines the final leaf node based on the outcomes of all comparisons.

A significant challenge in pure GC-based path evaluation is the requirement for "depth-padding." To hide the tree's topology from the client, dummy nodes must be added so that every path from root to leaf has the same length. As illustrated in Figure 1, this padding can substantially increase the total number of nodes ($m'$ vs $m$), especially in sparse trees, leading to increased overhead.

Standard vs. Depth-padded Decision Trees

Hybrid Protocol Design

By modularizing these phases, the authors can construct "hybrid" protocols that combine the best of both worlds. For instance, the GGH protocol uses Garbled Circuits for the selection and comparison phases while utilizing Homomorphic Encryption for path evaluation. This approach avoids the exponential overhead of depth-padding while maintaining high-speed comparisons.

The selection phase can be implemented using various techniques. Figure 2 illustrates a selection protocol utilizing Garbled Circuits and Oblivious Transfer (OT). In this setup, the server provides the necessary keys for the client's specific input features without learning which features were selected, facilitating a secure transition to the comparison phase.

Garbled Selection Protocol

Key Insights and Performance

The study reveals several critical trade-offs regarding the efficiency of PDTE:

  • Modularity and Flexibility: Treating PDTE as three distinct steps allows for fine-tuned optimization based on specific network conditions, such as prioritizing low bandwidth versus low latency.
  • Efficiency of HE Pathing: HE-based path evaluation scales linearly with the number of actual nodes $m$, whereas GC-based methods scale with the padded node count $m'$, which can be significantly larger in deep or unbalanced trees.
  • Precomputation: GC-based phases allow for massive offline precomputation. This shifts the heavy lifting away from the "online" phase, reducing the latency experienced by the client once they submit a query.

Benchmarking on real-world datasets from the UCI Machine Learning Repository, such as the boston dataset (depth 30, 425 nodes), demonstrated the power of these hybrids. The GGH protocol achieved a total runtime of under one second in a LAN environment, representing an order-of-magnitude improvement over previous pure HE-based protocols like HHH.

Conclusion

This systematization clarifies the PDTE landscape and introduces hybrid protocols that define a new Pareto frontier for efficiency. By identifying that HE is often superior for pathing while GC excels at comparisons, the authors provide a roadmap for future privacy-preserving ML implementations. Future research directions include extending these modular techniques to handle malicious adversaries and more complex model architectures like deep neural networks.

Summary updated

BibTeX
@article{kiss2018sok,
  author = {Ágnes Kiss and Masoud Naderpour and Jian Liu and N. Asokan and Thomas Schneider},
  title = {{SoK: Modular and Efficient Private Decision Tree Evaluation}},
  journal = {IACR ePrint},
  year = {2018},
}
Figure