Differentially- and non-differentially-private random decision trees

Mariusz Bojarski, Anna Choromanska, Krzysztof Choromanski, Yann LeCunarXiv 2014

Introduction

Building high-quality decision trees, such as those used in Random Forests, typically requires analyzing the training data to determine the optimal split at every node. However, in privacy-sensitive domains like healthcare or finance, this data-dependency poses a significant risk. Every query to the dataset during the tree-building process can potentially leak sensitive information about individuals.

Differential Privacy (DP) offers a rigorous framework to mitigate these risks, but applying it to standard decision trees is challenging. Because internal nodes depend on the data, noise must be added at every level of the tree. This accumulated noise often degrades the model's utility significantly by the time it reaches the leaf nodes. This paper addresses this challenge by revisiting Random Decision Trees (RDTs)—where the tree structure is chosen independently of the data—and providing a theoretical foundation for their use in both standard and private settings.

Methodology

The authors analyze two primary versions of the RDT classifier:

  1. Non-Differentially-Private (n-dp): The tree structure (attributes and split thresholds) is chosen uniformly at random. Only the final leaf nodes are populated with class counts from the training data.
  2. $η$-Differentially-Private (dp): The structure remains random, but Laplacian noise is added to the class counts in the leaves to satisfy differential privacy. Crucially, because the internal splits are data-independent, no privacy budget is consumed during the construction of the tree structure.

Three decision-making (voting) schemes are evaluated:

  • Majority Voting (MV): Each tree in the ensemble casts a single vote for the most frequent class in its reached leaf.
  • Threshold Averaging (TA): Probabilities are averaged across all trees, and a threshold is applied for classification.
  • Probabilistic Averaging (PA): Classification is based on the averaged probability distribution (sampling from a biased coin).

Key Insights: The Privacy-Utility Trade-off

The core advantage of RDTs in a private context is that the "Structure is Free." Since splits are random, the tree's architecture has zero sensitivity to the data. This allows the entire privacy budget to be concentrated on the leaf statistics, leading to higher accuracy than private versions of traditional algorithms like CART or C4.5.

Performance of different RDT voting schemes across various datasets as a function of tree height (h) and number of trees (k).

The researchers also identified a "Logarithmic Sweet Spot." Theoretically, $O(\log n)$ trees are sufficient for convergence. However, in the private setting, a trade-off exists: increasing the number of trees ($k$) improves ensemble strength but requires splitting the privacy budget more thinly, thereby increasing the noise per tree. As shown in the experimental plots, Majority Voting (dpRFMV) tends to be more robust to variations in tree height and ensemble size compared to Threshold Averaging.

Experimental Results

The approach was tested on eight diverse benchmark datasets, ranging from small medical datasets to large-scale physics and census data.

Comparison of error rates between standard CART (rpart) and various RDT implementations across eight benchmark datasets.

Key findings include:

  • Competitive Performance: In non-private settings, RDTs performed comparably to standard CART (rpart). In some instances, such as the Mushroom and Mammographic Mass datasets, RDTs actually achieved lower error rates.
  • Scalability to Privacy: For large datasets like Adult or Covertype, the performance gap between non-private and private RDTs was remarkably small, demonstrating that the noise added for DP becomes less impactful as the data volume increases.
  • Robustness of Majority Voting: While Threshold Averaging can achieve high accuracy, it is highly sensitive to hyper-parameters. Majority Voting (dpRFMV) provides more stable performance, making it a more reliable choice for practical applications where hyper-parameter tuning might be constrained by the privacy budget.

Conclusion and Future Work

This work demonstrates that RDTs are not merely a heuristic but a theoretically sound alternative for privacy-preserving machine learning. By decoupling the tree structure from the data, they provide a path toward high-accuracy models that respect individual privacy.

Future research could explore moving beyond fixed-height complete trees to more flexible architectures. Additionally, while completely random splits are ideal for privacy, they may struggle with datasets containing many irrelevant features. Investigating "semi-random" splits—where a small portion of the privacy budget is used to filter or weight attributes—could further enhance the utility of private RDTs in high-dimensional spaces.

Reference: Bojarski, M., Choromanska, A., Choromanski, K., & LeCun, Y. (2015). Differentially- and non-differentially-private random decision trees. arXiv:1410.6973v2 [cs.LG].

Summary updated

BibTeX
@misc{bojarski2014differentially,
  author = {Mariusz Bojarski and Anna Choromanska and Krzysztof Choromanski and Yann LeCun},
  title = {{Differentially- and non-differentially-private random decision trees}},
  year = {2014},
  eprint = {1410.6973},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1410.6973},
}
Figure