TL;DR
Federated analytics often requires aggregating sparse user data—like movie ratings or visited URLs—while preserving individual privacy. This paper introduces the first locally differentially private (LDP) algorithms for $k$-sparse vector mean estimation that achieve both mathematically optimal accuracy and extremely low communication overhead, regardless of how massive the total universe of items is.
What Problem Does This Paper Address?
Imagine a tech company wants to know the most popular URLs visited by its users or the average ratings of movies across a user base. This is known as vector mean estimation. Because this data is highly sensitive, companies use Local Differential Privacy (LDP), where data is randomized on the user's device before being sent to the server, ensuring the server never sees the raw data.
In the real world, these data vectors are $k$-sparse: out of a massive universe of $d$ possible items (e.g., billions of URLs), a single user only interacts with a small number, $k$ (e.g., 50 URLs).
Existing LDP methods struggle with this setup. Naive approaches require users to send a message proportional to the entire universe size $d$, which destroys network bandwidth. Other "communication-efficient" methods ask users to randomly sample just 1 of their $k$ items to report, but this throws away valuable data and results in suboptimal accuracy (specifically, error rates that are off by a factor of $\sqrt{k}$ or $k$). The authors tackle this exact gap: Can we estimate the mean of $k$-sparse vectors under LDP with minimal communication and optimal accuracy?
Methods
To solve this, the authors design a novel mechanism that combines random binning with random sign flipping (conceptually similar to a Count-Sketch, but tailored for LDP).
Here is how the client-side algorithm works:
- Hashing & Signs: Each client uses a pseudorandom function (PRF) to assign their $k$ items into a small number of $b$ bins. They also assign a random $+1$ or $-1$ sign to each item.
- Aggregation: The client sums up the signed values of the items that fall into each bin.
- Noise Addition: The client adds Laplacian noise to each bin to satisfy differential privacy.
- Succinct Transmission: The client sends only the $b$ noisy bin values and the tiny random seed used for the PRF to the server. The communication cost is entirely independent of the massive universe size $d$.
To prove their method works, the authors introduce a generalized "$L$-neighboring" privacy concept. This acts as a sliding scale that unifies two standard privacy definitions: event-level LDP (hiding a single action, $L=2$) and user-level LDP (hiding all of a user's actions, $L=2k$). By tuning the number of bins $b$ based on $L$, the algorithm dynamically optimizes itself for the chosen privacy level.
Datasets
The authors evaluated their algorithms on both synthetic and real-world datasets:
- Synthetic Data: Generated using Zipf's distribution (common in real-world data analytics) with Gaussian values to easily control sparsity ($k$), universe size ($d$), and user count ($n$).
- Real-World Datasets (from Kaggle):
- Clothing: Women's e-commerce clothing reviews.
- Renting: A clothing fit dataset for size recommendation.
- Movies: A standard movie rating dataset.
Key Insights and Ideas
- Sampling is mathematically wasteful: The paper proves that the common "strawman" approach—forcing a user to sample 1 item out of their $k$ items and applying a 1-sparse LDP protocol—fundamentally limits accuracy.
- Collisions as a Random Walk: When hashing $k$ items into $b$ bins, collisions are inevitable. However, by multiplying items by a random $\pm 1$ sign, the interference from colliding items acts as a zero-mean random walk. On average, the collisions cancel out, leaving the final frequency estimates unbiased.
- The Balancing Act: The total error in this system comes from two sources: the Laplacian noise added for privacy, and the "random walk" noise from hash collisions. The authors discovered that by carefully choosing the number of bins $b$, they can perfectly balance these two error sources, achieving the theoretical lower bound for error.
Key Results
- Theoretical Optimality: The authors prove matching upper and lower bounds for $k$-sparse vector mean estimation. Their user-level LDP scheme requires only $O(\log k)$ communication per client, while the event-level scheme requires $O(k \log k)$. Both are completely independent of the universe size $d$.
- Massive Empirical Gains: On synthetic datasets, their method achieved a 5.0x reduction in $L_\infty$ error and a 29.6x reduction in Mean Squared Error (MSE) compared to prior communication-efficient works.
- Real-World Performance: On the Kaggle datasets, the algorithm achieved a 1.8x to 7.3x reduction in $L_\infty$ error and a 3.1x to 114.3x reduction in MSE.
- Immunity to Dimension Scaling: As the universe size $d$ grew from 64 to 100,000 in experiments, the error of competing methods skyrocketed or failed entirely, while the authors' method maintained a flat, stable error rate.
Limitations and Future Work
- Event-Level Bandwidth: While the user-level LDP scheme is incredibly succinct ($O(\log k)$), the event-level scheme requires slightly more bandwidth ($O(k \log k)$). The authors leave it as an open question whether event-level bandwidth can be further reduced without sacrificing optimal error.
- Computational Differential Privacy (CDP): The paper focuses on information-theoretic privacy. The authors note that exploring Computational Differential Privacy (which relies on cryptographic assumptions rather than pure noise) could be a promising future direction to further improve accuracy for $k$-sparse vectors while maintaining succinct communication.
Summary updated