Arthur Douillard

Arthur Douillard

@douillard.bsky.social

distributed (diloco) + modularity (dipaco) + llm @ deepmind | continual learning phd @ sorbonne

1.4K followers155 following78 posts

one more step towards decentralized learning: Eager Updates can we overlap communication with computation over hundred of steps? -- yes we can in this work led by @SatyenKale, we improve DiLoCo and use x1177 less bandwidth than data-parallel

View full thread

required bandwidth reduction is massive, for a 100B params model: DP requires 471 Gbits/s Streaming DiLoCo with inner com. overlap: 1.4 Gbits/s Streaming DiLoCo with eager outer com. overlap: 400Mbits/s, more than 1000x reduction 400Mbits/s is consumer-grade bandwidth FYI

one more step towards decentralized learning: Eager Updates can we overlap communication with computation over hundred of steps? -- yes we can in this work led by @SatyenKale, we improve DiLoCo and use x1177 less bandwidth than data-parallel

View full thread

scaling up to 1B params, and we see that our eager method can reach no loss of performance when synchronizing every 30 steps (thus overlapping 30 computation steps!), and follow closely when overlapping 100 steps

one more step towards decentralized learning: Eager Updates can we overlap communication with computation over hundred of steps? -- yes we can in this work led by @SatyenKale, we improve DiLoCo and use x1177 less bandwidth than data-parallel

View full thread

one more step towards decentralized learning: Eager Updates can we overlap communication with computation over hundred of steps? -- yes we can in this work led by @SatyenKale, we improve DiLoCo and use x1177 less bandwidth than data-parallel

View full thread

one more step towards decentralized learning: Eager Updates can we overlap communication with computation over hundred of steps? -- yes we can in this work led by @SatyenKale, we improve DiLoCo and use x1177 less bandwidth than data-parallel

Arthur Douillard reposted

We received an outstanding interest in our #ICLR2025 @iclr-conf.bsky.social workshop on modularity! Please sign up to serve as a reviewer if you are interested in Model Merging, MoEs, and Routing, for Decentralized and Collaborative Learning t.co/HIsZKWNaOx

Arthur Douillard@douillard.bsky.social

Workshop alert 🚨 We'll host in ICLR 2025 (late April) a workshop on modularity, encompassing collaborative + decentralized + continual learning. Those topics are on the critical path to building better AIs. Interested? submit a paper and join us in Singapore! sites.google.com/corp/view/mc...

We release today the next step for distributed training: --> Streaming DiLoCo with Overlapping Communication. TL;DR: train data-parallel across the world with low-bandwidth for the same performance: 400x less bits exchanged & huge latency tolerance

View full thread

We release today the next step for distributed training: --> Streaming DiLoCo with Overlapping Communication. TL;DR: train data-parallel across the world with low-bandwidth for the same performance: 400x less bits exchanged & huge latency tolerance

View full thread

What if each replica overlap a different num of steps (\tau) because they run a different speeds? Can we break away from the lockstep synchronization? yes! Workers can have a few delay steps, and it just work, w/o any special handling.

All of this is why we say Streaming DiLoCo is a good step towards distributed free lunch πŸ₯ͺ So so many ideas we try just work on top of DiLoCo. And it can scale too! Look at the cracked folks of @PrimeIntellect who scaled their version to 10B

We release today the next step for distributed training: --> Streaming DiLoCo with Overlapping Communication. TL;DR: train data-parallel across the world with low-bandwidth for the same performance: 400x less bits exchanged & huge latency tolerance

View full thread

There are tons of plots, tables, and charts in our paper; but let me share two more exciting plots: Over how many steps can you overlap safely communication? At least 5 without any significant loss of perf! That's a massive increase of tolerated latency.

We release today the next step for distributed training: --> Streaming DiLoCo with Overlapping Communication. TL;DR: train data-parallel across the world with low-bandwidth for the same performance: 400x less bits exchanged & huge latency tolerance

View full thread

Speaking about DeepSeek, how to distribute its pretraining across the world with low-bandwidth? It has only 35B activated params, but you need to sync 671B params in total! Hard to do across continents with data-parallel... However, with our method? ❀️‍πŸ”₯

We release today the next step for distributed training: --> Streaming DiLoCo with Overlapping Communication. TL;DR: train data-parallel across the world with low-bandwidth for the same performance: 400x less bits exchanged & huge latency tolerance

View full thread

The good part of overlapping communication with computation? As @m_ryabinin noted in Swarm Parallelism: larger networks spent more time doing computation O(n^3) vs doing communication O(n^2). We have much more time to sync at larger scales!

