Differential Privacy Differencing Attack: Query Pairs, Laplace Densities and Error Gauge (2D)
A flat view of the same attack: the database as a row of figures, the two query answers and their difference, a gauge that shows the attacker estimate against the true salary and the success band, and the Laplace densities for the database with and without the target whose ratio is bounded by e to the epsilon. Same model and checks as the 3D scene.
Subtract the sum of everyone except the target from the sum of everyone and one person's salary falls out exactly. This lab runs that differencing attack on a database of up to 2000 people shown as 70 figures, then defends it with the Laplace mechanism: noise of scale b = sensitivity / epsilon on every answer. See why a single noisy pair fails, why a patient attacker who repeats the pair and averages wins back a precise estimate with error 2b over the square root of the number of pairs, and how a total privacy budget with basic composition cuts the attacker off while the average salary stays accurate. Success chances come from an exact characteristic-function integral and are checked against closed forms and simulated attackers, and the pure epsilon-DP density ratio is verified by a scan. A Blender-built scene; synthetic salaries.
A flat view of the same attack: the database as a row of figures, the two query answers and their difference, a gauge that shows the attacker estimate against the true salary and the success band, and the Laplace densities for the database with and without the target whose ratio is bounded by e to the epsilon. Same model and checks as the 3D scene.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install