← Lab /Crypto & theory

Optimal LDP frequency estimator achieves max precision with log2(d(d-1)/2+1) bits

A symmetric, extremal estimator with constant support size is strictly optimal in precision for frequency estimation under local differential privacy

Crypto & theory arXiv 12 Mar 2026 Theory Theory

Published as “Strict Optimality of Frequency Estimation Under Local Differential Privacy”

Why it matters

Practitioners can deploy Optimized Count-Mean Sketch for large dictionaries to achieve optimal precision with logarithmic communication, while Subset Selection (or Weighted Subset Selection) remains optimal for smaller domains.

Summary

The paper proves that a symmetric, extremal frequency estimator with a constant support size attains the strict lower bound for L1 and L2 loss under local differential privacy, and that its communication cost can be reduced to log2(d(d-1)+1) bits. It introduces Weighted Subset Selection and an Optimized Count-Mean Sketch that achieve this bound, and experiments on synthetic Zipf data (d=100, n=10,000) and a real-world mini Kosarak dataset (d=26,000, n≈170,000) show the algorithms match the theoretical optimum.

What they found 5

  1. The communication cost of an optimal estimator is bounded by log2(d(d-1)+1) bits.

    “We derive that the communication cost, defined as the number of bits required to transfer a response from a client, for an optimized frequency estimator is bounded above by log2( d(d-1) +1) where d denotes the dictionary size.”

  2. Subset Selection already achieves strict optimality in precision.

    “we evaluate the optimality of existing algorithms and find that Subset Selection [20] already achieves strict optimality in terms of precision.”

  3. All three optimal algorithms (SS, WSS, OCMS) are indistinguishable and match the optimal L1/L2 curves on synthetic Zipf data.

    “The results show that all three algorithms are practically indistinguishable from one another and align perfectly with the optimal L1 and L2 curves.”

  4. Optimized Count-Mean Sketch matches the optimal algorithm when the dictionary is large (d=100, ε=1).

    “Corollary 5.2: when the dictionary size is sufficiently large (d = 100 in this case), the Optimized Count Mean Sketch (OCMS) performs indistinguishably from an optimal algorithm.”

  5. On the mini Kosarak dataset, Subset Selection and Optimized CMS both align perfectly with the optimal L1/L2 curves.

    “Both SS and OCMS align perfectly with the optimal L1 and L2 curves.”

Caveats 3

  • Weighted Subset Selection (WSS) is omitted due to its high precomputation cost for a dictionary of this size.
  • Weighted Subset Selection, which achieves this reduced communication cost despite having high precomputation requirements.
  • Optimized Count-Mean Sketch can approach strict optimality provided the dictionary size is sufficiently large, such as when d = 100 for ε = 1.

What’s new here 4

  • Derives a strict lower bound for L1 and L2 losses in LDP frequency estimation, closing the constant-term gap of prior bounds.
  • Shows the optimal estimator can be implemented with communication cost as low as log2(d(d-1)+1) bits.
  • Proposes Weighted Subset Selection and an Optimized Count-Mean Sketch that achieve the bound.
  • Provides practical deployment guidance based on dictionary size.