Database, two queries and attacker gauge
Noise densities: with and without the target

Differential Privacy Differencing Attack: Query Pairs, Laplace Densities and Error Gauge (2D)

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.

Made with 🟠 Blender