Coresets for Decision Trees of Signals

Ibrahim Jubran, Ernesto Evgeniy Sanches Shayda, Ilan Newman, Dan Feldman
10/7/2021
cs.LGcs.DS

Official code: ernestosanches/Decision-Trees-Coreset (5 stars, Python, last commit 2023-02-17).

Abstract

A $k$-decision tree $t$ (or $k$-tree) is a recursive partition of a matrix (2D-signal) into $k\geq 1$ block matrices (axis-parallel rectangles, leaves) where each rectangle is assigned a real label. Its regression or classification loss to a given matrix $D$ of $N$ entries (labels) is the sum of squared differences over every label in $D$ and its assigned label by $t$.

Show full abstract

Given an error parameter $\varepsilon\in(0,1)$, a $(k,\varepsilon)$-coreset $C$ of $D$ is a small summarization that provably approximates this loss to \emph{every} such tree, up to a multiplicative factor of $1\pm\varepsilon$. In particular, the optimal $k$-tree of $C$ is a $(1+\varepsilon)$-approximation to the optimal $k$-tree of $D$. We provide the first algorithm that outputs such a $(k,\varepsilon)$-coreset for \emph{every} such matrix $D$. The size $|C|$ of the coreset is polynomial in $k\log(N)/\varepsilon$, and its construction takes $O(Nk)$ time. This is by forging a link between decision trees from machine learning -- to partition trees in computational geometry. Experimental results on \texttt{sklearn} and \texttt{lightGBM} show that applying our coresets on real-world data-sets boosts the computation time of random forests and their parameter tuning by up to x$10$, while keeping similar accuracy. Full open source code is provided.

View on arXivView PDF

Code Implementations(1)

An implementation of the algorithms from the camera-ready version of the paper "Coresets for Decision Trees of Signals" (NeurIPS'2021) by Ibrahim Jubran, Ernesto Evgeniy Sanches Shayda, Ilan Newman, and Dan Feldman.

53PythonOct 5, 20213 years agoNOASSERTION
coresetdecision-treegradient-boosted-treesrandom-forest

Similar Papers

Cite this paper

@article{jubran2021coresets,
  title  = {Coresets for Decision Trees of Signals},
  author = {Ibrahim Jubran and Ernesto Evgeniy Sanches Shayda and Ilan Newman and Dan Feldman},
  year   = {2021},
  eprint = {2110.03195},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.03195}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.03195.svg)](https://codeofpaper.com/paper/2110.03195)

Discussion