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.


翻译:暂无翻译

0
下载
关闭预览

相关内容

ACM/IEEE第23届模型驱动工程语言和系统国际会议,是模型驱动软件和系统工程的首要会议系列,由ACM-SIGSOFT和IEEE-TCSE支持组织。自1998年以来,模型涵盖了建模的各个方面,从语言和方法到工具和应用程序。模特的参加者来自不同的背景,包括研究人员、学者、工程师和工业专业人士。MODELS 2019是一个论坛,参与者可以围绕建模和模型驱动的软件和系统交流前沿研究成果和创新实践经验。今年的版本将为建模社区提供进一步推进建模基础的机会,并在网络物理系统、嵌入式系统、社会技术系统、云计算、大数据、机器学习、安全、开源等新兴领域提出建模的创新应用以及可持续性。 官网链接:http://www.modelsconference.org/
上海交大最新《多轮对话理解》综述论文,20页pdf
专知会员服务
31+阅读 · 2021年10月12日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
SFFAI分享 | 连政:端到端语音合成【附PPT与视频资料】
人工智能前沿讲习班
14+阅读 · 2019年6月16日
强化学习三篇论文 避免遗忘等
CreateAMind
20+阅读 · 2019年5月24日
近期声学领域前沿论文(No. 3)
深度学习每日摘要
24+阅读 · 2019年3月31日
近期语音类前沿论文
深度学习每日摘要
14+阅读 · 2019年3月17日
总结-空洞卷积(Dilated/Atrous Convolution)
极市平台
41+阅读 · 2019年2月25日
半监督深度学习小结:类协同训练和一致性正则化
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
多轮对话之对话管理:Dialog Management
PaperWeekly
18+阅读 · 2018年1月15日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
19+阅读 · 2012年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
11+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
10+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
6+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
10+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
8+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
17+阅读 · 11月25日
相关VIP内容
上海交大最新《多轮对话理解》综述论文,20页pdf
专知会员服务
31+阅读 · 2021年10月12日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
相关资讯
SFFAI分享 | 连政:端到端语音合成【附PPT与视频资料】
人工智能前沿讲习班
14+阅读 · 2019年6月16日
强化学习三篇论文 避免遗忘等
CreateAMind
20+阅读 · 2019年5月24日
近期声学领域前沿论文(No. 3)
深度学习每日摘要
24+阅读 · 2019年3月31日
近期语音类前沿论文
深度学习每日摘要
14+阅读 · 2019年3月17日
总结-空洞卷积(Dilated/Atrous Convolution)
极市平台
41+阅读 · 2019年2月25日
半监督深度学习小结:类协同训练和一致性正则化
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
多轮对话之对话管理:Dialog Management
PaperWeekly
18+阅读 · 2018年1月15日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
19+阅读 · 2012年12月31日
Top
微信扫码咨询专知VIP会员