Secure Generalization through Stochastic Bidirectional Parameter Updates Using Dual-Gradient Mechanism

Shourya Goel, Himanshi Tibrewal, Anant Jain, Anshul Pundhir, Pravendra SingharXiv 2025 · OpenReview

Abstract

Federated learning (FL) has gained increasing attention due to privacy-preserving collaborative training on decentralized clients, mitigating the need to upload sensitive data to a central server directly. Nonetheless, recent research has underscored the risk of exposing private data to adversaries, even within FL frameworks. In general, existing methods sacrifice performance while ensuring resistance to privacy leakage in FL. We overcome these issues and generate diverse models at a global server through the proposed stochastic bidirectional parameter update mechanism. Using diverse models, we improved the generalization and feature representation in the FL setup, which also helped to improve the robustness of the model against privacy leakage without hurting the model's utility. We use global models from past FL rounds to follow systematic perturbation in parameter space at the server to ensure model generalization and resistance against privacy attacks. We generate diverse models (in close neighborhoods) for each client by using systematic perturbations in model parameters at a fine-grained level (i.e., altering each convolutional filter across the layers of the model) to improve the generalization and security perspective. We evaluated our proposed approach on four benchmark datasets to validate its superiority. We surpassed the state-of-the-art methods in terms of model utility and robustness towards privacy leakage. We have proven the effectiveness of our method by evaluating performance using several quantitative and qualitative results.

Introduction

Federated Learning (FL) is designed to be privacy-preserving by keeping data on local devices and only sharing model updates. However, researchers have discovered that these updates (gradients or parameters) can leak sensitive information. Adversaries can perform Image Reconstruction Attacks (IR) to "see" a client's private images or Membership Inference Attacks (MIA) to determine if a specific record was used in training.

Existing defenses, like Differential Privacy (adding noise) or Gradient Pruning, often create a "utility-security trade-off": they protect privacy but significantly degrade the model's final accuracy. Furthermore, sending the exact same global update to every client can limit the model's ability to generalize across diverse local datasets. This paper introduces Stochastic Bidirectional Parameter Updates (SBPU), a novel mechanism for FL that improves both model accuracy and privacy.

Methodology

The core innovation happens at the server during the model distribution phase using a dual-gradient mechanism. Instead of sending an identical aggregated model to every client, the server generates diverse global models tailored for each participant.

Detailed workflow of the SBPU mechanism for computing diverse models at the server.

As shown in the workflow above, the process involves:

  1. Dual-Gradient Calculation: The server tracks global models from the current round ($t$), the previous round ($t-1$), and the round before that ($t-2$) to calculate directional gradients.
  2. Fine-Grained Perturbation: Perturbations are applied at the convolutional filter level rather than the whole weight matrix.
  3. Stochastic Updates: For every filter in every layer, the server randomly selects a perturbation value from a shuffled list and applies it using the dual gradients and a "diversity rate" ($\beta$).

This creates a "neighborhood" of models where each client receives a version that is slightly different but mathematically close to the optimal global state, encouraging the learning of more robust, generalized features.

Experimental Results

The researchers evaluated SBPU on four standard benchmarks: MNIST, Fashion-MNIST (FMNIST), CIFAR10, and SVHN. The method outperformed current state-of-the-art (SOTA) frameworks like PPIDSG in both utility and security.

Performance and Security Gains

  • Higher Accuracy: On CIFAR10, SBPU achieved 75.06% accuracy, compared to PPIDSG’s 70.56%. On SVHN, it reached 92.36%.
  • Robust Privacy: In Membership Inference Attacks (MIA), SBPU dropped the attacker's success rate to 36.11% on CIFAR10 (down from 52.54% in the baseline).
  • Visual Security: Qualitative results for Image Reconstruction Attacks demonstrate that images recovered from SBPU updates are essentially unrecognizable noise, whereas competing methods often leak visible structures of the original data.
Qualitative comparison of Image Reconstruction (IR) attacks across different methods and pixel value distribution histograms.

Discussion and Conclusion

Traditionally, "noise" is viewed as a nuisance in model training. In the SBPU framework, systematic, bidirectional diversity acts as both a shield and a regularizer. By forcing the model to learn from varied starting points in each round, the system avoids over-fitting to a single global average, which improves classification accuracy while thwarting reconstruction attempts.

While the current computational overhead is marginal, future work will focus on scaling the generation of unique models to thousands of clients and testing the framework's robustness against highly heterogeneous (Non-IID) data distributions in domains like medical imaging.

Summary updated

BibTeX
@misc{goel2025secure,
  author = {Shourya Goel and Himanshi Tibrewal and Anant Jain and Anshul Pundhir and Pravendra Singh},
  title = {{Secure Generalization through Stochastic Bidirectional Parameter Updates Using Dual-Gradient Mechanism}},
  year = {2025},
  eprint = {2504.02213},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.02213},
}
Figure