Multi-Freq-LDPy: Multiple Frequency Estimation Under Local Differential Privacy in Python

Héber H. Arcolezi, Jean-François Couchot, Sébastien Gambs, Catuscia Palamidessi, Majid Zolfaghari
5/5/2022
cs.CR

Official code: hharcolezi/multi-freq-ldpy (54 stars, Python, MIT, last commit 2026-02-19).

Abstract

This paper introduces the multi-freq-ldpy Python package for multiple frequency estimation under Local Differential Privacy (LDP) guarantees. LDP is a gold standard for achieving local privacy with several real-world implementations by big tech companies such as Google, Apple, and Microsoft.

Show full abstract

The primary application of LDP is frequency (or histogram) estimation, in which the aggregator estimates the number of times each value has been reported. The presented package provides an easy-to-use and fast implementation of state-of-the-art solutions and LDP protocols for frequency estimation of: single attribute (i.e., the building blocks), multiple attributes (i.e., multidimensional data), multiple collections (i.e., longitudinal data), and both multiple attributes/collections. Multi-freq-ldpy is built on the well-established Numpy package -- a de facto standard for scientific computing in Python -- and the Numba package for fast execution. These features are described and illustrated in this paper with four worked examples. This package is open-source and publicly available under an MIT license via GitHub (https://github.com/hharcolezi/multi-freq-ldpy) and can be installed via PyPI (https://pypi.org/project/multi-freq-ldpy/).

View on arXivView PDF

Code Implementations(1)

MIT

Multiple Frequency Estimation Under Local Differential Privacy in Python

544PythonApr 7, 20229 months agoMIT
data-privacydbitflippmdifferential-privacydifferential-privacy-algorithmfrequency-estimation+7 more

Similar Papers

Cite this paper

@article{arcolezi2022multifreqldpy,
  title  = {Multi-Freq-LDPy: Multiple Frequency Estimation Under Local Differential Privacy in Python},
  author = {Héber H. Arcolezi and Jean-François Couchot and Sébastien Gambs and Catuscia Palamidessi and Majid Zolfaghari},
  year   = {2022},
  eprint = {2205.02648},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.02648}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.02648.svg)](https://codeofpaper.com/paper/2205.02648)

Discussion