Fully-Dynamic Decision Trees
Marco Bressan, Gabriel Damay, Mauro Sozio
Abstract
We develop the first fully dynamic algorithm that maintains a decision tree over an arbitrary sequence of insertions and deletions of labeled examples. Given ε>0 our algorithm guarantees that, at every point in time, every node of the decision tree uses a split with Gini gain within an additive ε of the optimum. For real-valued features the algorithm has an amortized running time per insertion/deletion of O((d·log³n)/ε²), which improves to O((d·log²n)/ε) for binary or categorical features, while it uses space O(n·d), where n is the maximum number of examples at any point in time and d is the number of features. Our algorithm is nearly optimal, as we show that any algorithm with similar guarantees requires amortized running time Ω(d) and space Ω(n·d/polylog(nd)). We complement our theoretical results with an extensive experimental evaluation on real-world data, showing the effectiveness of our algorithm.
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.
Cited by top-tier papers1
Ask how each one uses itBuilds on2
Related papers
- Fully-dynamic planarity testing in polylogarithmic timeJacob Holm, Eva RotenbergSTOC 2020
- Dynamic Deterministic Constant-Approximate Distance Oracles with nε Worst-Case Update TimeBernhard Haeupler, Yaowei Long, Thatchaphol SaranurakFOCS 2024 · 4 citations
- Efficient and Stable Fully Dynamic Facility LocationSayan Bhattacharya, Silvio Lattanzi, Nikos ParotsidisNeurIPS 2022 · 13 citations
- Almost Optimal Fully Dynamic k-Center Clustering with RecourseSayan Bhattacharya, Martín Costa, Ermiya Farokhnejad, Silvio Lattanzi et al.ICML 2025
- Dynamic treewidthTuukka Korhonen, Konrad Majewski, Wojciech Nadara, Michal Pilipczuk et al.FOCS 2023 · 2 citations
