Black Friday Sale: 20% off Premium yearly · $105.60 for the first year · until Monday, Nov 30Get it

Deep-ML
Learn
ProblemsPractice, projects, collections, and your progressLearning PathA guided route through the fundamentalsLabsInteractive labs on real techniquesProjectsBuild a GPT, an RL agent, CUDA kernelsCollectionsCurated problem sets and videosMathPen-and-paper math for MLIntuitionInvent the idea behind the formula yourselfPlaylistsYour own problem lists, shareableStudy AssistantAn AI teacher that knows your progress
Interview Prep
Compete
ContestsFresh problem sets, ranked liveLeaderboardWhere you stand, globallyBuddiesSolve with a friend: streaks, a weekly board, chat
Discuss
Deep-Path
Premium
      ← back to the problem

      Prerequisite path

      Implement the Noisy Top-K Gating Function

      CodingmediumOpen goal
      Start path
      Whole map

      Dependency network

      FoundationsGoal
      IntuitionMathCoding
      Goal · Coding

      Implement the Noisy Top-K Gating Function

      Open goal

      Needs first 2

      16 nodes · 17 connections

      After this goal

      • Hierarchical Mixture of Experts: Two Levels of Gating
      • Importance Loss: Keep Every Expert in Use
      • Smooth Load: The Chance an Expert Makes the Top k
      • Strictly Balanced Gating: A Batchwise Mask and Its Thresholds
      • Design Your Own MoE Router