When are Deep Networks really better than Decision Forests at small sample sizes, and how?

Haoyin Xu, Kaleab A. Kinfu, Will LeVine, Sambit Panda, Jayanta Dey +7 more
8/31/2021
31 citations
cs.LGcs.AIq-bio.NC

Official code: neurodata/df-dn-paper (18 stars, Jupyter Notebook, last commit 2026-08-20). 1 more implementation below.

Abstract

Deep networks and decision forests (such as random forests and gradient boosted trees) are the leading machine learning methods for structured and tabular data, respectively. Many papers have empirically compared large numbers of classifiers on one or two different domains (e.g., on 100 different tabular data settings).

Show full abstract

However, a careful conceptual and empirical comparison of these two strategies using the most contemporary best practices has yet to be performed. Conceptually, we illustrate that both can be profitably viewed as "partition and vote" schemes. Specifically, the representation space that they both learn is a partitioning of feature space into a union of convex polytopes. For inference, each decides on the basis of votes from the activated nodes. This formulation allows for a unified basic understanding of the relationship between these methods. Empirically, we compare these two strategies on hundreds of tabular data settings, as well as several vision and auditory settings. Our focus is on datasets with at most 10,000 samples, which represent a large fraction of scientific and biomedical datasets. In general, we found forests to excel at tabular and structured data (vision and audition) with small sample sizes, whereas deep nets performed better on structured data with larger sample sizes. This suggests that further gains in both scenarios may be realized via further combining aspects of forests and networks. We will continue revising this technical report in the coming months with updated results.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
neurodata/df-dn-paperOfficial18Jupyter Notebook–2026-08-20
neurodata/partition_decodeOfficial3Jupyter NotebookApache-2.02022-01-06

Conceptual & empirical comparisons between decision forests & deep networks

188Jupyter Notebook, TeXFeb 2, 20213 months agoNOASSERTION
classificationdecision-treesdeep-learningdeep-neural-networksmachine-learning+1 more
Apache-2.0
32Jupyter Notebook, PythonMay 5, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{xu2021when,
  title  = {When are Deep Networks really better than Decision Forests at small sample sizes, and how?},
  author = {Haoyin Xu and Kaleab A. Kinfu and Will LeVine and Sambit Panda and Jayanta Dey and Michael Ainsworth and Yu-Chung Peng and Madi Kusmanov and Florian Engert and Christopher M. White and Joshua T. Vogelstein and Carey E. Priebe},
  year   = {2021},
  eprint = {2108.13637},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.13637}
}

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/2108.13637.svg)](https://codeofpaper.com/paper/2108.13637)

Discussion