Glossary · AI concepts & terminology
Mixture of experts (MoE)
also: MoE
In short
A model architecture in which only a few specialised subnetworks (experts) are activated per request instead of the whole network. Allows very large models at lower computing cost per answer, because only a fraction of the parameters is used.
Reference: General AI knowledge
What it means
A mixture-of-experts model consists of many subnetworks, the experts, and a router that decides for each token which few experts process it. Shazeer and colleagues showed in 2017 that this makes it possible to build models with very many parameters of which only a small part computes for each input. Fedus and colleagues simplified the method for transformer language models in 2021: in the Switch Transformer each token goes to just one expert. Several well-known language models use this design today.
For model makers, the advantage is that a model can hold a lot of knowledge in many parameters while the computing costs per request are closer to those of a smaller model. The catch lies in memory: all experts have to be available, even if only a few compute. Running such a model locally therefore needs graphics memory for the full number of parameters, even though it computes faster per token than a dense model of the same size.
In practice and in the audit
For most companies the design of a model is secondary as long as it runs in the cloud. It becomes important when you run open-weight models yourself. Then total size and active parameters together determine which hardware you need and how quickly answers arrive. Read the publisher’s information and measure on your own hardware before you buy.
For testing and documentation the design changes little. A mixture-of-experts model is also tested on your tasks (ISO/IEC 42001, A.6.2.4) and documented with version and provenance (A.4.4). For general-purpose AI models, the EU AI Act looks at the computing power used for training: above 10 to the power of 25 floating-point operations, high-impact capabilities are presumed (Article 51(2)). With this design, training compute is lower than the total number of parameters would suggest, because only part of the model computes for each token.
References in standards and law
I cite standards by clause number and in my own words, never verbatim. Legal texts link to EUR-Lex.
- ISO/IEC 42001:2023, A.4.4Documenting tools and models.
- ISO/IEC 42001:2023, A.6.2.4Verification and validation.
- Article 51(2) Regulation (EU) 2024/1689 Presumption of high-impact capabilities based on training compute.
Frequently asked questions
Does a mixture-of-experts model need less graphics memory?
Usually not. It computes faster per token because only a few experts are active, yet all experts have to be held in memory. For local operation, the total number of parameters is what counts.
Related terms
Further reading in the insights
Matching service
Suitable hardware for local AI
Turning AI projects into tested software, with locally run models on hardware that fits the model size.
To AI implementationAuthor: Lars Zimmermann
Term and explanation in my own words. Researched to the best of my knowledge and reviewed for accuracy.
This is my interpretation from practice. For legal advice, please turn to the appropriate professionals.