Communication Efficient LLM Pre-training with SparseLoCo

Amir Sarfi, Benjamin Thérien, Joel Lidin, Eugene Belilovsky
8/21/2025
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Communication-efficient distributed training algorithms have received considerable interest recently due to their benefits for training Large Language Models (LLMs) in bandwidth-constrained settings, such as across datacenters and over the internet. Despite reducing communication frequency, these methods still typically require communicating a full copy of the model's gradients-resulting in a communication bottleneck even for cross-datacenter links. Furthermore, they can slightly degrade performance compared to a naive AdamW DDP baseline. While quantization is often applied to reduce the pseudo-gradient's size, in the context of LLM pre-training, existing approaches have been unable to additionally leverage sparsification and have obtained limited quantization. In this work, we introduce SparseLoCo, a communication-efficient training algorithm for LLMs that effectively leverages error feedback with Top-k sparsification and 2-bit quantization to reach extreme sparsity as low as 1-3% while outperforming full-precision DiLoCo. Our key observations are that outer momentum can be locally approximated by an error feedback accumulator combined with aggressive sparsity, and that sparse aggregation can actually improve model performance. We empirically demonstrate in a range of communication-constrained LLM training settings that SparseLoCo provides significant benefits in both performance and communication cost.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sarfi2025communication,
  title  = {Communication Efficient LLM Pre-training with SparseLoCo},
  author = {Amir Sarfi and Benjamin Thérien and Joel Lidin and Eugene Belilovsky},
  year   = {2025},
  eprint = {2508.15706},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.15706v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.15706.svg)](https://codeofpaper.com/paper/2508.15706)

Discussion