← Lab /Security & privacy

Dual obfuscation cuts visual info recovered from gradient attacks without hurting accuracy

Combining random binary weight masking with per-image encryption reduces visual information recovered by APRIL while not further degrading classification performance beyond encryption alone

Security & privacy arXiv 20 Aug 2026 Defense Simulation evidence

Published as “Enhancing Privacy in Federated Learning via Dual Obfuscation of Gradients and Training Images”

Why it matters

The dual obfuscation approach offers a practical way to lower leakage of visual data in federated learning without extra accuracy loss beyond encryption, though high encryption strength still harms model performance.

Summary

The paper shows that combining random gradient zeroing (FLRSP) with a ViT-compatible image encryption scheme markedly reduces the visual quality of images recovered by the APRIL reconstruction attack, while the combined method does not further hurt classification accuracy beyond the loss caused by encryption alone. Experiments on CIFAR-10 with 5 clients and FedSGD confirm the complementary effect, but full encryption (RE=1.0) still drops accuracy to about 50%. The evidence is limited to short-term training (10 epochs) and a single attack scenario.

What they found 2

  1. Full image encryption (RE=1.0) keeps visual information sufficiently hidden even after APRIL attack

    “the visual information of the training image remained sufficiently obfuscated even after the attack, as shown in Fig. 9(c).”

  2. Combining FLRSP and encryption does not further degrade classification accuracy compared to encryption alone

    “These results demonstrate that applying both FLRSP and image encryption does not cause any additional degradation in classification performance.”

Caveats 5

  • 0.8 98.32% 88.63% 50.50%
  • Specifically, RE = 0.5 achieved a higher classification accuracy than RE = 1.0; however, some visual information from the training image could be recovered under attack, as shown in Section V-B.
  • However, neither technique can fully compensate for the failure of the other, and their combination does not guarantee protection against all reconstruction attacks.
  • The present experiment focuses on the relative effects of RW and RE under a common training setting and does not fully evaluate long-term convergence or communication efficiency.
  • The classification accuracy for the extremely small values RW = 10-4 and 10-5, which were used only for the reconstruction experiment in Fig. 9, was not evaluated in this study and remains to be examined in future work.

What’s new here 4

  • Simultaneous obfuscation of both gradients and raw image pixels using independent per-client and per-image keys
  • Integration of a block-scrambling image encryption technique that is compatible with Vision Transformers
  • Demonstration that the dual approach does not add classification overhead beyond that of encryption alone
  • No requirement for key sharing or management among clients