S&P2025
Hash-Prune-Invert: Improved Differentially Private Heavy-Hitter Detection in the Two-Server Model
Borja Balle, James Bell-Clark, Albert Cheu, Adrià Gascón, Jonathan Katz, Mariana Raykova, Phillipp Schoppmann, Thomas Steinke
Abstract
Differentially private (DP) heavy-hitter detection is an important primitive for data analysis. Given a threshold <tex></tex> and a dataset of <tex></tex> items from a domain of size <tex></tex>, such detection algorithms ignore items occurring fewer than <tex></tex> times while identifying items occurring more than <tex></tex> times; we call <tex></tex> the error margin. In the central model where a curator holds the entire dataset, <tex></tex>-DP algorithms can achieve error margin <tex></tex>, which is optimal when <tex></tex>. Several works, e.g., Poplar (S&P 2021), have proposed protocols in which two or more non-colluding servers jointly compute the heavy hitters from inputs held by <tex></tex> clients. Unfortunately, existing protocols suffer from an undesirable dependence on Iog <tex></tex> in terms of both server efficiency (computation, communication, and round complexity) and accuracy (i.e., error margin), making them unsuitable for large domains (e.g., when items are kB-long strings, log <tex></tex>). We present hash-prune-invert (HPI), a technique for compiling any heavy-hitter protocol with the log <tex></tex> dependencies mentioned above into a new protocol with improvements across the board: computation, communication, and round complexity depend (roughly) on log <tex></tex> rather than log <tex></tex>, and the error margin is independent of <tex></tex>. Our transformation preserves privacy against an active adversary corrupting at most one of the servers and any number of clients. We apply HPI to an improved version of Poplar, also introduced in this work, that improves Poplar's error margin by roughly a factor of <tex></tex> (regardless of <tex></tex>. Our experiments confirm that the resulting protocol improves efficiency and accuracy for large <tex></tex>.