Roster-Coordinated Stochastic Rounding for Cross-Silo Federated Training

When several hospitals or labs train one model together, each sends its model update to a coordinator every round. Compressing those updates to a few bits per number is the obvious way to cut wide-area traffic. Stochastic rounding is the standard tool for this: it rounds each value up or down at random, with probabilities chosen so that the rounded value equals the true value on average. Today every institution draws its rounding randomness independently. We propose that institutions instead coordinate it, using a per-round seed and slot assignment carried in the same signed membership token the identity federation already issues. Coordinated draws push the institutions' rounding errors in opposite directions, so the errors cancel when the coordinator averages the updates. Each institution's own rounding stays exactly unbiased. Only the variance of the averaged update shrinks.

This matters most where current methods break down. As the shared dataset and the number of training steps grow, individual updates become small relative to the gap between representable low-bit values. At that point deterministic rounding silently drops them. Independent stochastic rounding keeps them on average but adds noise on top of the drift that already comes from institutions holding different data. Coordination attacks the second problem at no extra cost in bits. The identity layer is not decorative. It is where an agreed, auditable list of participants and a shared random seed come from in deployed cross-institution systems.

Core Claim

Our claim is that in the regime of two to four bits per coordinate with a handful to a few dozen silos, coordinated stochastic rounding matches the accuracy of independent stochastic rounding run at one to two more bits per coordinate. We further claim this advantage grows with the scale of the shared dataset, because the quantization step becomes large relative to the update magnitude as learning rates decay. Unbiasedness never depends on the coordination succeeding: if institutions drop out, only the variance benefit degrades. The closest work in the file, DoStoVoQ, builds an unbiased vector quantizer for federated learning from random codebooks "generated independently per worker and iteration." That independence is exactly the assumption we relax. The deployed identity-plus-federated-learning system, APPFLx, uses Globus Auth to admit institutions but exchanges uncompressed 32-bit tensors and uses identity only as an allow/deny gate.

Mechanism

Let $\Delta$ be the spacing of the low-bit grid. For a coordinate in client $k$'s update, let $f_k \in [0,1)$ be the fractional position of the value between the two neighbouring grid points. Stochastic rounding rounds up when a uniform draw $u_k$ falls below $f_k$, giving rounding error $e_k = \Delta(\mathbf{1}[u_k < f_k] - f_k)$. Any rule in which each $u_k$ is marginally uniform keeps $\mathbb{E}[e_k] = 0$, which is the unbiasedness property established by Deep Learning with Limited Numerical Precision.

In the coordinated version, the $K$ clients in a round use stratified draws:

$$u_k = \frac{\pi(k) + U}{K},$$

Here $U$ is a single uniform value expanded per coordinate from a shared round seed, and $\pi$ is a permutation assigning each client a distinct slot.

The cancellation argument goes as follows. Averaging over a fractional position that is effectively random gives $\mathbb{E}[e_k \mid u_k] = \Delta(1/2 - u_k)$. The covariance between two clients' errors therefore inherits the strongly negative covariance of stratified draws. The variance of the summed error then falls from order $K\Delta^2$ toward order $\Delta^2$ when clients' fractional positions are similar, which is typical when silos push correlated gradient directions. It falls by a smaller but still positive amount when the positions are unrelated.

The identity token carries the triple of seed, roster and slot assignment for the round, signed by the coordinator, and every client verifies it before rounding. This commits each client to its slot. It also makes a round bit-exactly replayable for audit, which regulated consortia such as those served by APPFLx need. A client cannot pick its own randomness after seeing its update.

Institutions drop out in practice, and FedProx shows that dropping stragglers is itself harmful under heterogeneity. To handle dropouts, slots follow a low-discrepancy order (bit-reversed indices), so any subset of reporting clients remains roughly evenly spread. We then also coordinate within an institution's internal workers, using the institutional attribute in the token to nest strata.

Research Program

The work has three parts. The first is analysis. We will derive the variance of the averaged rounding error under stratified draws as a function of $K$, the dropout pattern, and the spread of fractional positions across clients. We will then fold this into a FedProx-style convergence bound in which quantization variance and client-drift variance add. This tests whether the "compounded variance" open problem noted in the file becomes tractable once the quantization term is no longer independent across clients.

The second part is the combination with error feedback. ECO shows that feeding residual rounding error into optimizer momentum lets low-precision training remove full-precision master weights, and that it works best with stochastic rounding. We will test whether per-client error feedback and cross-client coordination are complementary or whether feedback already absorbs most of the gain.

The third part is a working implementation inside an APPFLx-like stack. Coordinated rounding seeds and slots are issued as fields in the round's authorization token. We will measure token overhead, verification latency, and behaviour when the roster changes mid-training.

The scale axis is central rather than incidental. The file documents a recurring pattern in which methods that work on small clean benchmarks fail on large heterogeneous ones; a 202-subject ADNI study, for instance, explicitly warns that its constraints may not survive larger cohorts (Inter-modality Relationship Constrained Multi-Task Feature Selection). We therefore treat "does the method's advantage grow or vanish as data and steps grow" as a primary outcome, not a robustness footnote.

Baselines

The naive reference point is uncompressed 32-bit federated averaging. On ECG aging prediction, APPFLx reports a weighted average MSE of 96.35 for federated averaging, against up to 161.28 for local-only models (APPFLx). Our runs will reproduce this setting on public ECG data. The UK Biobank arm requires access we may not obtain, so the 96.35 figure is a published anchor rather than a guaranteed head-to-head number. Beating this baseline means matching its accuracy at a small fraction of its traffic, not exceeding it.

