TL;DR
The Wikimedia Foundation, in collaboration with Tumult Labs, has successfully released more granular Wikipedia pageview data, including country-level insights, while upholding strong privacy guarantees. This was achieved by developing and deploying a novel differentially private data pipeline, combining client-side filtering with server-side aggregation.
What Problem Does This Paper Address?
For years, the Wikimedia Foundation has provided aggregated pageview statistics, which are invaluable for editors and researchers. However, there was a growing demand for more granular data, specifically including the country of origin for pageviews. Releasing such detailed data presents a significant privacy challenge, as it could potentially be used to re-identify individual users, especially when combined with other data sources. The core problem is how to enhance data utility and granularity without compromising user privacy, a fundamental tenet of the free knowledge movement.
Methods
The paper details a standardized, three-stage workflow for differential privacy deployments: Build, Tune, and Deploy.
- Build: This stage involves defining the problem, understanding stakeholder needs, and developing an initial prototype algorithm.
- Tune: Here, the prototype is iteratively refined using success metrics to optimize the algorithm for both privacy and utility.
- Deploy: The final algorithm is documented, approved, and put into production.
A key innovation is the combination of client-side filtering and server-side aggregation.
- Client-side filtering: Since Wikimedia projects don't track persistent user identifiers, a novel approach was needed to bound user contributions. This method involves adding logic to the user's browser to count their unique pageviews per day. Only the first 10 unique pageviews are flagged for inclusion in the DP computation, effectively limiting each user's daily contribution without requiring server-side user tracking. This aligns with the Foundation's data minimization principles.
- Server-side aggregation: This stage takes the client-filtered data and applies differential privacy. For "current pageviews" (the last 90 days), the Gaussian mechanism is used, which offers tighter L2 sensitivity bounds due to the client-side bounding. For "historical pageviews" (older data), where per-user bounding is impossible, the Laplace mechanism is used with a different privacy unit (daily pageviews rather than user-days). Both stages involve aggregating data by <page, country> tuples, adding noise, and then suppressing low counts to maintain data quality and usability.
Datasets
The paper utilizes two primary input datasets:
- Current pageviews dataset: Contains individual pageviews for the last 90 days, including project, page ID, date/time, and country.
- Historical pageviews dataset: Contains pre-aggregated hourly pageview data, including project, page ID, date/time, country, and count.
No new benchmarks were introduced; instead, the focus was on releasing a more granular version of existing datasets.
Key Insights and Ideas
- Client-side filtering as a privacy enabler: The paper demonstrates a clever way to achieve user-level privacy guarantees without relying on user identifiers, a significant hurdle for many privacy-preserving data releases. This approach respects data minimization and reduces fingerprinting risks.
- Balancing privacy and utility: The work highlights the inherent trade-off between privacy and data utility. By carefully tuning parameters and using different DP mechanisms (Gaussian for current data, Laplace for historical), they achieved acceptable accuracy metrics while providing strong privacy.
- The importance of context in privacy: The paper acknowledges that even with strong privacy guarantees, releasing granular data can have risks (e.g., government persecution of minority groups). They mitigate this by using conservative privacy parameters, withholding data for certain countries, and suppressing low counts.
- Systematic workflow is crucial: The structured approach (Build, Tune, Deploy) provided by Tumult Labs was instrumental in managing the complexity of deploying a DP system.
Key Results
The deployment has significantly increased the amount of published data:
- Over 2,000 days of historical data (2015-2021) were published for the first time.
- More than 135 million statistics were released, covering 325 billion pageviews.
- For current pageviews data:
-
95% of counts have a relative error below 50%.
-
- Drop rate above 150 is <0.1%.
- Global spurious rate is <0.01%.
- For 2017-2023 historical data:
- Median top-1000 drop rate is <8%.
- Drop rate above 450 is <3%.
- Global spurious rate is <0.1%.
These metrics indicate acceptable data quality and utility.
Limitations and Future Work
- Privacy loss from tuning: The paper acknowledges that the process of tuning algorithmic parameters using sensitive metrics, even if kept confidential, still represents a privacy risk. They call for further research in this area.
- Historical data privacy unit: For historical data, the privacy unit is "daily pageviews" rather than "user-day." This means users contributing more than the protected number of pageviews (m) incur a larger privacy loss.
- Potential risks of insights: While enabling valuable insights, the granular data could also carry risks for certain groups, which are mitigated but not entirely eliminated.
The authors look forward to seeing what new use cases this richer, privacy-preserving dataset will enable.
Summary updated