arXiv:2610.10075cs.CROct 2026

Manuscript Offprint

arXiv:2610.10075

BetweenCut: Private Heavy-Node Classification with Doubly Logarithmic Error in Tree Height

Ergute Bao, Graham Cormode, Xiaokui Xiao, Ting Yu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Finding heavy nodes in a tree—those whose counts exceed a given threshold—is a building block for analysis and learning over structured data. Achieving record-level differential privacy (DP) without sacrificing accuracy is challenging because each record contributes to counts along an entire root-to-leaf path, allowing privacy costs to accumulate across levels. Existing methods account for the multiple threshold comparisons for each record incur additive error margins of Ωε,δ(log⁡h)\Omega_{\varepsilon,\delta}(\log h) or Ωε,δ(log⁡h)\Omega_{\varepsilon,\delta}(\sqrt{\log h}) for tree height hh. We introduce BETWEENCUT, an (ε,δ)(\varepsilon,\delta)-DP algorithm with an additive error margin of Oε,δ(log⁡log⁡h)O_{\varepsilon,\delta}(\log \log h), improving the existing bounds for deep trees. This error holds simultaneously for all nodes and is independent of the input database size.

1 INTRODUCTION

Many data spaces are naturally represented (implicitly or explicitly) as a hierarchy [3, 14, 35, 45, 49]. Searching for important nodes—those whose “weight” exceeds a given threshold τ\tau—is a building block for analysis and learning over structured data, such as random forests [24, 38], frequent word discovery [49], and spatial partitioning pruning [47]. We study this task on a public hierarchical tree of height h, where each private record belongs to one leaf and contributes to every count on its root-to-leaf path. The goal is to classify all nodes simultaneously while satisfying record-level (ε,δ)(\varepsilon, \delta)-differential privacy ((ε,δ)((\varepsilon, \delta)-DP) [16], with an additive error margin around τ\tau that remains

Graham Cormode

University of Oxford

Ting Yu

Mohamed bin Zayed University of Artificial Intelligence

small even when h is large.

A natural baseline releases a DP node histogram independently at each level and thresholds the released counts against τ\tau. Within a level, the histogram bins contain disjoint sets of records. Across levels, however, the same record participates in hh levels. The basic Laplace mechanism therefore gives noise scale h/εh/\varepsilon, while the Gaussian mechanism gives scale proportional to h/ε\sqrt{h}/\varepsilon at fixed δ\delta, both leading to errors in O(poly(h))O(\text{poly}(h)).

One approach is to reduce the number of threshold tests. Lumberjack [38] searches middle levels first and propagates ‘Heavy’ labels upward and ‘Light’ labels downward. This balanced search reduces each record’s participation from hh to O(log⁡h)O(\log h) tests and leads to an improved error margin of Oε,δ(log⁡hlog⁡log⁡h)O_{\varepsilon,\delta}(\sqrt{\log h \log \log h}).

A different approach is to avoid a separate privacy charge for every test. The sparse vector technique (SVT) controls privacy through a bounded number of positive answers rather than the total number of query participation [16, 19]. Ghazi et al. [25] use this principle in a bottom-up tree classifier, and Biswas et al. [5] develop per-record threshold-monitoring arguments for hierarchical heavy hitters. These approaches can traverse many levels without a privacy budget proportional to their number, but their stated errors retain log⁡h\log h terms due to a union bound over all levels.

This suggests a question: can a tree search make a small number of queries per record while avoiding a separate privacy charge for each query? These two requirements are distinct. The label propagation idea in Lumberjack [38] reduces the number of queries, but each query still triggers a separate privacy charge: a ‘High’ answer leaves descendants to be classified, whereas a ‘Low’ answer can leave ancestors unresolved; either answer may still recur along the same root-to-leaf path for a record. On the other hand, applying SVT-style threshold tests to hierarchical nodes still requires composing the privacy costs for all positive answers: Ghazi et al. [25] imposes a global O(M/τ)O(M/\tau) positive-answer

Preliminary work. Under review.

budget, where M≥nM \geq n is a public input database-size bound, introducing a different source of error.

We provide a positive answer. Our algorithm fuses these two previously separate lines of work: histogram-based node counting [38] and threshold-testing [5, 25] with SVT accounting. We make a near-threshold answer terminate every affected root-to-leaf path through the queried node. This threshold test distinguishes ‘Low’, ‘High’, and ‘Middle’ outcomes using fresh Laplace noise and two fixed public thresholds around τ\tau. ‘Low’ and ‘High’ outcomes propagate labels in one direction. A ‘Middle’ outcome does both: it labels every proper ancestor Heavy, and the queried node and all its descendants Light. In other words, the ‘Middle’ outcome terminates the search—there can be at most one ‘Middle’ outcome in any root-to-leaf path.

In our analysis, we argue that the ‘Low’ and ‘High’ outcomes need not trigger privacy charges. This requires the introduction of a novel “one-target, finite horizon” variant of the Target-charging technique (TCT) [10], which itself generalizes the Sparse Vector Technique (SVT) [19] and BetweenThresholds [7]. This analysis permits reusing a noiseless threshold across multiple queries on disjoint paths, simplifying the algorithm and avoiding re-sampling and composition overheads. The co-creation of the algorithm and its analysis was not an easy task: prior work that attempted to use SVT for finding heavy nodes [5] suffered a subtle bug [38]; correcting this required extra privacy noise and a lengthy proof [5]. In contrast, our contribution is a clean algorithm that is similar in shape to the state-of-the-art [38] while achieving tighter asymptotic bounds. We count the clarity of the algorithm and its accompanying proofs as a major part of our contribution, allowing future work to adopt this framework and apply it to related private search problems.

References (45)