首页 > AI前沿 > Distributed MoE Pretraining with DiLoCo: Routing Stability Under Infrequent Synchronization

Distributed MoE Pretraining with DiLoCo: Routing Stability Under Infrequent Synchronization

arXiv机器学习 2026-12-02 13:00 3 阅读 查看原文
用户需要我把纯文本新闻正文排版成语义化的HTML片段,只输出HTML,不要文档级标签,每个自然段落用p包裹,有小节用h2或h3,列表用ul li,重要句子用strong,保留所有信息不增删改。 先看原文,首先开头是一个大段落,讲训练大模型的通信限制,DiLoCo,MoE适配的问题,然后是他们的实验设置,然后四个发现。首先,开头的实验背景和设置可以作为一个段落?不对,原文的结构:第一句到"averaging might upset load balance and expert roles."是背景,然后接下来是"We pretrain..."是实验设置,然后"Four findings stand out."引出四个发现。 首先,第一个p标签放背景部分:从"Training a large model..."到"averaging might upset load balance and expert roles.",这里有没有需要加strong的?比如重要的名词?比如"Low-communication methods"或者"Mixture-of-Experts (MoE) models"?可以适当加strong,比如把"Mixture-of-Experts (MoE) models"加strong? 然后第二个p标签放实验部分:"We pretrain a small MoE language model... (35 runs in all).",这里可以加strong在"78M parameters, 17M active per token"或者"35 runs in all"? 然后接下来"Four findings stand out."可以作为一个段落,或者直接引出列表?不对,原文的四个发现是(1)到(4),所以可以用h3来划分小节?比如h3为"Key Findings"?不对,原文是"Four findings stand out.",然后是四个点。那可以这样: 第一个p:背景 第二个p:实验设置 第三个p:Four findings stand out. 然后用ul li来列四个发现?不对,原文的四个发现是带编号的,每个是完整的句子,所以可以用ul li,每个li里放对应的内容,重要的地方加strong,比如"extra cost an MoE pays under DiLoCo"、"Routers stay aligned"、"The real danger"、"Fixes aimed at the router"这些可以加strong? 等下,原文的四个发现: (1) The extra cost an MoE pays under DiLoCo beyond a dense model is small (0.02-0.03 in validation loss), does not grow with the sync interval, and holds across seeds, balancing methods, and outer learning rates. (2) Routers stay aligned: late in training, workers choose the same experts 94-97% of the time, and averaging keeps load balance and expert specialization intact. (3) The real danger is letting the MoE layers sync less often than the shared layers. Though experts hold about 72% of parameters, this raises validation loss by up to 0.95 over syncing everything together, and does worse than syncing everything less often while sending more data. (4) Fixes aimed at the router (syncing it more often, weighting experts by token counts, or changing how the balancing bias is merged) make no measurable difference. 然后最后一句:"The practical rule is simple: keep the MoE layers in lockstep with the shared layers, and save bandwidth by syncing everything less often."作为最后一个p。 现在调整: 首先第一个

:Training a large model across many machines is often limited by how much those machines can talk to each other. Low-communication methods such as DiLoCo let each worker train on its own for many steps and only then average what the workers have learned. Mixture-of-Experts (MoE) models look like a risky fit for this: each token visits only a few experts, so workers might drift apart in which experts they use, and averaging might upset load balance and expert roles. 第二个

:We pretrain a small MoE language model (78M parameters, 17M active per token) on FineWeb-Edu with DiLoCo-style data parallelism across 2 or 4 workers, sync intervals of 16 to 256 steps, two load-balancing methods, and several sync splits across the router, MoE layers, and shared layers, compared against a dense model of the same active size (35 runs in all). 第三个

:Four findings stand out. 然后

    :
  • (1) The extra cost an MoE pays under DiLoCo beyond a dense model is small (0.02-0.03 in validation loss), does not grow with the sync interval, and holds across seeds, balancing methods, and outer learning rates.
  • (2) Routers stay aligned: late in training, workers choose the same experts 94-97% of the time, and averaging keeps load balance and expert specialization intact.
  • (3) The real danger is letting the MoE layers sync less often than the shared layers. Though experts hold about 72% of parameters, this raises validation loss by up to 0.95 over syncing everything together, and does worse than syncing everything less often while sending more data.
  • (4) Fixes aimed at the router (syncing it more often, weighting experts by token counts, or changing how the balancing bias is merged) make no measurable difference.
然后最后一个

:The practical rule is simple: keep the MoE layers in lockstep with the shared layers, and save bandwidth by syncing everything less often. 检查有没有增删改内容,确保所有信息都保留了。没有引用、代码,所以不用blockquote和pre code。有没有需要h2或h3?原文有没有小节?原文没有明确的小节标题,但四个发现可以加个小标题吗?比如h3为"Research Findings"?不过用户说长文用h2/h3划分小节,这里四个发现是一个部分,可以加h3吗?比如: 在第三个p之后,加

Key Findings

?不过原文是"Four findings stand out.",所以可以调整: 把"Four findings stand out."作为h3?不对,h3是标题,应该用标题格式。比如:

Research Findings

Four findings stand out.

然后列表?不过这样会不会多余?或者直接把"Four findings stand out."放在h3里?比如

Four Findings Stand Out

,但用户要求不得增删改内容,所以不能改原文的措辞。哦对,规则4是保留原文所有信息,不得增删改内容,所以不能自己加标题,除非原文有。原文没有小节标题,所以可能不需要h2/h3?那四个发现用列表,前面用p放"Four findings stand out."。 等下,再看原文,有没有可以划分的小节?原文分为背景、实验、发现、结论,所以可以用h2吗?比如:

Background

...

Experimental Setup

...

Findings

Four findings stand out.

    ...

Practical Rule

...

但用户说不得增删改内容,这些标题是我加的,属于增改,所以不行。哦对,规则4是不能增删改,所以不能自己加小节标题,除非原文有。原文没有小节标题,所以不需要h2/h3,除非原文有划分。那原文的结构是段落+四个发现+结论,所以不需要h2/h3,因为原文没有小节标题。 那调整:

Training a large model across many machines is often limited by how much those machines can talk to each other. Low-communication methods such as DiLoCo let each worker train on its own for many steps and only then average what the workers have learned. Mixture-of-Experts (MoE) models look like a risky fit for this: each token visits only a few experts, so workers might drift apart in which experts they use, and averaging might upset load balance and expert roles.

We pretrain a small MoE language model (78M parameters, 17M active per token) on FineWeb-Edu with DiLoCo-style data parallelism across 2 or 4 workers, sync intervals of 16 to 256 steps, two load-balancing methods, and several sync splits across the router, MoE layers, and shared layers, compared against a