We release today the next step for distributed training: --> Streaming DiLoCo with Overlapping Communication. TL;DR: train data-parallel across the world with low-bandwidth for the same performance: 400x less bits exchanged & huge latency tolerance

View full thread

Put everything together, scale it to 4B, and reach similar performance than data-parallel. It's even better when overtraining with a larger token budget? remember the bitter lesson? just put more data and flops in your model, Streaming DiLoCo enables that.

My co-author, Yani, built a simulator: a DAG with fwd, bwd, and gradient reduction nodes. It estimates how much time is spent in the costly com. between non-colocated devices and how much is spent crunching flops.

We release today the next step for distributed training: --> Streaming DiLoCo with Overlapping Communication. TL;DR: train data-parallel across the world with low-bandwidth for the same performance: 400x less bits exchanged & huge latency tolerance

View full thread

[2] Instead of blocking computation to receive the communication, we do several compute steps asynchronously. See L9-12: the longer your model takes to do fwd/bwd, the more time you have to do communication! That's the free main course 🍱

We release today the next step for distributed training: --> Streaming DiLoCo with Overlapping Communication. TL;DR: train data-parallel across the world with low-bandwidth for the same performance: 400x less bits exchanged & huge latency tolerance

View full thread

With Streaming DiLoCo, we improve over the successful recipe of DiLoCo in three ways: 1. partial synchronization 2. communication overlapping with computation 3. quantized communication This is a distributed free lunch πŸ₯ͺ

[1] Instead of syncing the whole model every hundreds of steps, sync a subset of it! We split the model in fragments of three layers, it reduces massively the peak bandwidth w/o hurting ML performance. That's the free appetizer πŸ₯—

We release today the next step for distributed training: --> Streaming DiLoCo with Overlapping Communication. TL;DR: train data-parallel across the world with low-bandwidth for the same performance: 400x less bits exchanged & huge latency tolerance

View full thread

The bitter lesson is that neural networks *really* want more flops and data. This has been the key success behind LLMs. It also means you need tons of compute. however it's hard to have all that compute available in a single place, can we distribute it across the world?

We release today the next step for distributed training: --> Streaming DiLoCo with Overlapping Communication. TL;DR: train data-parallel across the world with low-bandwidth for the same performance: 400x less bits exchanged & huge latency tolerance

Arthur Douillard reposted

In December, I posted about our new paper on mastering board games using internal + external planning. πŸ‘‡ Here's a talk now on Youtube about it given by my awesome colleague John Schultz! www.youtube.com/watch?v=JyxE...

youtube.comJohn Schultz, DeepMind, Mastering Board Games by External and Internal Planning with Language ModelsYouTube video by AI4All
Marc Lanctot@sharky6000.bsky.social

Super happy to reveal our new paper! πŸŽ‰πŸ™Œβ™ŸοΈ We trained a model to play four games, and the performance in each increases by "external search" (MCTS using a learned world model) and "internal search" where the model outputs the whole plan on its own!

Arthur Douillard reposted

πŸš€Excited to co-organize the #ICLR2025 Workshop on Modularity for Collaborative, Decentralized, and Continual Deep Learning (MCDC @iclr-conf.bsky.social). πŸ“ƒ Submission Portal: openreview.net/group?id=ICL... πŸ€—See you in Singapore! For more details, check out the original thread β†ͺ️🧡

sites.google.comMCDC@ICLR25Summary While the success of large-scale deep learning models has hinged on the ``bigger is better'' approach – scaling model size and training data – this paradigm may rapidly be reaching an inflec...
Arthur Douillard@douillard.bsky.social

Workshop alert 🚨 We'll host in ICLR 2025 (late April) a workshop on modularity, encompassing collaborative + decentralized + continual learning. Those topics are on the critical path to building better AIs. Interested? submit a paper and join us in Singapore! sites.google.com/corp/view/mc...

View full thread

Those are the topics we are interested, and we would love to see what's your hot takes on this. Submit a paper, either short and sweet (2 pages) or longer (6 pages). See our call for paper here sites.google.com/corp/view/mc... The deadline is February 10th 2025!

sites.google.comMCDC@ICLR25 - Call for PapersSubmission link: https://openreview.net/group?id=ICLR.cc/2025/Workshop/MCDC Questions can be directed to: mcdc-workshop@googlegroups.com Key Dates All deadlines are 23:59 AoE (Anywhere on Earth) P...
View full thread
View full thread
View full thread