Machine Unlearning for Random Forests
Open accessAbstract
Responding to user data deletion requests, removing noisy examples, or deleting corrupted training data are just a few reasons for wanting to delete instances from a machine learning (ML) model. However, efficiently removing this data from an ML model is generally difficult. In this paper, we introduce data removal-enabled (DaRE) forests, a variant of random forests that enables the removal of training data with minimal retraining. Model updates for each DaRE tree in the forest are exact, meaning that removing instances from a DaRE model yields exactly the same model as retraining from scratch on updated data. DaRE trees use randomness and caching to make data deletion efficient. The upper levels of DaRE trees use random nodes, which choose split attributes and thresholds uniformly at random. These nodes rarely require updates because they only minimally depend on the data. At the lower levels, splits are chosen to greedily optimize a split criterion such as Gini index or mutual information. DaRE trees cache statistics at each node and training data at each leaf, so that only the necessary subtrees are updated as data is removed. For numerical attributes, greedy nodes optimize over a random subset of thresholds, so that they can maintain statistics while approximating the optimal threshold. By adjusting the number of thresholds considered for greedy nodes, and the number of random nodes, DaRE trees can trade off between more accurate predictions and more efficient updates. In experiments on 13 real-world datasets and one synthetic dataset, we find DaRE forests delete data orders of magnitude faster than retraining from scratch while sacrificing little to no predictive power.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Schelter et al. [57], Brophy et al. [58], and Wu et al. [60] only provide evaluations in terms of runtime and accuracy, and they do not provide reasonable experimental or theoretical verifiability guarantees of their unlearning processes.
“Schelter et al. [57], Brophy et al. [58], and Wu et al. [60] only provide evaluations in terms of runtime and accuracy, and they do not provide reasonable experimental or theoretical verifiability guarantees of their unlearning processes.”
From Machine Unlearning: A Survey (2024) · cites this paper as [58]
The Methodology (§4.1, p. 5) evaluates deletion speed and predictive performance, supporting the runtime-and-accuracy portion. But Theorem 3.1 (§3, p. 2), with its proof in Appendix A.1 (p. 14), states that DaRE forests provide exact deletion, contradicting the claim that Brophy et al. provide no theoretical unlearning guarantee. (LLM, conf=0.94)
Experimental — accuracy not yet measuredThe above two schemes (Hedgecut and DaRE) need to compute a large number of possible tree structures in advance, which would cost a large number of storage resources.
“The above two schemes need to compute a large number of possible tree structures in advance, which would cost a large number of storage resources [57, 58].”
From Machine Unlearning: A Survey (2024) · cites this paper as [58]
Section 4.4 (p. 7) confirms substantial storage overhead for DaRE forests: 6–26 times the memory of a standard random forest when training data is included. But Section 3.1 (p. 3) says DaRE stores node statistics and leaf-instance lists, then retrains a subtree if a deletion changes its split; it does not precompute numerous possible tree structures. This paper also does not establish the claim about Hedgecut. (LLM, conf=0.88)
Experimental — accuracy not yet measuredDaRE is mainly based on the idea of retraining subtrees only as needed.
“DaRE is mainly based on the idea of retraining subtrees only as needed.”
From Machine Unlearning: A Survey (2024) · cites this paper as [58]
Before the unlearning process in DaRE, most k randomly selected thresholds per attribute are computed, and intermediate statistics data are stored within each node in advance.
“Before the unlearning process, most k randomly selected thresholds per attribute are computed, and intermediate statistics data are stored within each node in advance.”
From Machine Unlearning: A Survey (2024) · cites this paper as [58]
Brophy et al. [58] proposed DaRE (Data Removal-Enabled) forests, a random forest variant that enables the efficient removal of training samples.
“For the tree-based models, Brophy et al. [58] also proposed DaRE (Data Removal-Enabled) forests, a random forest variant that enables the efficient removal of training samples.”
From Machine Unlearning: A Survey (2024) · cites this paper as [58]
In DaRE, this information is sufficient to recompute the split criterion of each threshold without iterating through the data, which can greatly reduce the cost of recalculation when unlearning the dataset.
“This information is sufficient to recompute the split criterion of each threshold without iterating through the data, which can greatly reduce the cost of recalculation when unlearning the dataset.”
From Machine Unlearning: A Survey (2024) · cites this paper as [58]
Brophy et al. [58] introduced random nodes at the top of each tree.
“They also introduced random nodes at the top of each tree.”
From Machine Unlearning: A Survey (2024) · cites this paper as [58]
Random nodes minimally depend on the statistics of the data, rather than the way greedy methods are used, and rarely need to be retrained.
“Random nodes minimally depend on the statistics of the data, rather than the way greedy methods are used, and rarely need to be retrained.”
From Machine Unlearning: A Survey (2024) · cites this paper as [58]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Membership Inference Attacks Against Machine Learning Models
Shokri, R., Stronati, M., Song, C., & Shmatikov, V. (2017) · 2017 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2017.41 · Cited by 4,754 · see citing works
Making Machine Learning Forget
Shintre, S., Roundy, K. A., & Dhaliwal, J. (2019) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-21752-5_6 · Cited by 13 · see citing works
Flagged first, then by citations
Research works printed but not linked: 58
- Aldaghri, N., Mahdavifar, H., and Beirami, A. Coded machine unlearning. arXiv preprint arXiv:2012.15721 , 2020. · arXiv
- Baumhauer, T., Sch¨ ottle, P., and Zeppelzauer, M. Machine unlearning: Linear filtration for logit-based classifiers. arXiv preprint arXiv:2002.02730 , 2020. · arXiv
- Bourtoule, L., Chandrasekaran, V., Choquette-Choo, C., et al. Machine unlearning. In IEEE Symposium on Security and Privacy , 2021.
- Breiman, L., Friedman, J., Olshen, R. A., and Stone, C. J. Classification and Regression Trees . CRC Press, 1984.
- Bull, P., Slavitt, I., and Lipstein, G. Harnessing the power of the crowd to increase capacity for data science in the social sector. In ICML #Data4Good Workshop , 2016.
- Cao, Y. and Yang, J. Towards making systems forget with machine unlearning. In IEEE Symposium on Security and Privacy , 2015.
- Carlini, N., Liu, C., et al. The secret sharer: Measuring unintended neural network memorization & extracting secrets. arXiv preprint arXiv:1802.08232 , 2018. · arXiv
- Cauwenberghs, G. and Poggio, T. Incremental and decremental support vector machine learning. In NeurIPS , 2001.
- Chaudhuri, K., Monteleoni, C., and Sarwate, A. D. Differentially private empirical risk minimization. JMLR , 2011.
- Chen, M., Zhang, Z., et al. When machine unlearning jeopardizes privacy. arXiv preprint arXiv:2005.02205 , 2020. · arXiv
- Chen, T. and Guestrin, C. XGBoost: A scalable tree boosting system. In KDD , 2016.
- Chen, Y., Li, B., Yu, H., Wu, P., and Miao, C. Hydra: Hypergradient data relevance analysis for interpreting deep neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence , 2021.
- Chrysakis, A. and Moens, M.-F. Online continual learning from imbalanced data. In ICML , 2020.
- Consul, S. and Williamson, S. Differentially private median forests for regression and classification. arXiv preprint arXiv:2006.08795 , 2020. · arXiv
- Denil, M., Matheson, D., and De Freitas, N. Narrowing the gap: Random forests in theory and in practice. In ICML , 2014.
- Dong, Y., Hopkins, S., and Li, J. Quantum entropy scoring for fast robust mean estimation and improved outlier detection. In NeurIPS , 2019.
- Fletcher, S. and Islam, M. Z. Decision tree classification with differential privacy: A survey. ACM Computing Surveys , 2019.
- Friedman, J. H. Greedy function approximation: a gradient boosting machine. Annals of Statistics , 2001.
- Fu, S., He, F., Xu, Y., and Tao, D. Bayesian inference forgetting. arXiv preprint arXiv:2101.06417 , 2021. · arXiv
- Garg, S., Goldwasser, S., and Vasudevan, P. N. Formalizing data deletion in the context of the right to be forgotten. arXiv preprint arXiv:2002.10635 , 2020. · arXiv
- Golatkar, A., Achille, A., Ravichandran, A., Polito, M., and Soatto, S. Mixed-privacy forgetting in deep networks. arXiv preprint arXiv:2012.13431 , 2020a. · arXiv
- Golatkar, A., Achille, A., and Soatto, S. Forgetting outside the box: Scrubbing deep networks of information accessible from input-output observations. arXiv preprint arXiv:2003.02960 , 2020b. · arXiv
- Golatkar, A., Achille, A., and Soatto, S. Eternal sunshine of the spotless net: Selective forgetting in deep networks. In CVPR , 2020c.
- Gu, T., Dolan-Gavitt, B., and Garg, S. Badnets: Identifying vulnerabilities in the machine learning model supply chain. In Machine Learning and Computer Security Workshop , 2017.
- Guo, C., Goldstein, T., Hannun, A., and van der Maaten, L. Certified data removal from machine learning models. In ICML , 2020.
- Gupta, A., Lanteigne, C., and Kingsley, S. SECure: A social and environmental certificate for AI systems. In ICML Deploying and Monitoring Machine Learning Systems Workshop , 2020.
- Haupt, J. and Nowak, R. Signal reconstruction from noisy random projections. IEEE Transactions on Information Theory , 2006.
- Izzo, Z., Smart, M. A., Chaudhuri, K., and Zou, J. Approximate data deletion from machine learning models: Algorithms and evaluations. arXiv preprint arXiv:2002.10077 , 2020. · arXiv
- Karasuyama, M. and Takeuchi, I. Multiple incremental decremental learning of support vector machines. In NeurIPS , 2009.
- Ke, G., Meng, Q., et al. LightGBM: A highly efficient gradient boosting decision tree. In NeurIPS , 2017.
- Kearns, M. Efficient noise-tolerant learning from statistical queries. Journal of the ACM (JACM) , 1998.
- Knoblauch, J., Husain, H., and Diethe, T. Optimal continual learning has perfect memory and is NP-hard. In ICML , 2020.
- Koh, P. W. and Liang, P. Understanding black-box predictions via influence functions. In ICML , 2017.
- Linero, A. R. and Yang, Y. Bayesian regression tree ensembles that adapt to smoothness and sparsity. Journal of the Royal Statistical Society , 2018.
- Lloyd, S. Least squares quantization in PCM. IEEE Transactions on Information Theory , 1982.
- Lundberg, S. M., Erion, G. G., and Lee, S.-I. Consistent individualized feature attribution for tree ensembles. arXiv preprint arXiv:1802.03888 , 2018. · arXiv
- Mentch, L. and Hooker, G. Quantifying uncertainty in random forests via confidence intervals and hypothesis tests. Journal of Machine Learning Research , 2016.
- Mozaffari-Kermani, M., Sur-Kolay, S., et al. Systematic poisoning attacks on and defenses for machine learning in healthcare. Journal of Biomedical and Health Informatics , 2014.
- Pedregosa, F., Varoquaux, G., Gramfort, A., et al. Scikitlearn: Machine learning in Python. JMLR , 2011.
- Prokhorenkova, L., Gusev, G., et al. CatBoost: Unbiased boosting with categorical features. In NeurIPS , 2018.
- Pruthi, G., Liu, F., Kale, S., and Sundararajan, M. Estimating training data influence by tracing gradient descent. Advances in Neural Information Processing Systems , 33, 2020.
- Quinlan, J. R. C4.5: Programs for Machine Learning . Elsevier, 2014.
- Rahmani, M. and Li, P. Outlier detection and robust PCA using a convex measure of innovation. In NeurIPS , 2019.
- Rana, S., Gupta, S. K., and Venkatesh, S. Differentially private random forest with high utility. In ICDM , 2015.
- Romero, E., Barrio, I., and Belanche, L. Incremental and decremental learning for linear support vector machines. In International Conference on Artificial Neural Networks , 2007.
- Schelter, S., Grafberger, S., and Dunning, T. Hedgecut: Maintaining randomised trees for low-latency machine unlearning. In Proceedings of the 2021 ACM SIGMOD International Conference on Management of Data , 2021.
- Sedhai, S. and Sun, A. Hspam14: A collection of 14 million tweets for hashtag-oriented spam research. In SIGIR , 2015.
- Shao, J. Linear model selection by cross-validation. Journal of the American Statistical Association , 1993.
- Sharchilev, B., Ustinovskiy, Y., Serdyukov, P., and de Rijke, M. Finding influential training samples for gradient boosted decision trees. In ICML , 2018.
- Shoeybi, M., Patwary, M., et al. Megatron-LM: Training multi-billion parameter language models using model parallelism. arXiv preprint arXiv:1909.08053 , 2019. · arXiv
- Sommer, D. M., Song, L., Wagh, S., and Mittal, P. Towards probabilistic verification of machine unlearning. arXiv preprint arXiv:2003.04247 , 2020. · arXiv
- Steinhardt, J., Koh, P. W. W., and Liang, P. S. Certified defenses for data poisoning attacks. In NeurIPS , 2017.
- Tople, S., Brockschmidt, M., et al. Analyzing privacy loss in updates of natural language models. arXiv preprint arXiv:1912.07942 , 2019. · arXiv
- Villaronga, E. F., Kieseberg, P., and Li, T. Humans forget, machines remember: Artificial intelligence and the right to be forgotten. Computer Law & Security Review , 2018.
- Wager, S. and Athey, S. Estimation and inference of heterogeneous treatment effects using random forests. Journal of the American Statistical Association , 2018.
- Wang, B., Yao, Y., et al. Neural cleanse: Identifying and mitigating backdoor attacks in neural networks. In IEEE Symposium on Security and Privacy , 2019.
- Wu, Y., Dobriban, E., and Davidson, S. B. DeltaGrad: Rapid retraining of machine learning models. In ICML , 2020.
- Yeh, C.-K., Kim, J., et al. Representer point selection for explaining deep neural networks. In NeurIPS , 2018.
Cited by
Sorted by citations
Fast Yet Effective Machine Unlearning
Tarun, A. K., Chundawat, V. S., Mandal, M., & Kankanhalli, M. (2021) · arXiv · doi:10.48550/arxiv.2111.08947 · Cited by 190 · see citing works
Xu, H., Zhu, T., Zhang, L., Zhou, W., & Yu, P. S. (2024) · ACM Computing Surveys · doi:10.1145/3603620 · Cited by 164 · see citing works
Federated Unlearning via Class-Discriminative Pruning
Wang, J., Guo, S., Xie, X., & Qi, H. (2022) · Proceedings of the ACM Web Conference 2022 · doi:10.1145/3485447.3512222 · Cited by 157 · see citing works
Mixed-Privacy Forgetting in Deep Networks
Golatkar, A., Achille, A., Ravichandran, A., Polito, M., & Soatto, S. (2021) · 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr46437.2021.00085 · Cited by 125 · see citing works
A Survey of Machine Unlearning
Nguyen, T. T., Huynh, T. T., Ren, Z., Nguyen, P. L., Liew, A. W.-C., Yin, H., & Nguyen, Q. V. H. (2022) · arXiv · doi:10.48550/arxiv.2209.02299 · Cited by 193 · see citing works
“com/schelterlabs/hedgecut DaRE-RF [12] Python Tree-based models https://github.”
Influential
- Authors
- Brophy, J., & Lowd, D.
- Affiliations
- University of Oregon (US)
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2020
- Pages
- 1092-1104
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 2009.05567
- OpenAlex
- W3171516653
- Cited by
- 70
- References
- 2
- Citations by year
- 2025: 8 · 2024: 27 · 2023: 21 · 2022: 10 · 2021: 4
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- International Conference on Machine Learning
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Privacy-Preserving Technologies in Data
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning and Data Classification
- Physical Sciences › Computer Science › Artificial Intelligence › Data Stream Mining Techniques
- Keywords
- machine unlearning, random forest, data deletion, model updating, threshold optimization
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review