Adversary-Robust Learning from Fully Asynchronous Directional Derivative Estimates

Anik Kumar Paul, Nibedita Roy, Nagesh Talagani, Swetha Ganesh, Gugan Thoppe, Alexandre Reiffers-MassonNeurIPS 2026

TL;DR

Training models across distributed workers usually forces a painful trade-off: wait for slow workers so you can safely filter out malicious ones, or move fast asynchronously and let a single bad actor poison your model. This paper introduces FAR-SIGN, an optimization algorithm that updates the model the exact moment any single worker reports back—no waiting, no buffering, and no secret validation data—while still neutralizing adversarial attacks. By combining signed updates along specific geometric directions with a clever two-speed averaging trick, it achieves up to 35× faster wall-clock training than existing robust baselines.

What Problem Does This Paper Address?

In distributed learning, a central server relies on worker nodes to compute updates. In the real world, two headaches collide: stragglers (slow networks, stalled hardware) and Byzantine adversaries (faulty or malicious workers sending arbitrarily corrupted numbers to sabotage training).

Standard defenses rely on robust aggregation—waiting for a batch of workers to report back, comparing their answers, and taking a geometric median or trimmed mean to ignore outliers. That kills asynchronous speed because the server is constantly waiting. Existing "asynchronous" defenses try to cheat by either keeping a clean, private dataset on the server to grade incoming updates, or forcing the server to buffer multiple updates before taking a step. Furthermore, if workers can only evaluate loss values rather than full gradients (zeroth-order optimization, common in black-box settings), fully asynchronous, adversary-resilient learning was completely unexplored.

Table 1: Comparison with first-order methods. All methods achieve the optimal O(n−1/4) rate, but FAR-SIGN is the only one achieving it while being adversary-robust and fully asynchronous. Legend: RA = robust aggregation; B = buffered; EF= error feedback; FDS = fixed dictionary sampling. ✓† = worker-side asynchrony only: server waits for multiple updates before aggregation.

Methods

The authors propose FAR-SIGN (Fully Asynchronous Robust optimization via SIGNed directional projections). Instead of asking workers for massive, full-dimensional gradients and trying to filter out liars at the server, FAR-SIGN changes the communication protocol using three core ingredients:

  1. Fixed Dictionary Probing: Each worker is assigned a fixed set of probing directions. Honest workers estimate how the loss changes along a direction using either standard gradients (first-order) or two-point finite differences (zeroth-order, nudging parameters slightly plus and minus to measure the slope).
  2. Event-Driven Signed Updates: The moment a single directional estimate arrives—even if computed on an old, stale version of the model—the server takes a step along that direction using only the sign ($+1$ or $-1$) of the tracked derivative. Because updates are squashed to signs, a rogue worker screaming "one billion!" has no more pull than an honest worker whispering "one."
  3. Two-Timescale Averaging: Taking the sign of noisy estimates directly is notoriously biased (the average of signs rarely equals the sign of the average), which breaks standard signSGD under asymmetric noise. FAR-SIGN fixes this by maintaining a fast-moving average of directional estimates ($y_n$) while updating the actual model parameters ($x_n$) on a slower timescale. From the fast tracker's perspective, the model looks nearly stationary, allowing noise to wash out before the sign is ever taken.
Table 2: Comparison with zeroth-order methods. While existing methods also achieve standard zeroth-order rates, FAR-SIGN is the only one achieving them while supporting both fully asyn- chronous execution and adversary resilience. Legend: DN = decoupled noise, CN = coupled noise, FDS = fixed dictionary sampling, and RDS = random direction sampling.

Datasets

The authors evaluate their framework on the standard MNIST image classification benchmark (60,000 training and 10,000 test images), partitioned randomly across 51 simulated workers. No new benchmarks are introduced; MNIST serves as a controlled testbed to isolate algorithmic overhead and wall-clock speed under identical query budgets.

