HoME: Hierarchy of Multi-Gate Experts for Multi-Task Learning at Kuaishou
Xu Wang, Jiangxia Cao, Zhiyi Fu, Kun Gai, Guorui Zhou
TL;DR
HoME addresses practical instabilities in industrial multi-task MoE models by introducing Expert Normalization, Hierarchy Mask, and Gate mechanisms to balance and leverage a large set of shared and task-specific experts. The approach yields stable training, improved offline metrics, and meaningful online gains across Kuaishou's short-video services, enabling deployment at a scale of hundreds of millions of users. This work demonstrates that careful architectural design and gating strategies can significantly enhance multi-task MoE performance in real-world recommender systems. The practical impact is a more reliable, efficient multi-task MoE framework capable of handling dense and sparse tasks without collapsing or degrading specialized experts.
Abstract
In this paper, we present the practical problems and the lessons learned at short-video services from Kuaishou. In industry, a widely-used multi-task framework is the Mixture-of-Experts (MoE) paradigm, which always introduces some shared and specific experts for each task and then uses gate networks to measure related experts' contributions. Although the MoE achieves remarkable improvements, we still observe three anomalies that seriously affect model performances in our iteration: (1) Expert Collapse: We found that experts' output distributions are significantly different, and some experts have over 90% zero activations with ReLU, making it hard for gate networks to assign fair weights to balance experts. (2) Expert Degradation: Ideally, the shared-expert aims to provide predictive information for all tasks simultaneously. Nevertheless, we find that some shared-experts are occupied by only one task, which indicates that shared-experts lost their ability but degenerated into some specific-experts. (3) Expert Underfitting: In our services, we have dozens of behavior tasks that need to be predicted, but we find that some data-sparse prediction tasks tend to ignore their specific-experts and assign large weights to shared-experts. The reason might be that the shared-experts can perceive more gradient updates and knowledge from dense tasks, while specific-experts easily fall into underfitting due to their sparse behaviors. Motivated by those observations, we propose HoME to achieve a simple, efficient and balanced MoE system for multi-task learning.
