HomeComputer ScienceDifferential Privacy Simulation: Multi-District Laplace Mechanism for Recycling Rebate Statistics

Differential Privacy Across Districts: 3D Laplace Mechanism

3D comparison of a government agency releasing an aggregate statistic under differential privacy across several districts at once: true counts vs. Laplace-noised releases, with a tunable privacy budget epsilon and a live, honestly-computed accuracy-vs-privacy tradeoff.

Computer Science3DModerate60 FPS📱 Mobile-adapted⇄ 2D version
3d-mastering-advanced-ai-for-government-data-analytics-applications-from- ↗ Open standalone

Real government open-data releases rarely publish just one number — they publish a table: one aggregate statistic per district, program or category, all spent from the same privacy budget. This 3D simulator renders several synthetic districts as paired bars — the true enrollment count in a municipal benefit program next to the noisy count the Laplace mechanism would actually publish — and lets you tune a single shared privacy budget ε across all of them at once. Run hundreds of independent releases per district to compute the real, honestly-sampled mean absolute error and accuracy rate at the current ε, and orbit the scene to see how the same mechanism behaves across districts of very different sizes.

⚙ Under the hood

Extend the concept to multiple districts, observing how a shared epsilon budget affects overall privacy and accuracy. Each district has its own empirical error color-coded rod indicating performance.

Differential PrivacyLaplace MechanismGovernment DataThree.js

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)