DeepSeek-V3 and R1 reasoning MoE

Pretrained language models · neural · 2024 · text · code

What it is

671B parameter Mixture-of-Experts (37B active) pairing Multi-Head Latent Attention (MLA) with fine-grained MoE routing, multi-token prediction, and large-scale reinforcement learning (GRPO).

When to use it

Open-weight frontier intelligence, deep mathematical/coding reasoning, and extreme serving throughput via low-rank KV compression.

Caveats

At 671 billion total parameters the full models need multi-GPU servers to run, even though only about 37 billion are active per token. R1's visible reasoning adds many tokens and latency, and the reasoning shown is not guaranteed to reflect how the answer was actually reached.

Key ideas

  • MLA compresses Key-Value cache by 93% compared to standard MHA via low-rank latent projections
  • Auxiliary-loss-free load balancing avoids degrading expert specialization across 256 fine-grained experts
  • Large-scale RL with GRPO unlocks emergent long chain-of-thought self-reflection and verification

Related architectures

Original paper

DeepSeek-V3 Technical Report (2024, arXiv)

Lessons that cover it

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted