Mostree: Malicious Secure Private Decision Tree Evaluation with Sublinear Communication

Jianli Bai, Xiangfu Song, Xiaowu Zhang, Qifan Wang, Shujie Cui, Ee-Chien Chang, Giovanni Russello

Introduction

Private Decision Tree Evaluation (PDTE) allows a model owner to classify a client's sensitive data without either party revealing their private information. However, existing PDTE protocols often face a trade-off between security and efficiency. Protocols that are fast enough for large-scale use typically assume "semi-honest" participants, while those providing "malicious" security—protecting against parties that intentionally deviate from the protocol—often suffer from prohibitive communication overhead.

Mostree bridges this gap by introducing a protocol that is secure against malicious adversaries while maintaining sublinear communication costs. By leveraging Distributed Point Functions (DPF) and Replicated Secret Sharing (RSS), Mostree enables private model inference that scales with the depth of the tree rather than the total number of nodes.

Tree-to-Array Encoding and Sublinear Selection

A core innovation of Mostree is the transformation of the decision tree structure into a format suitable for oblivious traversal. The protocol encodes the decision tree into a multi-dimensional array, where each entry represents a node's threshold, child indices, and classification values.

Figure 2: The Tree-to-Array encoding process maps a hierarchical decision tree into a structured table for efficient traversal.

This encoding allows the evaluation to be treated as a sequence of array lookups. To maintain sublinear communication, Mostree utilizes Sublinear Oblivious Selection (OS). Specifically, it employs Distributed Point Functions (DPF) over Replicated Secret Sharing (RSS). This approach allows parties to retrieve a specific node from the tree array using a compressed "key," ensuring that the communication cost depends only on the tree depth ($d$) and the number of features ($n$), rather than the total number of nodes ($m$).

Achieving Malicious Security

To defend against malicious actors who might inject errors to corrupt the result or leak data, Mostree incorporates lightweight consistency checks. Rather than relying on expensive zero-knowledge proofs, the authors utilize SPDZ-like Message Authentication Codes (MACs).

The protocol follows a "check-at-the-end" strategy. During the tree traversal, parties perform computations on secret shares. To ensure correctness, Mostree batches the MAC checks, performing a single verification at the conclusion of the evaluation. This insight—that correctness is the primary bottleneck in malicious settings—allows Mostree to achieve high security with minimal performance penalties compared to semi-honest alternatives.

Performance and Comparative Analysis

The authors evaluated Mostree across various datasets, including MNIST and several UCI benchmarks. In a Local Area Network (LAN) setting, Mostree classified an MNIST sample in 768 ms with only 168 KB of communication, even for trees with significant depth.

Figure 5: Comparison of Mostree against existing PDTE protocols highlights its unique combination of sublinear communication and malicious security.

As shown in the comparative analysis, Mostree is the first protocol to achieve both sublinear communication and full malicious security (represented by the solid black circle in the security column). Compared to the previous state-of-the-art malicious-secure protocol by Damgård et al., Mostree reduces communication by up to 311x. Furthermore, its performance remains competitive with the most efficient semi-honest protocols, effectively providing malicious security with negligible overhead.

Conclusion and Future Directions

Mostree demonstrates that malicious security in PDTE does not have to come at the cost of scalability. By combining sublinear oblivious selection with efficient consistency checks, it provides a practical solution for evaluating large-scale decision trees privately.

While the protocol significantly reduces communication, local computation remains linear relative to the tree size. Future work may explore hardware acceleration via GPUs or FPGAs to mitigate this local bottleneck. Additionally, extending these sublinear techniques to Random Forests and more complex graph-based models remains a promising area for further research.

Summary updated

BibTeX
@inproceedings{bai2023mostree,
  author = {Jianli Bai and Xiangfu Song and Xiaowu Zhang and Qifan Wang and Shujie Cui and Ee-Chien Chang and Giovanni Russello},
  title = {{Mostree: Malicious Secure Private Decision Tree Evaluation with Sublinear Communication}},
  booktitle = {ACSAC},
  year = {2023},
}
Figure