Accelerated Vertical Federated Adversarial Learning through Decoupling Layer-Wise Dependencies

Tianxing Man, Yu Bai, Ganyu Wang, Jinjie Fang, Haoran Fang, Bin Gu, Yi ChangNeurIPS 2025

TL;DR

Vertical Federated Learning (VFL) models are highly vulnerable to adversarial attacks, but standard adversarial training is painfully slow due to constant cross-participant communication. This paper introduces DecVFAL, a framework that uses a dual-level decoupling mechanism to parallelize backpropagation and reduce communication frequency. The result is a 3 to 10-fold speedup in training robust VFL models without sacrificing accuracy, backed by the first rigorous convergence guarantees for this setting.

What Problem Does This Paper Address?

Vertical Federated Learning (VFL) allows multiple parties to collaboratively train a model on the same set of users but using different features. For example, a bank and a hospital might combine financial and health data to improve a model without exposing raw records to each other. While great for privacy, VFL models are vulnerable to adversarial attacks during inference, where malicious clients or third parties inject tiny perturbations into the data to fool the model.

The gold standard defense is Adversarial Training (AT), which generates and trains on adversarial examples on the fly. However, popular AT methods like Projected Gradient Descent (PGD) require multiple forward and backward passes through the network for every single data point. In a distributed VFL setup, this means sending data back and forth between clients and the server repeatedly. This creates a massive bottleneck called backward locking: layers sit idle, unable to compute their updates until they receive gradients from the dependent layers across the network. Consequently, applying AT to VFL (VFAL) is computationally crippling.

Methods: The DecVFAL Framework

To break the communication bottleneck, the authors propose DecVFAL, which relies on a novel dual-level decoupling mechanism.

Comparison of standard VFAL and DecVFAL architectures
  1. Lazy Sequential Backpropagation: The authors observe that adversarial perturbations only directly interact with the "bottom" modules (the client-side layers). Instead of doing a full network pass for every micro-step of generating an adversarial example, DecVFAL freezes the gradient coming from the upper layers (treating it as a "slack variable"). The bottom module then uses this delayed gradient to perform multiple local perturbation updates without needing to constantly communicate with the server.
  2. Decoupled Parallel Backpropagation: To fix the idle waiting across the rest of the network, DecVFAL uses delayed gradients. Each module uses a gradient from a previous iteration to do its backward pass immediately. This breaks the sequential "lock," allowing all clients and the server to compute their updates asynchronously and in parallel.
Timeline comparison showing how DecVFAL eliminates idle waiting through parallel and lazy propagation

To prove this approach is mathematically sound, the authors frame the neural network as a dynamical system using optimal control theory. This allows them to bound the errors introduced by using stale gradients and prove that DecVFAL converges at a rate of $\mathcal{O}(1/\sqrt{K})$, matching standard, non-adversarial VFL.

Datasets

The authors evaluated their framework on a mix of standard vision benchmarks and real-world distributed datasets:

  • Vision Datasets: MNIST, CIFAR-10, CIFAR-100, and Tiny-ImageNet (used to test scalability to higher resolutions and more classes).
  • Real-World Datasets: COVID-19 Image Data Collection (healthcare) and Credit Card Fraud Detection (finance), representing natural use cases for VFL.

Key Insights and Ideas

  • Adversarial generation is localized: The realization that adversarial perturbations only directly require the bottom module's parameters allows for the "lazy" update trick. You don't need the whole network to compute every step of the attack, drastically cutting communication rounds.
  • Staleness is a feature, not a bug: By accepting slightly stale (delayed) gradients, the system trades a tiny bit of mathematical precision for a massive leap in hardware utilization. The math proves that as long as the delay is bounded, the model still converges reliably.
  • Optimal Control Theory bridges the gap: Handling the multi-source approximate gradients (from decoupling, zeroth-order optimization, and communication compression) is notoriously difficult. By recasting deep learning as a dynamical system, the authors found a clean way to prove global convergence.

Key Results

  • Massive Speedups: DecVFAL achieved a 3x to 10x speedup in training time per epoch compared to standard PGD-based adversarial training across all tested datasets.
  • Maintained Robustness: Despite the approximate gradients, DecVFAL maintained competitive (and sometimes superior) robust accuracy against a wide battery of attacks, including white-box (PGD, CW), black-box (ZO-PGD), and third-party corruption attacks.
  • Real-World Viability: On the COVID-19 dataset, DecVFAL hit a 3.72x speedup; on the Credit Fraud dataset, a 2.35x speedup, proving the framework holds up in practical, non-vision scenarios.

Limitations and Future Work

The authors are transparent about a few theoretical and empirical limitations:

  • The Modularity Trade-off: There is a direct trade-off between how many modules you split the network into and the final model performance. More modules mean more parallelism, but it also increases the gradient error (bias), which can degrade accuracy.
  • Hyperparameter Sensitivity: The number of "lazy" local updates ($N$) has a Goldilocks zone. If $N$ is too low, you don't get much speedup. If $N$ is too high, the stale gradients become too stale, and model performance drops significantly.

Future work could explore dynamic tuning of these decoupling parameters to automatically find the optimal balance between communication efficiency and model accuracy during training.

Summary updated

BibTeX
@inproceedings{man2025accelerated,
  author = {Tianxing Man and Yu Bai and Ganyu Wang and Jinjie Fang and Haoran Fang and Bin Gu and Yi Chang},
  title = {{Accelerated Vertical Federated Adversarial Learning through Decoupling Layer-Wise Dependencies}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=qH70UC6SNy},
}
Figure