DL
    advanced

    Mixture of Experts (MoE)

    algorithms.live

    Animation

    Architecture

    8
    2

    Statistics

    Tokens Processed
    0/10
    Active Experts
    2/8
    Sparsity
    75%
    Load Balance
    0.00

    Real-world MoE Models:

    • GPT-4: rumored ~8 experts, top-2 routing (unconfirmed by OpenAI)

    • Mixtral 8x7B: 8 experts, 47B total params

    • Switch Transformer: Up to 2048 experts

    INPUT TOKENSGATING NETWORK (Router)EXPERT NETWORKSThequickbrownfoxjumpsoverthelazydog.Router Networksoftmax(W · x)Expert 10Expert 20Expert 30Expert 40Expert 50Expert 60Expert 70Expert 80RoutingSelectedNot selected

    Total or active parameters?

    Sort

    Sort each consequence of a sparse MoE layer.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    Scales with total parameters

    Drop items here

    Scales with active parameters

    Drop items here
    6 pieces left to place

    Test your knowledge

    22 questions
    Question 1 of 22
    Score: 0

    What is the main benefit of Mixture of Experts over dense models?

    Learn these first

    Interview Questions

    Google
    Meta
    Mistral AI
    OpenAI
    Google
    Meta
    Microsoft
    Mistral AI
    Mistral AI
    Google
    Meta
    Anthropic
    OpenAI
    Anthropic
    Google
    GitHub
    Mistral AI
    Meta
    Google
    Microsoft

    Love this visualization?

    Sign up to track your progress, earn achievements, use the AI assistant, and access your personal learning dashboard.

    100% free • No credit card required