mlsanityData to 7 Oct 2026

Trained Random Forests Completely Reveal your Dataset

arXiv 2402.19232 ↗First posted 29 Feb 2024cs.LG cs.CRcited by 11

Not on the map. Why?

Abstract (arXiv)

We introduce an optimization-based reconstruction attack capable of completely or near-completely reconstructing a dataset utilized for training a random forest. Notably, our approach relies solely on information readily available in commonly used libraries such as scikit-learn. To achieve this, we formulate the reconstruction problem as a combinatorial problem under a maximum likelihood objective. We demonstrate that this problem is NP-hard, though solvable at scale using constraint programming -- an approach rooted in constraint propagation and solution-domain reduction. Through an extensive computational investigation, we demonstrate that random forests trained without bootstrap aggregation but with feature randomization are susceptible to a complete reconstruction. This holds true even with a small number of trees. Even with bootstrap aggregation, the majority of the data can also be reconstructed. These findings underscore a critical vulnerability inherent in widely adopted ensemble methods, warranting attention and mitigation. Although the potential for such reconstruction attacks has been discussed in privacy research, our study provides clear empirical evidence of their practicability.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 14 of its 35 references that are in the map. First posted on arXiv 29 Feb 2024.

Builds on

14 of 35 references.

References · 14

  1. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  2. 2021Membership Inference Attacks From First Principlescited by 839
  3. 2020A Survey of Privacy Attacks in Machine Learningcited by 143
  4. 2022Reconstructing Training Data from Trained Neural Networkscited by 129
  5. 2019Updates-Leak: Data Set Inference and Reconstruction Attacks in Online Learningcited by 117
  6. 2020An Overview of Privacy in Machine Learningcited by 39
  7. 2021Optimal Counterfactual Explanations in Tree Ensemblescited by 36
  8. 2016Decision Tree Classification with Differential Privacy: A Surveycited by 17
  9. 2022Exploiting Fairness to Enhance Sensitive Attributes Reconstructioncited by 10
  10. 2021Optimal Kidney Exchange with Immunosuppressantscited by 9
  11. 2022Can Querying for Bias Leak Protected Attributes? Achieving Privacy With Smooth Sensitivitycited by 8
  12. 2020On the Intrinsic Differential Privacy of Baggingcited by 7
2 more
  1. 2023Probabilistic Dataset Reconstruction from Interpretable Modelscited by 7
  2. 2022Dikaios: Privacy Auditing of Algorithmic Fairness via Attribute Inference Attackscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 6; 2026: 4.

11 papers.