# Poster 28078

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28078

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Large language models (llms) have achieved substantial advancements, primarily attributed to the expansion of training data and a significant increase in model parameters. However, the pursuit of ever larger model sizes incurs prohibitive computational costs.
Therefore the mixture of experts, m o e architecture, which allows for parameter scaling while keeping computational costs manageable, has become a preferred solution.
Vanilla moie methods typically activate a fixed number of feed forward networks for all tokens; in many works each token selects the top two f f n s and aggregates their outputs as the input for the subsequent layer. However, it is evident that not all tokens hold equal significance in language tasks, for example simple tokens such as punctuation marks like "."
Like commas, may only require a single expert ; conversely tokens that poorly align with the existing experts might potentially benefit from bypassing the MOWI layer entirely.
To achieve a flexible mixing mechanism, we introduce three types of zero computation experts: the zero expert, which discards input; the copy expert, which replicates input; and the constant expert, which substitutes input with a trainable vector.
By integrating both vanilla and zero computation experts, m o e plus plus expands the original single mixing mechanism to eight mixing strategies and significantly broadens the range of sub networks. For example, combining an f f n expert with a constant expert is equivalent to adjusting the output of the f f n expert using a trainable vector.
Similarly, the combination of a zero expert with a copy expert allows the input token to bypass the current layer entirely. Besides, since Moe e plus plus contains heterogeneous experts, the design of the router becomes even more critical compared to a vanilla Moe.
To this end, we propose the pathway aware router that considers the pathway taken in the previous layer when selecting the appropriate experts. Specifically, we add the routing scores from the previous layer to the routing scores predicted by the current layer. These gating residuals enable each token to consider its previous pathway when selecting the appropriate experts.
We started with a modest zero point six billion parameters, and scaled up to two billion, and our m o e plus plus consistently outperforms standard m o e models. The zero computation experts add a negligible amount of computational load, therefore, m o e plus plus processes each token with less overhead, and achieves about twice the expert forward throughput compared to a vanilla m o e model of the same size.
which lays a solid foundation for developing advanced and efficient language models. We scaled up MoE plus plus to seven billion parameters and trained it on one trillion tokens from public data sets. The results show that MoE plus plus performs on par with dense models that have two to three times more activation parameters.
Impressively, MoE plus plus even outperforms open MoE eight b slash thirty two e, a larger MoE model trained from scratch on more tokens, all while using only about fifty seven percent of the computational cost.
To explore the average number of f f and expert activations at the token level, we provide the visualization. The results reveal three observations: first, verbs tend to activate a large number of f f and experts; for example, the verb touch activates an average of one point seven seven f f and experts across all layers, approaching the upper limit of two.
This likely occurs because verbs often convey rich semantic information and frequently interact with nouns to form more complex semantic structures. Second, nouns typically activate a moderate number of f f n Experts, with most nouns averaging between one point five and one point seven f f n Expert activations. Finally, simple tokens with little semantic tend to activate a small number of f f n Expert.
Experts, for example, word fragments, such as pair and ather, usually activate fewer than one point five f f n experts; these findings confirm that moe plus plus allows simple tokens to utilize fewer f f n experts, freeing up more f f n experts to focus on challenging tokens. Thanks for your listening.
