TL;DR
Long-haul fiber optic cables are ruthlessly over-engineered for perfection, guaranteeing 99.999% uptime and zero bit errors—standards that inherently noisy neural network training simply doesn’t need. By translating distributed training tolerances into the physical language of optical engineering (a "link budget"), this paper reveals what multi-datacenter AI actually requires from glass fiber. Spoiler: You don't need fancy, custom-built noisy hardware lanes; just aggressively quantize your updates and protect a tiny fraction of "scale" bits with your life.
What Problem Does This Paper Address?
Training massive AI models inside a single building is hitting power and space walls. Distributed methods like DiLoCo let us split a training run across multiple datacenters separated by thousands of kilometers, syncing up periodically over long-haul optical fiber.
Here’s the rub: telecom engineers and ML researchers speak different languages. Optical links are designed using a link budget—starting with the raw Signal-to-Noise Ratio (SNR) of light in fiber and subtracting safety margins until the link achieves "five-nines" (99.999%) error-free availability. Meanwhile, stochastic gradient descent thrives on noise and easily shrugs off quantized updates or dropped workers. Nobody had previously translated ML’s natural sloppiness into decibels and availability margins to see how much extra data we could push through existing transcontinental glass if we stopped demanding perfection.
Methods
The author bridges this gap by simulating distributed DiLoCo training ($K=4$ datacenters connected to a central hub) directly over a realistic, physics-based model of a 1000 km coherent optical fiber link—complete with 80 km spans, amplifier noise, nonlinear interference, SNR drift, and bursty bit errors.
Instead of standard 16-bit floats (bf16), updates are compressed using microscaling block codes: groups of 32 values share a single 8-bit scale factor, while individual elements get $K$ bits. What training needs from the physical link is boiled down to three metrics:
- Fidelity: Measured as Signal-to-Distortion Ratio (SDR), combining quantization, channel noise, and bit errors onto one scale.
- Availability: The fraction of training rounds where a site’s update actually arrives (which sets the SNR safety margin).
- Integrity: Exact, error-free delivery for the few critical bits where an error causes unbounded numerical explosions.
To stop models at different sites from drifting apart due to quantization differences, the hub decodes its own quantized update so everyone applies the exact same math ("tracked downlink"), alongside periodic exact resynchronizations when random bit errors are present.
Datasets
No new benchmarks were introduced. The simulations span three setups:
- Toy task: A synthetic, non-IID teacher-student problem using a 22k-parameter MLP trained to convergence.
- From-scratch LM: Pythia-70M trained on WikiText-2.
- Fine-tuning LM: Pretrained Pythia models (160M, 410M, and 1B) fine-tuned on WikiText-2.
Key Insights and Ideas
- Shorter codes beat "unequal error protection" (UEP): A classic information-theory trick is UEP—sending important bits on heavily protected lanes and less-important bits on cheap, noisy lanes. It turns out bit errors in element values act just like added Gaussian noise. Sending an 8-bit format with noisy low bits delivers the exact same fidelity as a clean 4- or 5-bit code, while wasting bandwidth. You are much better off sending fewer bits over a standard error-free link.
- Only the scale bits are sacred: While element bits can tolerate a brutal $10^{-2}$ bit error rate (1 in 100 bits flipped!), a tiny $10^{-6}$ error rate on the shared block scales—or
bf16exponents—instantly blows up the training run.
- Burst errors hurt less than scattered ones: If scale errors happen, how they arrive matters. Scattered errors diverge 100% of toy runs, whereas the exact same number of errors clumped into 16 kb bursts diverge none—because dropping one corrupted network frame is far safer than letting silent, scattered poison through.
- Application-level compression steals the show: Relaxing optical uptime from 99.999% to 98% lets you shave 1.1 dB off the SNR margin, buying a modest throughput bump. Simply quantizing updates from 16 bits to 5 bits buys a massive $3\times$ jump—something methods like Streaming DiLoCo already largely capture!
Key Results
- The converged budget: On the converged toy task, keeping the validation loss penalty under 1% requires 17 dB SDR (achieved by a 5-bit block code) and 98% link availability (2% dropped rounds).
- Throughput gains at 1000 km: Dropping from
bf16(52 billion values/s per wavelength) to a 5-bit error-free code triples the rate to 158B values/s ($\times 3.0$). Matching the optical SNR margin to training's 98% availability need adds another +6% (to 168B values/s), and between 4% and 14% across distances from 80 to 4000 km. - Room left on the table: Even at 168B values/s, standard hardware sits $2.8\times$ below the theoretical Shannon bound (471B values/s), split between suboptimal source coding ($1.8\times$) and modem channel coding ($1.5\times$).
- Language models are shockingly tough early on: During early training (first 340 rounds), Pythia-70M tolerates 0 dB SDR (noise as loud as the signal itself!) and a 1-bit code with no loss penalty—though a $10^{-6}$ BER on scale bits kills it immediately. Fine-tuning up to 1B parameters confirms scale-bit fragility at scale.
Limitations and Future Work
The author is refreshingly candid about the boundaries of this work:
- Pure simulation: Optical drift, burstiness, and forward-error-correction thresholds are modeled assumptions, not measurements from live transponders or commercial telecom planning tools.
- Missing late-stage LLM numbers: The strict 5-bit / 17 dB requirement was established on a tiny 22k-parameter MLP. Meanwhile, the 70M language model was only tested in early training (1 seed, un-tuned outer step size), leaving a wide range (1 to 5 bits) for what a large language model actually needs near convergence.
- Unbilled sync costs: The study uses a simple hub-and-spoke topology and doesn't deduct the bandwidth cost of periodic exact resynchronizations from the link's throughput.
Summary updated