ARES: Scalable and Practical Gradient Inversion Attack in Federated Learning through Activation Recovery

Zirui Gong, Leo Yu Zhang, Yanjun Zhang, Viet Vo, Tianqing Zhu, Shirui Pan, Cong Wang

TL;DR

ARES (Activation REcovery via Sparse inversion) is a new active gradient inversion attack that can reconstruct high-fidelity private training data from Federated Learning (FL) updates without requiring suspicious architectural modifications. By reformulating the data recovery problem as a noisy sparse recovery task, ARES scales to large batch sizes and significantly outperforms existing state-of-the-art attacks across image, text, and audio datasets.

What Problem Does This Paper Address?

Federated Learning is designed to protect privacy by keeping raw data on local devices and only sharing model updates (gradients) with a central server. However, Gradient Inversion Attacks (GIAs) have shown that these updates can be "inverted" to reveal the original training data.

Current attacks face a major trade-off:

  1. Passive attacks (which just observe gradients) fail when the training batch size is large (e.g., >64 samples).
  2. Active attacks (where a malicious server manipulates model parameters) can handle large batches but usually require changing the model's architecture (like adding extra layers). These structural changes are easy for clients to detect, making the attack impractical.

ARES addresses this gap by providing a powerful active attack that works on standard, unmodified model architectures (like typical CNNs and MLPs) even with large batch sizes.

Methods

The ARES attack operates in two main stages: Preparation and Inference.

Figure 2: Overview of ARES attack. The method consists of two main stages: (a) the attacker initializes network with malicious parameters to facilitate information leakage; (b) using gradients returned by the client, the attacker first recovers activations through linear layer leakage and then reconstructs input samples via noisy sparse recovery.
  • Preparation Stage: The malicious server initializes the model's weights and biases to facilitate leakage. It uses a "direct-pass" initialization for early layers to ensure data reaches deeper layers without losing information. For the target Fully Connected (FC) layer, it uses an imprint method: weights are set to identical rows and biases are carefully chosen to partition the input space into "bins." This ensures that different samples in a batch activate different neurons, effectively disentangling them.
  • Inference Stage: Once the client returns gradients, the server performs a two-step recovery:
  • Linear Layer Leakage: It extracts the intermediate activations fed into the FC layer by calculating the ratio of weight gradients to bias gradients.
  • Noisy Sparse Recovery: Reconstructing the original input from these activations is an "underdetermined" problem (more unknowns than equations). ARES solves this by exploiting the natural sparsity of data (like images in the frequency domain). It formulates the task as a noisy sparse recovery problem and solves it using the generalized Lasso (L1 minimization) method.
Figure 3: Top: forward pass through the network. Bottom: sparse vector recovery via ℓ1 optimization. The bias term is omitted for clarity.

Datasets

The authors evaluated ARES across a diverse range of data types:

  • Images: MNIST, CIFAR-10, ImageNet, HAM10000 (medical), and Lung-Colon Cancer histopathology.
  • Text: Wikitext (using MLP architectures).
  • Audio: AudioMNIST.

Key Insights and Ideas

  • Hidden Activations are the Real Leak: The paper highlights that intermediate activations in deep layers are a massive, underestimated privacy risk. Even if the first layer doesn't leak data directly, deeper layers can be used to "back-calculate" the input.
  • Sparsity as an Attacker's Tool: By recognizing that most real-world data is sparse in some domain (like DCT for images), the authors turned a seemingly impossible mathematical inversion problem into a solvable one using compressed sensing principles.
  • Stealth through Initialization: ARES proves that you don't need to change what a model is (its architecture) to compromise it; you only need to control how it starts (its initial weights).
  • Maintaining Linearity: A key challenge in deep networks is that non-linearities (like ReLU) destroy information. The "direct-pass" initialization trick (setting weights to identity-like matrices) allows the attacker to bypass these non-linearities and maintain a clear signal for recovery.
Figure 4: Upper bound of the squared recovery error with varying numbers of convolutional layers.

Key Results

ARES sets a new bar for gradient inversion performance:

  • Superior Fidelity: It achieved up to a 7× improvement in PSNR (Peak Signal-to-Noise Ratio) compared to prior state-of-the-art active attacks like RtF and Trap Weight.
  • Scalability: While passive attacks fail at batch sizes of 64, ARES maintains high-fidelity reconstruction at batch sizes of 256 and beyond.
  • Robustness: The attack remained effective even against common defenses, including Differential Privacy (DP), gradient quantization, and gradient sparsification. For example, at a privacy budget of $\epsilon=10$, ARES still recovered images with a PSNR of ~20.
  • Versatility: It successfully reconstructed data across three different modalities: images, text, and audio.
Comparison of ARES against other GIAs, showing its unique combination of large batch support, architectural integrity, and theoretical guarantees.

Limitations and Future Work

  • Architecture Dependency: The current method relies on the presence of a "Linear + ReLU" structure typical in CNNs and MLPs. Scaling this to more complex architectures without this specific structure remains an open challenge.
  • Advanced Defenses: While robust against basic perturbations, the authors note that investigating ARES's performance against targeted defenses like homomorphic encryption is a promising future direction.
  • Theoretical Bounds: While the paper provides an upper bound on reconstruction error, the authors acknowledge that this bound is conservative; in practice, the attack often performs even better than the theory predicts due to the structured nature of real-world data.

Summary updated

BibTeX
@inproceedings{gong2026ares,
  author = {Zirui Gong and Leo Yu Zhang and Yanjun Zhang and Viet Vo and Tianqing Zhu and Shirui Pan and Cong Wang},
  title = {{ARES: Scalable and Practical Gradient Inversion Attack in Federated Learning through Activation Recovery}},
  booktitle = {SP},
  year = {2026},
  doi = {10.1109/sp63933.2026.00181},
}
Figure