稀疏交叉编码器用于比较MoE和密集模型
Sparse Crosscoders for diffing MoEs and Dense models
AI总结:
本文通过交叉编码器比较MoE和密集模型的内部表示,发现MoE学习更专门的特征,而密集模型则分布更广泛的信息。
摘要:
混合专家(MoE)通过稀疏专家路由实现参数高效扩展,但其内部表示相比密集模型仍理解不足。我们通过交叉编码器(稀疏自编码器的一种变体)系统比较MoE和密集模型的内部结构,该编码器联合建模多个激活空间。我们在代码、科学文本和英文故事上跨10亿个token训练5层密集模型和MoE(参数量相等)。使用BatchTopK交叉编码器并明确指定共享特征,我们实现了约87%的方差解释率,并揭示了特征组织的具体差异。MoE学习的唯一特征显著少于密集模型。MoE特定特征的激活密度高于共享特征,而密集模型特定特征的密度较低。我们的分析表明,MoE发展出更专门、聚焦的表示,而密集模型则将信息分布到更广泛、通用的特征上。
英文摘要:
Mixture of Experts (MoE) achieve parameter-efficient scaling through sparse expert routing, yet their internal representations remain poorly understood compared to dense models. We present a systematic comparison of MoE and dense model internals using crosscoders, a variant of sparse autoencoders, that jointly models multiple activation spaces. We train 5-layer dense and MoEs (equal active parameters) on 1B tokens across code, scientific text, and english stories. Using BatchTopK crosscoders with explicitly designated shared features, we achieve $\sim 87\%$ fractional variance explained and uncover concrete differences in feature organization. The MoE learns significantly fewer unique features compared to the dense model. MoE-specific features also exhibit higher activation density than shared features, whereas dense-specific features show lower density. Our analysis reveals that MoEs develop more specialized, focused representations while dense models distribute information across broader, more general-purpose features.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。