Life in the Singularity

Life in the Singularity

Google's Breakthroughs in AI Design

Mixture of Depths Meets Mixture of Experts

Matt McDonagh's avatar
Matt McDonagh
Apr 06, 2024
∙ Paid

Think about how traditional language models work.

They gobble up sentences word-by-word, crunching through complex calculations on each word equally. But let's be honest, not every word deserves the VIP treatment. Some are keys to the whole conversation, others are filler.

This seems wasteful.

…and expensive!

On April 2, 2024 Google DeepMind released their Mixture of Depths (MoD) design to solve for this.

Mixture of Depths is like hiring a super-efficient manager for your language model. This manager has a fixed budget of computational resources to spend.

They get to decide which words in a sentence are worth the heavy investment and which can get by with a lighter touch. MoD allows the model to dynamically change this resource allocation throughout its layers.

Life in the Singularity is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.

Share

Share Life in the Singularity

The Secret Weapon: Top-k Routing

LLMs rely on a concept called attention to process info…

User's avatar

Continue reading this post for free, courtesy of Matt McDonagh.

Or purchase a paid subscription.
© 2026 Matt McDonagh · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture