在 WikiText-103 上对比五种路由方案
负载均衡消融
我们在五种路由配置(各两个种子)下训练 2 块、8 专家 Top-1 字节级 GPT(d = 128, \gamma = 1.25)800 步:
spaces: 18.9% of the validation bytes
two runs each loss no drops busiest dropped
initialization 5.63 5.49 5.63 5.49 2.5x 2.8x 22% 20%
no balancing 1.75 1.81 1.70 1.73 3.3x 3.9x 24% 36%
frozen router 1.71 1.72 1.67 1.67 2.8x 2.1x 14% 17%
auxiliary loss 1.59 1.54 1.59 1.54 1.3x 1.2x 0% 0%
bias controller 1.58 1.56 1.57 1.55 1.3x 1.5x 0% 2%
- 无均衡与初始偏斜:
initialization 与 no balancing 都将均匀份额的 2.4\text{--}3.9\times(全部词元的 30\%\text{--}49\%)送往最忙的单个专家,并丢弃 20\%\text{--}36\% 的指派。
- 两种对策均治愈坍缩:
auxiliary loss(\alpha = 0.01)与 bias controller(\eta_b = 0.01)都将最忙专家压在理想份额的 2\times 以下,丢弃率至多几个百分点,并将验证损失降低约 0.1\text{--}0.25\text{ nats/byte}。