Key Insights and Ideas

  • Geometry replaces consensus: You don't need workers to vote at the same time to beat adversaries. By designing probing directions to satisfy a row-imbalance condition (ensuring honest workers collectively project more strongly onto every coordinate direction than any adversarial minority), honest drift naturally overpowers malicious noise over time.
  • Two timescales tame signSGD: Vanilla signSGD requires restrictive assumptions like symmetric, unimodal noise to converge. Separating the state estimation speed from the parameter update speed recovers almost-sure convergence under standard zero-mean, bounded-variance noise—even with unbounded communication delays.
  • Sparsity creates massive speedups: Robust zeroth-order baselines typically force workers to reconstruct dense, full-model gradients (79,510 dimensions in the test MLP) and wait in a server buffer before running heavy aggregation math. FAR-SIGN updates immediately on just the $K=64$ sampled coordinates, turning algorithmic simplicity directly into wall-clock speed.

Key Results

  • Theoretical Convergence: For smooth, nonconvex objectives, FAR-SIGN converges almost surely to stationary points. It hits near-optimal convergence rates of $O(n^{-1/4+\epsilon})$ in first-order settings and $O(n^{-1/6+\epsilon})$ in zeroth-order settings (accelerating to $O(n^{-1/2+\epsilon})$ when function evaluation noises are coupled).
  • Wall-Clock Speedups: Training a two-layer MLP on MNIST with 24% Byzantine workers (12 of 51 clients) across four attacks (Sign-Flip, Constant, Gaussian, and ALIE), FAR-SIGN reaches 80% accuracy in 11–37 seconds, whereas the fastest buffered CYBER-0 baseline takes 205–420 seconds. Across scenarios, this translates to 6.2× to 35.2× speedups.
  • Accuracy & Resilience: FAR-SIGN reaches 89.6% accuracy with no attack and holds steady between 86.2% and 89.0% across all four attacks. Meanwhile, several baselines fail to reach 85%, and Trimmed Mean collapses completely to ~8–10% accuracy under Constant and Gaussian attacks.

Limitations and Future Work

  • Homogeneous Data Assumption: The theoretical guarantees assume all honest workers evaluate noisy versions of the same underlying objective function $f$ (meaning data is distributed identically/homogeneously across workers). Real-world federated learning usually involves heterogeneous, non-IID client data.
  • Scale of Empirical Testing: Experiments are restricted to a small two-layer MLP on MNIST without simulated network delays (isolating structural computation costs rather than network latency). Scaling the theory to heterogeneous objectives and testing on larger neural architectures and realistic federated benchmarks remain open for future work.

Summary updated

Abstract

We propose FAR-SIGN (Fully Asynchronous Robust optimization via SIGNed directional projections) for adversary-resilient learning in parameter-server--worker systems. FAR-SIGN achieves robustness through sign-based updates along carefully designed directions and mitigates the resulting bias via a two-timescale mechanism. It admits both first-order and zeroth-order implementations and enables fully asynchronous execution without requiring a private reference dataset at the server. We establish almost-sure convergence of FAR-SIGN to the set of stationary points for smooth, nonconvex objectives. Moreover, we prove the near-optimal rate of $O(n^{-1/4+\epsilon})$ in the first-order setting and the standard $O(n^{-1/6+\epsilon})$ in the zeroth-order setting, where $n$ is the iteration count and $\epsilon>0$ can be chosen arbitrarily small. Experiments on MNIST show that FAR-SIGN outperforms robust aggregation-based methods in both accuracy and wall-clock time.
BibTeX
@inproceedings{paul2026adversary,
  author = {Anik Kumar Paul and Nibedita Roy and Nagesh Talagani and Swetha Ganesh and Gugan Thoppe and Alexandre Reiffers-Masson},
  title = {{Adversary-Robust Learning from Fully Asynchronous Directional Derivative Estimates}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=9lsYgXnywJ},
}
Figure