# Poster 27777

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

> 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.

Hi, I'm Nicholas Munichoff and I'm presenting Omoe, open mixture of experts language models. This was joint work with many amazing collaborators listed here and beyond.
OMOE is the first fully open mixture of experts language model. In this table, we're comparing a bunch of previous MOEs with OMOE across openness. How open are they in releasing the model, data, code, and so on. And OMOE is the most open. Everything is open source, including 244 intermediate checkpoints to enable research such as investigating when during training is the model acquiring certain knowledge and other things.
At the same time, OMOE is a best-in-class MOE. Here, we're measuring performance on MMLU, which is a common benchmark for language models, versus the cost to run this model, measured in billion active parameters, which is how many parameters of the model are active when a certain input is fed through it.
And Omoi lies right on the efficiency frontier. With only 1.3 billion active parameters, it provides the best MLOU performance at that cost. We trained Omoi on 4 trillion tokens for 1 .3 epochs. And here are some of the sources that we used, like Datacomp, Doma, and others.
After training, our base model performs pretty well. Here we're comparing with a bunch of other models in three distinct groups based on their cost in active parameters. Homo is in the lowest group with just more or less 1 billion active parameters and it is the best model in this group. It is even competitive with some models in the second group with pretty strong helo swag performance, for example.
We ran a lot of different training experiments to arrive at our final configuration. They include better initialization, changes to layer normalization, specifically we use RMS norm rather than a non -parametric layer normalization. And the plot on the left depicts the impact of this change on total gradient norm. So how large are the gradients?
during that propagation during training. And if we don't use RMSNorm but non-parametric, then there's a lot of spikes and training is very unstable. But once we switch to RMSNorm, it's very smooth at the bottom. Similarly, we added query key normalization, QK norm, and in the plot on the right, we show that this simple change also reduced spikes in the model by removing some of the drops and led to slightly better performance.
Another one is adding an auxiliary load balancing loss. Here we compare no load balancing versus load balancing. And what's happening is that if there's no load balancing, then only a few experts get used. We measure here on the y-axis percentage of tokens assigned to certain experts during training and it's essentially only the pink and yellow experts that are being used. While with load balancing on the right side, the assignment is roughly equal among experts.
And similarly, we use fine-grained experts, which just means that we use many small experts rather than a few large experts. The intuition here is that this allows for more combinations and flexibility in the model how to route inputs. After training, we analyze specialization in the model, and we find that there's quite a lot of it. Here, we're looking at which tokens from certain...
Domains get routed to which experts and there's some experts that are really active for some domains seen in the bars that are sometimes very large and sometimes very small.
If we go one step deeper and look at one of those bars, what are the tokens? Here, we're looking at this yellow bar and some of the tokens are grandmother, daughter, wife, which all seem to be like family terms. So it seems like this expert is heavily specialized on family words and thus it also activates a lot for the books domain because these probably appear a lot in books.
Since the original release of OmoE in September 2024, we released a better model in January 2025 with improvements across the board both for the base and the instruct model. We also released an OmoE app.
that you can download on the App Store. And the key distinction here is that unlike ChatGPT and other apps, this one runs fully offline. So you download the model and it runs privately offline on your model without any data on your phone without any data being sent to the cloud. And it's pretty fast with more than 110 tokens per second. Finally, thanks to many amazing partners and teammates. And thanks to you for listening. Momo is fully open source. Feel free to check out our resources.
