Published April 9, 2026 | Version v2

On the Detectability of Active Gradient Inversion Attacks in Federated Learning (IEEE S&P '26) - Source Code

Description

This artifact accompanies the paper "On the Detectability of Active Gradient Inversion Attacks in Federated Learning," published at the 2026 IEEE Symposium on Security and Privacy (SP).

Federated Learning (FL) allows multiple clients to collaboratively train a Machine Learning model while keeping their private data on-site. However, the gradients exchanged during training remain vulnerable to Gradient Inversion Attacks (GIAs), allowing a malicious server to reconstruct the clients' local data. In active attacks, the server deliberately manipulates the global model to facilitate this reconstruction. While earlier active GIAs have been shown to be detectable by clients, recently proposed attacks claim to be far stealthier than previous approaches.

This repository provides the official implementation to reproduce our comprehensive analysis of four state-of-the-art active gradient inversion attacks. It also contains the source code for our novel, lightweight client-side detection techniques. These defenses identify statistically improbable weight structures alongside anomalous loss and gradient dynamics, enabling clients to effectively detect active attacks without modifying the standard federated learning protocol.

Please refer to the documentation included in the repository for detailed instructions on setting up the environment, running the minimal working example, and reproducing the experimental results.

Paper: DOI: 10.1109/SP63933.2026.00193 — IEEE Computer Society, pp. 2346–2365

Files

active_gias_detectability.zip

Files (863.8 kB)

Name Size Download all
md5:61771d5512f4657cfd54a2c4c43175e5
859.8 kB Preview Download
md5:d313c2fdc3a89601a8cc50a0ca1c4c35
4.0 kB Preview Download

Additional details