NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MammothDP: Private Boosted Decision Trees Ready for Trusted Hardware and Leakage-free Hyperparameters

Moritz Kirschte, Thorsten Peinemann, Kari Kostiainen, Jan Wichelmann, Thomas Eisenbarth, Esfandiar MohammadiarXiv 2026

TL;DR

MammothDP is a holistic machine learning system that finally bridges the gap between secure hardware (TEEs) and Differential Privacy (DP) for tabular data. By introducing timing-hardened algorithms, a novel rollback protection scheme, and "leakage-free" adaptive hyperparameter tuning, it enables high-utility boosted decision trees that are provably secure against both network-level and side-channel attackers.

What Problem Does This Paper Address?

Modern data regulations, such as the European Health Data Space (EHDS), demand a "belt and suspenders" approach to privacy: sensitive data must be protected both during processing (ensuring the server can't see the raw data) and during release (ensuring the final model doesn't leak individual records).

The standard solution is to run a Differentially Private (DP) algorithm inside a Trusted Execution Environment (TEE) like Intel SGX or TDX. However, the authors identify a critical "security gap" in this combined setup:

  1. Timing Side-Channels: Even if the data is encrypted in memory, the time it takes to process a request can leak information. For example, if a training loop takes slightly longer, an attacker might infer the presence of a specific individual in the dataset.
  2. Rollback Attacks: TEEs don't inherently guarantee "state continuity." An attacker could "rewind" the TEE to a previous state, forcing it to rerun a DP query with new noise. By averaging these results, the attacker can "cancel out" the privacy-preserving noise.
  3. The Hyperparameter Hurdle: Tuning a model (e.g., deciding how many trees to build) usually requires looking at the data multiple times, which quickly drains the limited "privacy budget" ($\epsilon$) allowed by DP.
Figure 1: Simplified timing attack on S-BDT: A single training point measurably impacts the runtime, although (ε = 0.1)- DP holds: the adversarial advantage is TPR=0.29@FPR=0.002 at threshold τ = 2.64 s. Setup: 500 S-BDT models with T = 30,000 trees of depth d = 8 are each trained on a random subset D of size 3 of Abalone [26] and similarly for D′. The metric TPR@FPR=0.002 quantifies the true positive rate (TPR) at a very low false positive rate (FPR) [27].

Methods

The authors introduce MammothDP, a system based on the S-BDT (Stochastic Boosted Decision Tree) learner, hardened for real-world deployment.

1. Constant-Time Hardening

To defeat timing attacks, MammothDP uses constant-time programming. It replaces data-dependent branches with bitmasking—ensuring the processor always touches every data point in every round, regardless of whether it's actually needed for a specific leaf node. To handle the fact that DP threat models involve datasets of different sizes ($n$ vs $n+1$), they implement Noisy Input Length (Algorithm 5), which adds noise to the dataset size and pads it with dummy data to hide the exact count.

2. Improved Rollback Protection

Previous defenses against rollback attacks focused on controlling the release of data. MammothDP argues this is flawed because an attacker can still measure the computation time before the release is blocked. Their solution, inspired by the "Memoir" paradigm, updates a "freshness tag" (a hash chain of inputs) in secure non-volatile memory before the computation starts. This prevents the TEE from being used as a timing oracle.

Figure 2: Overview of our rollback protection solution.

3. Leakage-free Early Stopping

To solve the hyperparameter problem, they developed a novel early stopping criterion. Instead of using a separate validation set (which costs privacy), they monitor the sum of noisy gradients already released during training. When this sum shifts direction, it signals that the model has reached a "bias-freeness" point and should stop. Because this uses "post-processing" on already-released noisy data, it costs zero extra privacy budget.

Datasets

The system was evaluated on five standard tabular datasets:

  • Regression: Insurance (medical premiums) and Abalone (age prediction).
  • Classification: Credit (delinquency), Adult (income), and Spambase (spam detection).

Key Insights and Ideas

  • Timing is a DP Release: The authors prove "Timing Privacy," showing that if you can't perfectly hide execution time, you must treat the runtime itself as a randomized mechanism that satisfies DP.
  • Computation vs. Release: The "aha moment" for rollback protection is that you must limit the execution of the algorithm, not just the final output, to prevent side-channel leakage.
  • Gradients as a Proxy for Bias: By mathematically linking the sum of leaf gradients to the Mean Squared Error (MSE), they found a way to tune the most important hyperparameter (number of trees) adaptively without "peeking" at the raw data in a way that leaks privacy.

Key Results

  • Security Verification: Using the Microwalk analysis framework, the authors verified that their compiled binaries are indeed constant-time and free of data-dependent memory or control-flow leaks.
  • Utility Gains: The early stopping mechanism significantly outperformed static baselines. In low-privacy-budget regimes ($\epsilon \leq 0.1$), it achieved utility comparable to models tuned with "privacy-leaky" optimal parameters.
  • Efficiency: While constant-time code is slower (1.6x to 69x overhead), MammothDP is still orders of magnitude faster than cryptographic alternatives like Multi-Party Computation (MPC), which can take minutes to train a single tree.

Limitations and Future Work

  • Fixed Precision: Like many DP implementations, MammothDP relies on discrete noise sampling (FACCT), which has known theoretical edge cases regarding floating-point precision.
  • Classification Heuristics: While the early stopping rule works exceptionally well for regression, its performance on classification tasks was more varied, suggesting room for more specialized heuristics.
  • Linear Scan Overhead: The requirement to scan all $n$ data points every round for constant-time safety means the system's overhead grows linearly with dataset size, which may be challenging for massive-scale data.

For more details, you can find the full paper on arXiv: 2611.14317v1.

Summary updated

BibTeX
@misc{kirschte2026mammothdp,
  author = {Moritz Kirschte and Thorsten Peinemann and Kari Kostiainen and Jan Wichelmann and Thomas Eisenbarth and Esfandiar Mohammadi},
  title = {{MammothDP: Private Boosted Decision Trees Ready for Trusted Hardware and Leakage-free Hyperparameters}},
  year = {2026},
  eprint = {2611.14317},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.14317},
}
Figure