Overview
Federated learning is sold on one promise: raw client data never leaves the device, and only gradients get shared. That promise is weaker than it sounds. An honest-but-curious server can rebuild a recognizable face from a single client's gradient update, with no aggregation involved. The benchmark below scores reconstruction quality (how strong the attack is) with no defense and with two candidate defenses. It never scores model accuracy, so it has nothing to say about the privacy/utility tradeoff.
Threat Model & Scope
Every result below reads one client's raw gradient before any
aggregation (attack_source="gradients"). Local differential
privacy (clip that client's release, add calibrated Gaussian noise) is the right
mechanism for exactly this release point, so that is the defense this benchmark
evaluates. It is not a bug that ε=8, 1, and 0.1 all land at roughly the same
PSNR: per-coordinate Gaussian noise has L2 norm scaling ~σ√d, and at this model's
d≈8.76M parameters, even ε=8 already injects noise ~1800× the clipped signal bound.
The figure below works through it.
The "HE" row does not test encryption. The implementation quantizes gradients and
adds fixed-scale Laplace noise; at this model size it never executes real Paillier
encryption, and even when it does, the code decrypts the result before scoring it. A
real secure-aggregation deployment would never hand that decrypted intermediate to the
attacker simulated here. The honest version of the experiment already exists in the
codebase (capture_mode='agg_update' plus aggregate_clipped_noisy's
central-DP mechanism, attacking only the FedAvg-averaged update), but running it needs
GPU/CelebA compute that was unavailable this cycle. It stays a stated limitation on
the scope of these numbers.
Results: Attack Effectiveness
The table lists every run in the benchmark with its reconstruction metrics. Lower LPIPS and higher PSNR/SSIM mean a stronger attack, which is a worse privacy outcome for the client whose gradient was read. Click any row to load that reconstruction.
Search runs
Match parts of a run path, client, or method (e.g. "dp_eps1 c3").
Sort runs
Reorder the table without changing which runs are shown.
Scenario group
Experiment family: defenses, ablation, multi_client, showcase.
Method / defense config
Privacy mechanism or ablation setting (baseline, dp, he, tv, ...).
Client (participant)
Which client or benchmarked participant (c0..c9) to inspect.
Quick views
Presets for the comparisons discussed in the text.
| Group | Method | Client | PSNR | SSIM | LPIPS | LabelMatch | Image |
|---|
Reconstruction
Run details
Metrics file not available.
Robustness across clients
Across ten independently sampled clients, reconstruction quality stays in a narrow band. The leak follows from the gradient release itself, and it shows up on every participant sampled here.
Results: Defenses
Local differential privacy acts on exactly the release point this attack reads: one client's own gradient, clipped and noised before it ever leaves the device. The epsilon sweep is the centerpiece here.
scripts/dp_noise_scaling_proof.py.Ablation Study
Each chart varies one setting of the inversion optimizer and reports the reconstruction quality that comes out, which shows which hyperparameters actually move the attack.
Reconstruction montages
The same runs again, side by side as images instead of numbers.
Reproduce It
scripts/make_dashboard.py builds everything on this page from
results/report/summary.csv.
# Install dependencies
pip install -r requirements.txt
# Run showcase experiment
bash scripts/run_showcase.sh
# Launch local dashboard
python -m http.server --directory docs 8000