Lumberjack: Better Differentially Private Random Forests through Heavy Hitter Detection in Trees

Christian Janos Lebeda, David Erb, Tudor Cebere, Aurélien BelletarXiv 2026

TL;DR

Lumberjack introduces a highly effective differentially private random forest algorithm that bridges the utility gap for sensitive tabular data. By building deep random trees and aggressively pruning them using a novel, logarithmic-sensitivity heavy hitter detection algorithm, Lumberjack achieves state-of-the-art accuracy under strict privacy budgets.

What Problem Does This Paper Address?

Tabular data is ubiquitous in high-stakes domains like healthcare and finance, where random forests (RFs) remain the gold standard for predictive accuracy. However, training RFs on sensitive data risks leaking individual records. While Differential Privacy (DP) offers a rigorous mathematical framework to prevent this, existing DP random forests suffer from severe utility degradation.

Current approaches fall into two flawed paradigms: they either use data-dependent greedy splits that inject too much noise into the tree structure, or they use data-independent "fully random" splits. Fully random trees avoid structure-learning noise but fail to adapt to the underlying data distribution, often collapsing to useless majority-class predictions when trees grow deep or the feature space expands.

Toy example showing how fully random trees fail to capture structure compared to Lumberjack as the feature space shifts.

Additionally, the authors reveal a systemic issue in the literature: over ten previously published DP random forest methods contain subtle but critical privacy flaws (such as checking node purity deterministically), making a new, mathematically sound baseline sorely needed.

Methods

Lumberjack strikes a balance by combining randomized tree construction with data-dependent, privacy-preserving pruning.

  1. Randomized Tree Construction: Trees are initially grown to a significant depth using random feature and split-threshold selection, meaning no privacy budget is spent on building the initial structure.
  2. Private Heavy Hitter Pruning: Lumberjack allocates a portion of the privacy budget to prune away empty or low-density branches, keeping only nodes that contain a sufficient number of data points.
  3. Novel Hierarchical Heavy Hitter Detector: A naive top-down check on a tree of height $h$ causes noise to scale with $O(\sqrt{h})$, destroying utility for deep trees. Lumberjack introduces a binary search-inspired approach. It queries a middle layer of the tree and propagates constraints upward and downward by exploiting tree monotonicity (e.g., a light node implies all its descendants are light). This exponentially reduces the $\ell_2$-sensitivity to $O(\sqrt{\log h})$, allowing the algorithm to support much deeper and more expressive trees.
The recursive iteration of the heavy hitter detector, showing constraint propagation across tree layers.
  1. Sparse Histogram Integration: To handle the massive number of empty nodes in deep trees, the authors adapt sparse thresholding techniques so that empty subtrees are deterministically mapped to $\perp$ (Light) without wasting privacy budget or computational power.

Datasets

The authors evaluated Lumberjack on several real-world binary classification benchmarks:

  • Adult Dataset: A classic census dataset containing 48,842 records used to predict income levels.
  • Folktables (California 2018): A modern, larger-scale suite of datasets derived from US Census Bureau data, specifically targeting ACSIncome, ACSEmployment, ACSPublicCoverage, and ACSTravelTime.

Key Insights and Ideas

  • Pruning is the Sweet Spot: Wasting privacy budget on greedy splitting is highly inefficient. Building a large, completely random tree and then privately deciding where to "cut" yields vastly superior utility.
  • Monotonicity is a Superpower: Because data counts can only increase as you move up toward the root, a single noisy query in a middle layer can safely classify large chunks of ancestors or descendants without requiring explicit queries.
  • The "Privacy Bug" Epidemic: The paper highlights a critical lesson for DP research: deterministic control flows based on private data (like stopping a split because a node happens to be pure) completely invalidate DP guarantees.

Key Results

Lumberjack consistently establishes a new state-of-the-art across all evaluated datasets and privacy budgets ($\varepsilon \in \{0.5, 1, 2, 4, 8\}$). It significantly outperforms existing baselines like IBM's DiffPrivLib, SNR, and Smooth Sensitivity.

Test accuracy comparison on the Adult, ACSIncome, and ACSEmployment datasets across different privacy budgets.

Remarkably, even under strict privacy constraints ($\varepsilon = 2$), Lumberjack often outperforms a standard, non-private greedy decision tree. It successfully maintains high accuracy where prior methods flatline or fail to improve as the privacy budget relaxes.

Limitations and Future Work

Despite closing much of the utility gap, a performance delta still remains between Lumberjack and completely non-private Extra Trees. The authors note that their random splitting strategy is independent of the data, suggesting that incorporating privacy-preserving data preprocessing or smarter unsupervised splitting schemes could further boost performance. Finally, designing a high-utility, theoretically sound greedy DP random forest remains an open and promising challenge for the community.

Summary updated

BibTeX
@misc{lebeda2026lumberjack,
  author = {Christian Janos Lebeda and David Erb and Tudor Cebere and Aurélien Bellet},
  title = {{Lumberjack: Better Differentially Private Random Forests through Heavy Hitter Detection in Trees}},
  year = {2026},
  eprint = {2605.22756},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.22756},
}
Figure