Home Tools Glossary Mixture of Depths
Technique

Mixture of Depths

Mixture of Depths (MoD)

/miks-chur ov depths/

An architectural technique that dynamically allocates compute depth to different tokens based on their complexity.

In plain English
While standard models run every single word through every layer of the network, Mixture of Depths acts like an intelligent routing system that sends simple words through fewer layers and complex reasoning words through deep layers.
Real-world example
Optimizing transformer compute efficiency in long-context document generation tasks.
Technical definition
Mixture of Depths (MoD) dynamically allocates computational depth in transformer networks by allowing a router to select which tokens participate in specific self-attention and feed-forward layers. Tokens requiring minimal context bypass deeper layers, while complex tokens traverse full computational stacks. This reduces FLOPs per token and accelerates inference without sacrificing performance.