The deterministic baseline is round-to-nearest with a straight-through gradient, as used in Integer Is Enough. That paper reports accuracy parity on MNIST, Fashion-MNIST and CIFAR-10, but only for forward embeddings in vertical federated learning. We apply it to horizontal update compression at matched bit width.

Independent stochastic rounding at the same bit width is the direct ablation that isolates coordination. It uses the same grid, scales, seeds per client, optimizer and tuning budget, and differs only in whether the draws are stratified. We also run independent stochastic rounding at one and two extra bits, so that the claimed bit-equivalence is tested directly. A random-slot ablation keeps a shared seed but assigns slots carelessly, with collisions allowed; it isolates the value of roster-committed slot assignment.

The strongest existing method is DoStoVoQ. It reports an effective compression factor of 38x with a 4.8% Top-1 drop on ImageNet, where prior methods reach only 8x at the same drop (DoStoVoQ). It is the strongest competitor because it is unbiased, built for federated learning, and already highly compressive. Its weakness for our question is that its randomness is independent across workers. We will run it and our method at matched bits per coordinate, with the same number of rounds, data partitions and tuning budget. We will also test coordinated versions of its codebook draws, since stratification may transfer to vector quantization.

We also compare against the side-information compressor of Adaptive Compression in Federated Learning via Side Information, using its public code (Federated-KLMS). It reports up to 2,650x overall compression on Stack Overflow, which makes it the extreme-compression reference. It also already uses shared randomness between client and server, which makes it the closest relative in spirit.

Finally, FedProx is run with and without our quantizer, because the file's +22% absolute accuracy gain over FedAvg at 90% stragglers (FedProx) indicates that drift control, not compression, may dominate final accuracy. The method counts as beating the field if, at two to four bits, it reaches independent stochastic rounding's accuracy with at least one fewer bit per coordinate, and reaches DoStoVoQ's accuracy at equal or lower traffic, on at least the two largest benchmarks.

Why not just…?

Why not just spend one or two more bits with ordinary independent stochastic rounding? This is the most serious threat, and we state the arithmetic honestly. With $K$ silos, an ideal factor-of-$K$ variance reduction is worth about $\tfrac{1}{2}\log_2 K$ bits. That is roughly 1.5 bits for eight silos, and less if fractional positions are uncorrelated or many clients drop out. At eight-bit budgets this is not worth a protocol change. At two to four bits it is a 40–75% traffic difference. The matched-bit ablation settles the question directly. If coordinated rounding at $b$ bits does not match independent rounding at $b+1$ bits, the idea fails.

Why not just use error feedback on each client, as in ECO? Error feedback removes each client's accumulated bias over time but leaves each round's averaged noise independent across clients. Coordination removes variance within a round. The two act on different terms of the bound, so we expect them to stack. However, ECO's results are for single-node and tightly coupled settings, and feedback could absorb most of the gain in practice. The factorial experiment crossing feedback on/off with coordination on/off answers this.

Why not just get the shared seed from any authenticated channel and leave identity management out? Mathematically, any authenticated broadcast of seed and slots would do. Our use of the federation token is a deployment choice, not a mathematical necessity. The case for it is practical. Cross-institution deployments like APPFLx already issue a signed per-session credential naming the participants. Binding slots to that roster stops a coordinator or client from silently reassigning randomness, and it gives a replayable audit record. We will report the system results separately from the learning results, so that the learning claim stands or falls on its own.

Why not just use top-k sparsification? Sparsification is biased and needs error-compensation buffers to avoid divergence across distributed topologies (Communication Compression for Decentralized Training). It is also orthogonal: the surviving coordinates can still be coordinately rounded. We include sparsification plus coordinated rounding as a secondary configuration rather than a competitor.

Proposed Experiments

The scale sweep uses benchmarks from the file with natural or controllable heterogeneity. FEMNIST and Shakespeare carry FedProx's natural splits. CIFAR-10 is split with controlled label skew across 4, 8, 16 and 32 silos. Stack Overflow serves as the large text partition, and ImageNet provides the high-resolution scale point that DoStoVoQ uses. On each benchmark we grow the training data, from a small subsample to the full set, and the number of rounds. We record final accuracy, the variance of the aggregated update relative to the 32-bit update, and total bits transmitted.

The decisive check is a plot of the coordination gain, measured as the bit-equivalence against independent stochastic rounding, versus dataset fraction. Our hypothesis predicts this gain grows with scale. A flat or shrinking gain would refute the claim that coordination specifically addresses the large-data regime.

A dropout check replays the FedProx 90%-straggler configuration. It confirms that accuracy never falls below independent stochastic rounding when the roster collapses, which the marginal-unbiasedness argument guarantees in expectation, and it measures how much benefit the bit-reversed slot order retains.

A privacy-interaction check adds Gaussian noise for differential privacy at fixed budget. DPQuant found that naive 4-bit training under differential privacy loses up to 40% accuracy, and that its scheduling confines the loss to under 2%. We test whether lowering quantization variance through coordination reduces this interaction without layer scheduling, and whether it composes with DPQuant's scheduling.

For the cross-silo medical setting, we run ECG aging prediction partitioned by source database. We report MSE against the APPFLx federated-averaging anchor of 96.35 alongside traffic per round. We add a systems measurement of token size and verification time inside a Globus-Auth-style flow. Federated chest X-ray AUC (APPFLx reports 0.84 for personalized federated learning) is a stretch target that depends on data access.