Byzantine-Tolerant Methods for Distributed Variational Inequalities

Nazarii Tupitsa, Abdulla Jasem Almansoori, Yanlin Wu, Martin Takáč, Karthik Nandakumar, Samuel Horváth, Eduard Gorbunov

Introduction

Distributed machine learning has become the standard for training large-scale models, yet it remains vulnerable to Byzantine workers. These are nodes within a network that, due to hardware failures or malicious intent, transmit erroneous information to a central server, potentially derailing the entire training process. While significant research has focused on making standard "minimization" tasks (e.g., training a classifier) robust to such attacks, many modern machine learning paradigms do not fit this mold.

Tasks such as Adversarial Training and Generative Adversarial Networks (GANs) are formulated as min-max problems or, more broadly, Variational Inequalities (VIs). VIs are inherently more complex than minimization because they do not follow a simple "downhill" trajectory; instead, they can exhibit circling or spiraling behaviors. This paper expands the frontier of Byzantine-robust distributed learning by introducing algorithms that provide the first theoretical and practical guarantees for solving VIs in the presence of malicious actors.

The Problem: Beyond Simple Minimization

In a typical distributed setting, a server aggregates gradients from multiple workers. A Byzantine worker can exploit this by sending gradients that steer the model away from the optimal solution. While robust aggregators (like the geometric median) exist for minimization, they often fail for VIs because the underlying operator does not necessarily point toward the solution in a way that simple filtering can manage.

Prior to this work, the only existing method (RDEG) suffered from severe practical limitations, including a requirement for massive batch sizes and a low tolerance for the fraction of Byzantine actors in the network. This research addresses these gaps by proposing methods that handle the unique stability requirements of VIs, such as star-cocoercivity and quasi-strong monotonicity.

Proposed Methodologies

The authors propose three primary strategies to achieve robustness in distributed VIs:

1. Robust Aggregation (RA)

The researchers integrated Stochastic Gradient Descent-Ascent (SGDA) and Stochastic Extragradient (SEG) with $(\delta, c)$-robust aggregators. These aggregators act as filters, identifying and removing outliers before the central server updates the model. This provides a foundational layer of defense against basic gradient manipulation.

2. Client Momentum (M-SGDA-RA)

To counter more sophisticated attacks, the authors introduced momentum at the worker level. This is a critical innovation because it breaks "permutation invariance"—a property attackers often exploit to remain undetected while slowly drifting the model. By incorporating momentum, the system becomes more sensitive to the consistency of a worker's contributions over time.

3. Checks of Computations (CC)

For "homogeneous" data scenarios where workers have similar datasets, the paper introduces a novel "peer-review" mechanism. The server randomly assigns workers to verify the computations of their peers. If a mismatch is detected, the malicious worker is identified and banned. This mechanism allows the model to converge to high accuracy without the "infinite batch size" requirement that plagued previous methods.

Experimental Evaluation

The proposed methods were evaluated across three distinct environments:

  • Synthetic Quadratic Games: A controlled setting used to test theoretical convergence under various attack types, including "A Little Is Enough" (ALIE) and Inner Product Manipulation (IPM).
  • MNIST: Utilized for training neural networks robust to adversarial noise.
  • CIFAR-10: Used to test the performance of distributed GAN training, representing a complex, real-world min-max problem.

Key Insights and Results

Breaking the Batch Size Barrier

A significant theoretical contribution of this work is the "Checks of Computations" (CC) approach. Most previous robust methods could only converge to a "neighborhood" of the solution unless the batch size was increased toward infinity. CC is the first method to achieve convergence to any predefined accuracy for distributed VIs without this restrictive requirement.

Superior Performance

In quadratic games, the M-SGDA-RA and SGDA-CC methods consistently outperformed the previous state-of-the-art (RDEG). Furthermore, on the CIFAR-10 dataset, the SGDA-CC method achieved significantly better (lower) FID scores—a standard measure of GAN image quality—under attack compared to standard robust aggregation techniques.

Theoretical Milestones

The paper provides the first rigorous convergence rates for restarted versions of these algorithms (R-SGDA-CC and R-SEG-CC). These rates match the efficiency of non-Byzantine distributed methods when the number of attackers is small, proving that robustness does not necessarily require a sacrifice in convergence speed.

Limitations and Future Work

Despite these advancements, challenges remain. The "Checks of Computations" method introduces a small computational overhead, as nodes must occasionally re-calculate gradients for their peers. Additionally, while client momentum improves robustness, the current theoretical analysis still suggests a need for large batch sizes to achieve full convergence, leaving a gap for future theoretical refinement. Finally, extending these results to more general, non-smooth, or non-monotone operators remains an open area for research.

Summary updated

BibTeX
@inproceedings{tupitsa2023byzantine,
  author = {Nazarii Tupitsa and Abdulla Jasem Almansoori and Yanlin Wu and Martin Takáč and Karthik Nandakumar and Samuel Horváth and Eduard Gorbunov},
  title = {{Byzantine-Tolerant Methods for Distributed Variational Inequalities}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=ER0bcYXvvo},
}
Figure