We present new algorithms for estimating and testing \emph{collision probability}, a fundamental measure of the spread of a discrete distribution that is widely used in many scientific fields. We describe an algorithm that satisfies (α,β)-local differential privacy and estimates collision probability with error at most ϵ using O~(α2ϵ2log(1/β)) samples for α≤1, which improves over previous work by a factor of α21. We also present a sequential testing algorithm for collision probability, which can distinguish between collision probability values that are separated by ϵ using O~(ϵ21) samples, even when ϵ is unknown. Our algorithms have nearly the optimal sample complexity, and in experiments we show that they require significantly fewer samples than previous methods.
@article{arxiv.2504.13804,
title = {Near-optimal algorithms for private estimation and sequential testing of collision probability},
author = {Robert Busa-Fekete and Umar Syed},
journal= {arXiv preprint arXiv:2504.13804},
year = {2025}
}