← Latest papers
💬 NLP

\infty-MoE: Generalizing Mixture of Experts to Infinite Experts

The paper proposes \infty-MoE, a novel architecture that generalizes Mixture of Experts to an infinite space by selecting continuous portions of large feed-forward network parameters per token, thereby enabling effective training with a massive number of experts while achieving performance comparable to much larger dense models and offering a flexible accuracy-speed trade-off.

Original authors: Shota Takashiro, Takeshi Kojima, Shohei Taniguchi, Yusuke Iwasawa, Yutaka Matsuo

Published 2026-01-27
📖 5 min read🧠 Deep dive

Original authors: Shota Takashiro, Takeshi Kojima, Shohei Taniguchi, Yusuke Iwasawa, Yutaka Matsuo

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 running a massive, high-tech library where every book represents a piece of knowledge. In a traditional library (a standard AI model), you have a few very large, general-purpose librarians. When you ask a question, every librarian tries to answer it, and their answers are blended together. This is accurate but slow and expensive because you're paying all of them to work on every single question.

To fix this, researchers invented the Mixture of Experts (MoE). Instead of having everyone work, you have a "Head Librarian" (called a router) who looks at your question and picks just two specific librarians to answer it. This is much faster and cheaper. However, there's a catch: in this traditional setup, you have to decide exactly how many librarians to hire (say, 16 or 100). If you hire too many, the Head Librarian gets confused about who to pick, and training the whole system becomes a nightmare. It's like trying to manage a team of 1,000 people when you can only talk to two at a time; it's hard to keep everyone in sync.

The New Idea: ∞-MoE (Infinite Mixture of Experts)

The authors of this paper, from the University of Tokyo, asked a bold question: What if we didn't have a fixed number of librarians at all? What if we had an infinite number of them?

They call their new system ∞-MoE. Here is how it works, using a simple analogy:

1. The Continuous "Expert Space"

Instead of having Librarian #1, Librarian #2, and Librarian #3 sitting in a row, imagine the librarians are spread out across an infinite, continuous map.

  • In the old system, you had to pick specific points on a map (like "Librarian at coordinate 5").
  • In the new system, the Head Librarian draws a cloud on the map for every question you ask. This cloud represents a range of experts that might be helpful.

2. Sampling Instead of Picking

When you ask a question, the Head Librarian doesn't just pick two specific people. Instead, they take a "snapshot" (a sample) from that cloud.

  • They might pick a point at coordinate 5.2.
  • They might pick a point at coordinate 5.3.
  • Because the map is continuous, every single time they take a snapshot, they get a unique expert that has never existed before.

3. The "Mask" (Turning Neurons On and Off)

How do you have infinite experts without building infinite computers? The secret is in the mask.
Think of the AI's brain as a giant grid of lightbulbs (neurons).

  • In a standard AI, all the lightbulbs are on.
  • In the old MoE, the router turns on a specific block of lightbulbs for Expert #1 and a different block for Expert #2.
  • In ∞-MoE, the "sample" (the coordinate on the map) acts like a stencil. The system takes the giant grid of lightbulbs and uses the stencil to turn only the top 25% of the brightest bulbs on for that specific question.
  • Because the stencil is based on a continuous number, every question gets a slightly different pattern of lightbulbs turned on. It's like having a unique, custom-made tool for every single sentence you type, but you only build the tool out of parts you already have.

Why is this a big deal?

The paper tested this on two models (GPT-2 Small and Medium) and found some impressive results:

  1. Better Performance with Less "Active" Brain:
    The ∞-MoE model with 129 million active parameters (the parts actually working) performed just as well as a standard, dense model with 350 million parameters. It's like getting the intelligence of a giant brain while only using the energy of a small one.

  2. Flexibility:
    In the old MoE, if you wanted to go faster, you had to retrain the whole model. In ∞-MoE, you can just change the number of "samples" (snapshots) you take at the moment you ask a question.

    • Need speed? Take fewer samples (fewer experts).
    • Need maximum accuracy? Take more samples.
    • The paper shows you can get a 2.5% accuracy boost over standard MoE just by tweaking this setting, without changing the model itself.
  3. Stability:
    One of the biggest problems with adding more experts to old systems is that they become unstable and hard to train. Because ∞-MoE treats experts as a smooth, continuous space rather than a jumpy list of separate people, the training stays stable even as the "number" of experts grows toward infinity.

The Catch (Limitations)

The authors are honest about what they haven't solved yet:

  • Scaling Up: They tested this on medium-sized models. They aren't 100% sure how it will behave on the massive models used by companies today (like GPT-4 scale), though they expect it to work.
  • Hardware Speed: While the math says it should be fast, the actual computer code is tricky. Because the "lightbulbs" turned on change for every single word, it's hard for standard computer chips to process them all at once efficiently. They had to write special code to make it run fast, and there is still room for improvement.

Summary

∞-MoE is like upgrading from a fixed team of specialists to a shape-shifting, infinite team. Instead of hiring 100 specific people, you have a magical machine that can instantly create a unique, perfect specialist for every single question you ask, using only a fraction of the computer power. It allows AI to be smarter and more flexible without getting bogged down by the cost of having a massive, static brain.

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 →