﻿# PAFT: synchronizing model replicas after silent gradient-aggregation errors

PAFT limits replica drift with periodic parameter synchronization. Its fault-injection experiments support a bounded defense, with added communication and explicit assumptions.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/paft-silent-gradient-replica-drift-evidence/
Language: en

## The failure is disagreement between replicas

[Identifying and Mitigating Errors in Gradient Aggregation of Distributed Data Parallel Training](https://proceedings.mlr.press/v306/tang26g.html) studies silent corruption that gives workers different aggregated gradients. Training may continue without a collective returning an explicit failure, while parameter replicas gradually diverge.

This differs from ordinary floating-point differences between two legal reduction implementations. The [collective-correctness guide](/journal/guide-perf-allreduce-correctness/) explains why rank agreement and the numerical error budget are separate checks. Accepting small rounding differences between implementations does not authorize different outputs where the same collective requires agreement.

PAFT addresses accumulated replica drift. It does not identify a defective board, repair hardware, or replace checkpoint recovery from a stopped process.

## Periodic synchronization removes accumulated drift

The [full accepted paper](https://raw.githubusercontent.com/mlresearch/v306/main/assets/tang26g/tang26g.pdf) describes PAFT-Sync, which periodically averages model parameters in addition to normal gradient aggregation. This returns replicas to a common point. PAFT-Dyn adjusts synchronization frequency using estimated error magnitude and gradient scale, and overlaps communication with subsequent computation.

The overlap introduces a tradeoff: some gradient computation proceeds while parameter synchronization is outstanding. The paper evaluates this execution choice rather than assuming asynchronous communication has no numerical consequence. Its convergence analysis also relies on stated smoothness, noise and convexity assumptions; it is not an unconditional theorem for arbitrary nonconvex language-model training.

Optimizer state matters because momentum and adaptive moments retain history. The authors investigate synchronizing optimizer information as well as model parameters, finding extra communication for limited additional improvement in their settings. The [AdamW guide](/journal/adamw-decoupled-weight-decay/) explains why synchronized weights alone do not imply identical optimizer histories.

## Physical workers, simulated corruption

The implementation uses PyTorch Distributed. Testbeds include an eight-node cluster with four RTX2080Ti GPUs per node and a separate machine with eight A6000 GPUs. Experiments span 4–32 workers and include ResNet training, GPT-2 pretraining and LoRA fine-tuning of GPT-2 and LLaMA-2.

The hardware runs are physical, but the corruption is injected as statistical perturbations. The paper varies noise magnitude and adds occasional larger bursts. These tests do not measure how frequently real devices suffer silent corruption, and a Gaussian disturbance is not a complete physical model of every memory or interconnect bit fault.

Reported convergence improves under the tested disturbances, especially smaller worker-specific noise. Larger perturbations still leave a gap from the fault-free reference. This supports mitigation under defined fault models rather than guaranteed recovery from arbitrary corruption.

## Reliability costs and scope remain visible

For ResNet-50 with 32 workers, the iteration-time table reports 0.333 seconds for ordinary distributed SGD, 0.411 for PAFT-Sync and 0.373 for full PAFT. Dynamic scheduling reduces the added synchronization cost, but does not eliminate it. These timings are not an equivalent throughput result for a much larger language model or modern high-speed fabric.

The method assumes the infrequent synchronization path is more reliable than ordinary aggregation. If all workers receive the same wrong update, averaging their now-identical parameters cannot reconstruct the correct direction. Additional detection or robust aggregation is required for that different fault scope.

The paper also says native FSDP or ZeRO-style sharding is not directly covered, because full parameter redundancy is absent. Adaptation would need shard-aware tracking and verification. Preserve these assumptions when deciding whether a deployed training topology offers the redundancy PAFT actually uses.
