Lune

ICLR2025Top-tier venue

DynFrs: An Efficient Framework for Machine Unlearning in Random Forest

Shurong Wang, Zhuoyang Shen, Xinbao Qiao, Tongning Zhang, Meng Zhang

2025Year
3Top-tier citations

Abstract

Random Forests are widely recognized for establishing efficacy in classification and regression tasks, standing out in various domains such as medical diagnosis, finance, and personalized recommendations. These domains, however, are inherently sensitive to privacy concerns, as personal and confidential data are involved. With increasing demand for the right to be forgotten, particularly under regulations such as GDPR and CCPA, the ability to perform machine unlearning has become crucial for Random Forests. However, insufficient attention was paid to this topic, and existing approaches face difficulties in being applied to real-world scenarios. Addressing this gap, we propose the DYNFRS framework designed to enable efficient machine unlearning in Random Forests while preserving predictive accuracy. DYNFRS leverages subsampling method OCC(q) and a lazy tag strategy LZY, and is still adaptable to any Random Forest variant. In essence, OCC(q) ensures that each sample in the training set occurs only in a proportion of trees so that the impact of deleting samples is limited, and LZY delays the reconstruction of a subtree until demanded, thereby avoiding unnecessary modifications on tree structures. In experiments, applying DYNFRS on Extremely Randomized Trees yields substantial improvements, achieving orders of magnitude faster unlearning performance and better predictive accuracy than existing machine unlearning methods for tree-based models. Our code is available here.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 97049626-6d06-4cb2-b311-46a046c8f00d

Cited by top-tier papers3

Ask how each one uses it

Builds on8

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines