When many GPUs train one model, they must average their gradients after every step. On slow or shared networks this exchange can take most of the training time. Gradient compression shrinks the exchange, but it runs into two separate problems. The methods that compress hardest pick the largest entries of each tensor (top-$k$) or quantize to a few bits. Their outputs cannot be summed by the network's standard averaging operation, All-Reduce, so each worker must instead download every other worker's message. The methods that stay summable, such as low-rank factorization, spend so much GPU time encoding that on fast clusters they usually slow training down.
We propose a compressor that addresses both problems. On each step, every worker projects its momentum onto a randomly chosen space of block-circulant matrices, meaning matrices built from small blocks in which each row is a cyclic shift of the row above. All workers use the same random seed, so all project onto the same space. Because this projection is a fixed linear map, the projected messages can be summed by ordinary All-Reduce. Computing it takes one memory pass that adds entries along wrapped diagonals, with no matrix multiply and not even a Fourier transform. The projection is also orthogonal, so each worker can subtract exactly what it sent from its local momentum and keep the rest for later. This is the trick that let DeMo drop the error-feedback buffer, here without top-$k$.
Core Claim
The claim has two parts. The first is that DeMo's high compression does not depend on adaptively selecting high-energy frequency components. A non-adaptive linear projection that is re-randomized every step and paired with decoupled local momentum should match it at equal bytes on the wire, at $k$-fold compression with $k$ between 32 and 128. The second is that a linear projection costs almost nothing to encode and uses native All-Reduce. It should therefore produce wall-clock gains in the regime where the utility study by Agarwal et al. found compression almost never helps.
Background and What Is Different
Circulant structure has so far been used to compress weights, not communication. Fast Neural Networks with Circulant Projections replaces fully connected layers with sign-flipped circulant maps trained through FFTs. Circulant Binary Embedding shows that randomized circulant projections preserve distances about as well as dense Gaussian ones. Block Circulant Adapter for Large Language Models parameterizes fine-tuning updates as block-circulant matrices.
These papers supply our method in two ways. They show that randomized circulant maps behave like random projections, and they show that a structured operator can be applied cheaply. None of them involves multiple workers. The adapter paper also sets a constraint: it finds gradient blow-up proportional to block size when weights are parameterized by circulant generator vectors, and it fixes this with a $1/p$ learning-rate rule. Our model weights stay dense. Our projection averages entries rather than summing them, so it has unit operator norm, and that blow-up should not arise. We will check this empirically rather than assume it.
On the communication side, three works motivate the proposal.
- DeMo. DeMo: Decoupled Momentum Optimization applies a discrete cosine transform to chunks of momentum, sends only the top-$k$ coefficients, and subtracts what it sent locally. Because top-$k$ is nonlinear, the messages must be gathered rather than reduced.
- Low-rank methods. PowerSGD and SEPARATE stay linear and All-Reduce-compatible. They pay for it with dense matrix products: power iteration for PowerSGD, and a shared Gaussian projection for SEPARATE. SEPARATE also needs a moving-average error buffer whose decay parameter $\beta$ can cause divergence if mistuned.
- Quantization. BitDP reaches 32× with 1–2 bit gradients but falls back to All-Gather.
The constraining evidence is On the Utility of Gradient Compression in Distributed Training Systems. It found speedups in only 6 of more than 200 configurations. It measured roughly 45 ms of PowerSGD encoding on ResNet-50, which competes with the backward pass for GPU resources.
Our design sits in the gap these works leave. It shares DeMo's local subtraction, the linearity of PowerSGD and SEPARATE, and the randomized-circulant geometry of the embedding literature. It is not a fast version of SEPARATE: it compresses along wrapped diagonals rather than along one matrix dimension, and it needs no error buffer or $\beta$.
The Mechanism
Take a gradient or momentum matrix $M$ and partition it into $k\times k$ blocks. Draw fresh random signs $s_i, t_j \in \{\pm1\}$ and a random cyclic offset from a shared per-step seed. For one block, the transmitted generator vector has entries
$$c_d = \frac{1}{k}\sum_{i=0}^{k-1} s_i\, t_{(i+d) \bmod k}\, M_{i,\,(i+d) \bmod k}, \qquad d = 0,\dots,k-1.$$
Each $c_d$ is the signed average of the $d$-th wrapped diagonal of the block. The decoded block is $\hat M_{ij} = s_i t_j c_{(j-i) \bmod k}$, which is exactly the orthogonal projection of $M$ onto the randomized block-circulant subspace. Two properties follow.
- Unbiased estimate. Products of independent signs average to zero for distinct index pairs. Hence $\mathbb{E}[k\hat M] = M$, and the variance matches a count sketch with the same collision count.
- Exact local subtraction. The projection is idempotent, so subtracting $\hat M$ from local momentum removes exactly the transmitted part.
Re-randomizing every step rotates the subspace. Momentum that stays on a worker is therefore sent eventually rather than lost.
The FFT still matters for analysis and for one optional extension. The singular values of a block-circulant matrix are the singular values of $k$ small per-frequency matrices, one per Fourier frequency. The decoded update can therefore be orthogonalized cheaply, in the style of Muon, by orthogonalizing those $k$ small matrices. This connects to the geometric concerns raised by Orth-Dion.
Research Program
We will build a PyTorch DDP communication hook that fuses the diagonal-sum projection into the gradient-bucket path. It will run with plain NCCL All-Reduce, and a GPT-style trainer will apply decoupled momentum as in DeMo.
The analysis will bound convergence of decoupled momentum under rotating random projections. It will show how the rate depends on $k$, drawing on the unbiasedness and variance above.
The empirical program asks three questions in order:
- Does circulant projection match DeMo's loss at equal bytes?
- Is its encoding time small enough to overlap with backward on fast networks?
- What does the circulant structure buy over an unstructured linear sketch of the same size?
Baselines
The do-nothing reference is uncompressed AdamW with PyTorch DDP over NCCL, including standard bucketed overlap of communication with the backward pass. The Agarwal et al. study shows that this is usually the fastest option on fast fabrics, so any claimed speedup must beat it in wall-clock time, not only in bytes. We run it at the same batch size and token budget, with its learning rate tuned on the same sweep grid used for every method.
The strongest competitor on quality per byte is DeMo, because it is the only frequency-domain momentum compressor in the file shown to match or beat AdamW at extreme ratios. DeMo reports an 85× reduction (7.5 MB versus 637 MB per step) for OLMo-300M on Dolma with no accuracy loss, and 55 MB versus 2.4 GB per step for OLMo-1B. We will reproduce DeMo in our codebase using its top-$k$ and chunk settings, with its gather-based exchange. Beating it means matching its final loss and downstream scores at equal bytes per step, while showing lower wall-clock time at 16 or more workers, where gather traffic grows with worker count and All-Reduce traffic does not.
The strongest linear competitors are PowerSGD and SEPARATE.
- PowerSGD reports a 24% wall-clock reduction on ResNet18 on CIFAR-10, at 94.4% versus 94.3% accuracy. Agarwal et al. measure about 45 ms of encoding on ResNet-50. We will run PowerSGD at a rank chosen to match our bytes and compare encoding time directly on ResNet-50 and GPT-2 Medium.
- SEPARATE reports a 2× speedup on GPT-2 Medium over 10B OpenWebText tokens, and a 39.71 average against AdamW's 38.15 on LLaMA2-7B Alpaca-GPT4 fine-tuning. We will reproduce its GPT-2 Medium setting and tune $\beta$ on the same budget.
- BitDP serves as the quantization reference. It reports 22.74 against 22.17 perplexity at GPT-350M with 32× compression.
Three ablations isolate the key ingredients:
- Structure. Replace the circulant diagonal sum with a random-hash count sketch of identical size and cost.
- Adaptivity versus linearity. Keep the same subspace every step, and separately add top-$k$ on the circulant coefficients.
- Decoupled momentum. Replace local subtraction with a conventional error-feedback buffer.
Why not just…?
Why not just quantize to one or two bits as BitDP does? BitDP's 32× ratio with under 1% perplexity loss is a real threat on quality. Its reported 5.15× speedup on InfiniBand and 7.47× on Ethernet at 13B comes from a custom All-Gather path whose traffic grows with worker count. The two methods can also be combined, since quantizing the reduced circulant coefficients after summation remains linear. The worker-scaling sweep will show whether native All-Reduce wins beyond some cluster size. If BitDP dominates at every size we test, we will report that plainly.
Why not just use SEPARATE's Gaussian projection, which is also linear and seed-shared? SEPARATE needs a dense matrix product with the projection and a moving-average buffer that must be tuned. Our encoding is a single additive pass, and the orthogonal projection removes the buffer. The head-to-head comparison measures encoding milliseconds and $\beta$-sensitivity at matched bytes. If SEPARATE's matrix product hides fully behind the backward pass on tensor cores, our advantage reduces to stability alone.
Why not just use DeMo, which already works in the frequency domain? DeMo's top-$k$ is adaptive, and that adaptivity may be exactly what makes it work. The "circulant plus top-$k$" and "fixed subspace" ablations test this directly. If non-adaptive rotating projections lose clearly to DeMo at equal bytes, our first claim fails, and we will say so.
Why not just skip compression on fast fabrics? On InfiniBand, overlapped DDP will probably win, and we expect to confirm that. The proposal targets the regime where communication cannot be hidden: 10 GbE and bandwidth-throttled links. There we measure where the crossover occurs.
Proposed Experiments
All experiments run on 8, 16, and 32 GPUs, under InfiniBand, 10 GbE, and throttled links.
The main language-model runs are:
- OLMo-300M on a Dolma token budget scaled down from DeMo's 100B, matched across methods, reporting loss and zero-shot HellaSwag, ARC-Easy, and PIQA.
- GPT-2 Medium on OpenWebText, following SEPARATE's setup, reporting time to target loss.
ResNet-50 serves as a direct replication of the encoding-overhead measurement from Agarwal et al.
We sweep $k \in \{16, 32, 64, 128\}$ and log bytes per step, encoding time as a fraction of the backward pass, and update norms, to check for the size-dependent blow-up the adapter paper warns about.
Three results would be decisive:
- Encoding stays below a few percent of backward time where PowerSGD's does not.
- At $k=64$, loss matches DeMo within noise at equal bytes.
- The circulant sketch beats the random-hash sketch.
If the third result fails, the circulant structure contributes nothing. The result would then be "linear sketches plus decoupled momentum suffice", which is still useful, but we would reframe the work around that finding.
References
- Fast Neural Networks with Circulant Projections
- Circulant Binary Embedding
- Block Circulant Adapter for Large Language Models
- DeMo: Decoupled Momentum Optimization
- PowerSGD: Practical Low-Rank Gradient Compression for Distributed Optimization
- SEPARATE: A Simple Low-rank Projection for Gradient Compression in Modern Large-scale Model Training Process
- BitDP: Ultra-low-bit Communication for Data Parallelism in LLM Training
- On the Utility of Gradient Compression in Distributed Training Systems
- Orth-Dion: Eliminating Geometric Mismatch in Distributed Low-Rank Spectral Optimization