arXiv · 2610.01907
Detection and Resolution of Periodic Artifacts in OpenDP's Discrete Laplace Sampler
Abstract
Differential privacy implementations rely on precise sampling from noise distributions to provide formal privacy guarantees. We report the discovery of systematic artifacts in OpenDP's discrete Laplace sampler that manifest as periodic distortions in the output distribution. Through systematic testing, we trace these artifacts to a faulty implementation in the rational arithmetic library used by the bernoulli_exp1 function, a low-level primitive that implements sampling from Bernoulli(e^(-x)) distributions. We present a diagnostic methodology that isolates the faulty component in the nested sampling hierarchy and propose an alternative implementation based on exact rational arithmetic that eliminates the artifacts. Statistical validation with 10^6 samples confirms that the corrected sampler produces outputs indistinguishable from the theoretical distribution at the tested precision level.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Cesare Gerolimetto Fabrello, Valeria Rossi, Alberto Trombetta, Massimo Caccia. 2026-10-01. Detection and Resolution of Periodic Artifacts in OpenDP's Discrete Laplace Sampler. https://arxiv.org/abs/2610.01907
Cite the original work for its findings. Save a collection to share your selection of sources.