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

ROMER:专家替换与路由校准以实现鲁棒的MoE大语言模型在模拟计算-内存系统中的应用

ROMER: Expert Replacement and Router Calibration for Robust MoE LLMs on Analog Compute-in-Memory Systems

The Department of Electrical and Computer Engineering, The University of Hong Kong(香港大学电子与计算机工程系);The School of Integrated Circuit Science and Engineering, Beihang University(北航集成电路科学与工程学院)

Wenyong Zhou, Yuannuo Feng, Yizhe Chen, Taiqiang Wu, Wendong Xu, Wenbo Qi, Zhengwu Liu, Wang Kang, Ngai Wong

AI总结:

ROMER通过专家替换和路由校准缓解模拟计算-内存系统中MoE大语言模型的噪声影响,显著降低困惑度。

摘要:

大型语言模型(LLMs)通过混合专家(MoE)架构稀疏激活专家子集实现显著扩展,但频繁的专家切换导致内存带宽瓶颈,而计算-内存(CIM)架构能有效缓解。然而,模拟CIM系统存在固有硬件缺陷,影响存储权重,其对MoE基LLM在噪声环境中的负面影响尚未研究。本文首次系统研究了在噪声模型校准的实芯片测量下MoE基LLM的表现,发现硬件噪声严重破坏专家负载平衡并使干净训练的路由决策不优。基于此,我们提出ROMER,一种训练后校准框架,通过替换未激活的专家以恢复负载平衡,并通过百分位数归一化重新校准路由logits以稳定路由。在多个基准上的广泛实验表明,ROMER在真实芯片噪声条件下,分别在DeepSeek-MoE、Qwen-MoE和OLMoE上实现了58.6%、58.8%和59.8%的困惑度降低,证明了其在不同MoE架构中的有效性和通用性。

英文摘要:

Large language models (LLMs) with mixture-of-experts (MoE) architectures achieve remarkable scalability by sparsely activating a subset of experts per token, yet their frequent expert switching creates memory bandwidth bottlenecks that compute-in-memory (CIM) architectures are well-suited to mitigate. However, analog CIM systems suffer from inherent hardware imperfections that perturb stored weights, and its negative impact on MoE-based LLMs in noisy CIM environments remains unexplored. In this work, we present the first systematic investigation of MoE-based LLMs under noise model calibrated with real chip measurements, revealing that hardware noise critically disrupts expert load balance and renders clean-trained routing decisions consistently suboptimal. Based on these findings, we propose ROMER, a post-training calibration framework that (1) replaces underactivated experts with high-frequency ones to restore load balance, and (2) recalibrates router logits via percentile-based normalization to stabilize routing under noise. Extensive experiments across multiple benchmarks demonstrate that ROMER achieves up to 58.6\%, 58.8\%, and 59.8\% reduction in perplexity under real-chip noise conditions for DeepSeek-MoE, Qwen-MoE, and OLMoE, respectively, establishing its effectiveness and generalizability across diverse MoE architectures.

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

↑