arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.13328cs.LG
收藏

DuoRate:面向混合专家(MoE)服务的每专家双速率精度分配

DuoRate: Two-Rate Per-Expert Precision Allocation for Mixture-of-Experts Serving

Huawei Technologies Ltd.(华为技术有限公司)

Mengqi Guo, Zhe Wei, Yuan Yuan, Jiunn Bin Lim, Boyi Pan, Michael Bi Mi

AI总结:

针对MoE服务的存储-读取差距,提出DuoRate实现双速率精度分配,在Qwen3-30B-A3B和GSM8K等基准上,以更低读取量达到或超越高比特格式性能,提升了MoE服务的效率。

摘要:

服务混合专家(MoE)模型时,需为每专家精度支付双重代价:常驻内存占用需覆盖路由器可访问的所有专家,而每批次的解码步骤仅需为选中的专家支付代价。这是同一每专家宽度上的两种不同速率函数,但已发表的每专家MoE分配器仅对前者进行约束,我们将这种差异称为存储-读取差距。在发布的BitsMoE检查点中,每权重2.54比特(bpw)的存储对应7.50 bpw的解码流量。我们提出DuoRate,实现一次存储、按需读取。离线阶段,它存储前缀可读权重流的一个统一层级并生成失真张量;在线阶段,它在无标签情况下分析 workload 的预填充过程,并在解码函数下求解拉格朗日速率-失真分配,路由频率可从每专家决策中消除,求解仅需每专家一次点积和一次二分法。因此,部署时仅需保留单个工件,预填充按存储速率读取,解码按 workload 自身速率读取。在Qwen3-30B-A3B上,DuoRate以2.3 bpw读取时,平均准确率较所有2比特级基线高出6.3至47.0个点;以2.9 bpw读取时,性能与读取量多1.4-1.6 bpw的4比特格式相当。该优势在长解码场景下最为显著:在GSM8K上,DuoRate以2.9 bpw读取时,性能与所有4比特格式相当或更优,仅比BF16低0.25个点;以2.6 bpw读取时,仍与4.5比特NF4和FP4相当或更优。与同格式对照组相比,仅分配一项就相当于0.07-0.11 bpw的读取速率。代码将在论文发表后发布。

英文摘要:

Serving a Mixture-of-Experts (MoE) model pays for expert precision twice: the resident footprint pays for every expert the router can reach, while each batch-one decode step pays only for the experts it selects. These are two different rate functionals over the same per-expert widths, yet published per-expert MoE allocators constrain only the first. We call the difference the store-read gap; in the released BitsMoE checkpoint, 2.54 bits per weight (bpw) of storage become 7.50 bpw of decode traffic. We propose DuoRate, which stores once and reads per workload. Offline, it stores one uniform tier of a prefix-readable weight stream and bakes a distortion tensor. Online, it profiles a workload's own prefill without labels and solves a Lagrangian rate-distortion allocation under the decode functional; routing frequency provably cancels from every per-expert decision, and the solve costs one dot product per expert and a bisection. A deployment therefore keeps a single artifact that prefill reads at the stored rate and decode reads at the workload's own rate. On Qwen3-30B-A3B, DuoRate reading 2.3 bpw exceeds every 2-bit-class baseline by 6.3 to 47.0 points of average accuracy, and at 2.9 bpw it matches 4-bit formats that read 1.4-1.6 bpw more. The advantage is largest under long decoding: on GSM8K, DuoRate at 2.9 bpw matches or exceeds every 4-bit format and trails BF16 by only 0.25 points, and at 2.6 bpw it still matches or exceeds the 4.5-bit NF4 and FP4. Against controls in its own format, the allocation alone is worth 0.07-0.11 bpw of read rate. Code will be released upon publication.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