← Lab /AI/ML

Exact sentences recovered from federated learning updates, up to 80.2% recovered

The authors claim they can exactly recover client sentences from FedAvg updates with up to 80.2% recall and 100% precision

AI/ML arXiv 18 Nov 2026 Attack Simulation evidence

Published as “Stealing Exact Training Data from Other Clients during Federated Learning”

Why it matters

The results indicate that aggregating client updates in federated fine-tuning does not guarantee privacy, highlighting the need for explicit protections such as differential privacy.

Summary

The paper shows that a malicious client can exactly recover private training sentences from aggregated FedAvg gradients, achieving up to 80.2% exact recovery with 100% precision even when the total token count exceeds the model's hidden dimension. The attack uses an iterative peeling pipeline that subtracts recovered sentence gradients to expose remaining text. Evidence is strong across three language models and three real-world datasets, but recovery drops to zero as the token-to-dimension ratio grows or when Gaussian noise is added.

What they found 3

  1. Exact recovery of up to 80.2% of client sentences when the aggregate contains up to 4× more tokens than the hidden dimension.

    “we recover up to 80.2% of client sentences exactly, a regime where existing attacks recover none exactly.”

  2. The method achieves 100% precision in sentence recovery.

    “exact sentence recovery, with 100% precision”

  3. Adding Gaussian noise to the shared gradient eliminates exact recovery.

    “adding Gaussian noise to shared gradients reduces exact recovery to zero across all tested nonzero noise levels σ.”

Caveats 5

  • Recovery effectiveness declines as the aggregate token count grows; at high C/d the number of recovered sentences approaches zero.
  • The attack fails completely when any non-zero Gaussian noise is added to the gradients.
  • The method is fully effective only on parallel-residual architectures; performance drops on sequential-residual models.
  • Our main limitation is the model architecture on which our attack is fully effective, namely the parallel-residual class.
  • Extending the full pipeline to a broader range of architectures remains future work.

What’s new here 4

  • Enables exact text recovery above the hidden-dimension wall (C > d) where prior attacks fail.
  • Operates on client-side aggregated gradients rather than requiring per-client gradients.
  • Introduces an iterative gradient-peeling pipeline that progressively denoises the aggregate.
  • Demonstrates the attack on multiple model sizes and real-world text corpora.