← Latest papers
💬 NLP

Dense vs Sparse Pretraining at Tiny Scale: Active-Parameter vs Total-Parameter Matching

In a tiny-scale pretraining regime under 25M parameters, Mixture-of-Experts models outperform dense baselines when matched by active parameters but fail to surpass them when matched by total parameter capacity.

Original authors: Abdalrahman Wael

Published 2026-05-14
📖 5 min read🧠 Deep dive

Original authors: Abdalrahman Wael

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a small robot to tell stories. You have a limited amount of "brain power" (computing resources) to spend on this project. The paper asks a simple question: Is it better to give the robot one big, powerful brain, or a collection of smaller, specialized brains that it can switch between?

This is the difference between a Dense model (one big brain) and a Mixture-of-Experts (MoE) model (many small experts).

Here is what the researcher, Abdalrahman Wael, discovered by running these experiments on a single computer chip with a tiny dataset called "TinyStories."

The Two Ways to Compare "Fairly"

The tricky part is deciding what "fair" means when comparing these two types of brains. The paper tests two different definitions of fairness, like two different ways of judging a race:

1. The "Active" Match (The "What You Use" Rule)
Imagine you have a team of 4 chefs (the MoE model). For every dish they cook, they only let 2 chefs actually work, while the other 2 rest.

  • The Fairness Test: We compare this team to a single chef (the Dense model) who works just as hard as the two active chefs in the team.
  • The Result: The team of 4 chefs (MoE) wins easily. Even though they only use half their staff at any moment, having that extra "backup" staff available allows them to learn better and tell better stories than the single chef working alone.
  • The Analogy: It's like having a toolbox with 10 tools but only using 2 at a time. If you compare you to someone who only owns 2 tools, you will do a better job because you have the option to grab the perfect tool for the specific job, even if you don't use all 10 every second.

2. The "Total" Match (The "What You Own" Rule)
Now, let's change the rules. We compare the team of 4 chefs (MoE) to a single chef (Dense) who has a brain the size of all four chefs combined.

  • The Fairness Test: We give the single chef the exact same total amount of "brain storage" as the whole team.
  • The Result: The single chef (Dense) wins, but only by a tiny, tiny margin. The team of chefs is still very good, but the single giant brain is slightly better at the very end of the training.
  • The Analogy: If you give the single chef a massive library of books (total storage) equal to the combined libraries of the 4 chefs, that single chef can read and memorize everything. The team of chefs has the same total library, but they have to split it up. In this specific tiny test, the one person with the whole library wins slightly.

The Big Discovery

The paper's main point is that how you define "fair" changes the winner.

  • If you care about efficiency (how much work is done per second), the MoE (Team of Experts) is the clear winner. It learns faster and better when you compare it to a model doing the same amount of active work.
  • If you care about total storage capacity (how much data the model can hold in its memory), the Dense (Single Giant) model is still slightly better, though the gap is very small.

How They Fixed the "Team"

The researcher also found that you can't just throw a team of experts together and expect them to work.

  • The Problem: At first, the experts were lazy. They all tried to do the same work, or one expert took all the jobs while the others did nothing. This is called "collapsing."
  • The Fix: The researcher added a "manager" (a routing system) who forced the experts to share the work evenly.
    • Top-1 vs. Top-2: Letting the manager pick just one expert wasn't enough. Letting the manager pick the top 2 experts for every task was the secret sauce that made the team work well.
    • The "Z-Loss": This was a small tweak to the manager's rules to keep the experts from getting too excited or too bored. It helped stability but wasn't the main reason for the success.

The Bottom Line

In this tiny, controlled experiment (using a small dataset and a single computer):

  1. MoE models are powerful if you judge them by how much work they actually do per second. They outperform dense models of the same active size.
  2. Dense models are still slightly stronger if you judge them by the total amount of memory they hold, but the gap is closing as they train longer.
  3. Stability matters: You need good "management" (balancing and routing) to make the experts work together; otherwise, the system breaks.

The paper concludes that conditional computation (switching between experts) is useful even at very small scales, provided you compare it fairly against the right baseline. It doesn't prove that MoE is the ultimate future for all AI, but it shows that the "team of experts" approach works surprisingly well when the rules are set up correctly.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →