English

Nearly Optimal Bounds for Computing Decision Tree Splits in Data Streams

Data Structures and Algorithms 2026-04-23 v1

Abstract

We establish nearly optimal upper and lower bounds for approximating decision tree splits in data streams. For regression with labels in the range {0,1,,M}\{0,1,\ldots,M\}, we give a one-pass algorithm using O~(M2/ϵ)\tilde{O}(M^2/\epsilon) space that outputs a split within additive ϵ\epsilon error of the optimal split, improving upon the two-pass algorithm of Pham et al. (ISIT 2025). Furthermore, we provide a matching one-pass lower bound showing that Ω(M2/ϵ)\Omega(M^2/\epsilon) space is indeed necessary. For classification, we also obtain a one-pass algorithm using O~(1/ϵ)\tilde{O}(1/\epsilon) space for approximating the optimal Gini split, improving upon the previous O~(1/ϵ2)\tilde{O}(1/\epsilon^2)-space algorithm. We complement these results with matching space lower bounds: Ω(1/ϵ)\Omega(1/\epsilon) for Gini impurity and Ω(1/ϵ)\Omega(1/\epsilon) for misclassification (which matches the upper bound obtained by sampling). Our algorithms exploit the Lipschitz property of the loss functions and use reservoir sampling along with Count--Min sketches with range queries. Our lower bounds follow from careful reductions from the INDEX problem.

Keywords

Cite

@article{arxiv.2604.20394,
  title  = {Nearly Optimal Bounds for Computing Decision Tree Splits in Data Streams},
  author = {Hoang Ta and Hoa T. Vu},
  journal= {arXiv preprint arXiv:2604.20394},
  year   = {2026}
}
R2 v1 2026-07-01T12:30:07.223Z