NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MultiBalance: Multi-Objective Gradient Balancing in Industrial-Scale Multi-Task Recommendation System

Yun He, Xuxing Chen, Jiayi Xu, Renqin Cai, Yiling You, Jennifer Cao, Minhui Huang, Liu Yang, Yiqun Liu, Xiaoyi Liu, Rong Jin, Sem Park, Bo Long, Xue FengarXiv 2024

Abstract

In industrial recommendation systems, multi-task learning (MTL) is a predominant approach to save training/serving resources and improve recommendation performance via knowledge transfer between joint learning tasks. However, MTL often suffers from negative transfer, where one or several tasks are less optimized than when trained separately. To address this, we propose MultiBalance, a gradient balancing approach suitable for industrial-scale systems. MultiBalance balances per-task gradients at the shared feature representation layer to alleviate negative transfer while avoiding the high cost of grid searches for task weights. Compared to prior work that balances gradients across all shared parameters, MultiBalance is significantly more efficient. Experiments on Meta's large-scale ads and feeds systems show MultiBalance achieves up to a 0.738% improvement in normalized entropy (NE) with negligible training cost (neutral QPS), whereas prior methods suffer 70–80% QPS degradation.

Introduction

Industrial recommendation systems typically employ Multi-Task Learning (MTL) to predict diverse user actions, such as clicks, likes, or purchases, within a single model. While MTL offers efficiency and potential knowledge transfer, it frequently encounters "negative transfer"—a phenomenon where tasks compete for model capacity, leading to suboptimal performance for some objectives.

Multi-Objective Optimization (MOO) algorithms have been proposed to balance these competing gradients. However, these methods are often impractical for industrial scales. They typically require $M$ backward passes for $M$ tasks to compute per-task gradients for every parameter. In models with billions of parameters, this "M-Backward" problem leads to a catastrophic drop in training throughput (Queries Per Second, or QPS).

The Scalability Challenge

The primary bottleneck in scaling MOO to industrial systems lies in the architecture of modern recommendation models. These models are dominated by massive embedding tables (categorical feature modules) that house billions of parameters.

Table 1: Parameter distribution across different recommendation models. Categorical modules account for over 90% of total parameters.

As shown in the table above, the vast majority of parameters reside in categorical modules. Performing gradient balancing across these billions of parameters for every task is computationally prohibitive. Furthermore, the stochastic nature of mini-batch training introduces noise that can destabilize standard MOO algorithms.

The MultiBalance Framework

MultiBalance addresses these challenges through two primary innovations: representation-level balancing and magnitude stabilization.

1. Balancing at the Representation Layer

Instead of balancing gradients for every parameter, MultiBalance focuses on the shared feature representation. This is the dense vector produced by the shared bottom layers before it branches into task-specific heads.

The MultiBalance architecture showing data flow in the forward pass (left) and gradient flow in the backward pass (right).

In the forward pass, the shared representation is copied $M$ times. In the backward pass, MultiBalance computes the optimal task weights based on the gradients of these relatively small representation vectors. This approach reduces the complexity from the total number of parameters to the dimension of the representation layer (typically $10^3$), allowing the model to maintain high training throughput.

2. Magnitude Stabilization

To combat stochastic instability, MultiBalance utilizes a moving average of gradient magnitudes for each task. By rescaling gradients based on these averages before calculating weights, the system prevents noisy updates from any single task from dominating the optimization process.

Experimental Results

The researchers evaluated MultiBalance on Meta’s production Ads and Feeds ranking systems.

  • Efficiency: MultiBalance demonstrated exceptional efficiency, with only a 0.42% QPS drop. In contrast, traditional MOO methods like MGDA and MoCo resulted in a 70–80% degradation in training speed.
  • Performance: On the Feeds B model, MultiBalance achieved a 0.738% improvement in Normalized Entropy (NE). In the Ads system, it provided a 0.091% NE gain for the critical Conversion Rate (CVR) task while maintaining a superior Pareto balance across other objectives compared to heuristics like Uncertainty Weighting or PCGrad.

Conclusion

MultiBalance provides a practical, high-efficiency solution for gradient balancing in billion-parameter recommendation systems. By shifting the optimization focus to the shared representation layer, it achieves the performance benefits of Pareto-optimal balancing without the prohibitive computational costs of traditional MOO methods. This makes it a viable framework for real-world, industrial-scale multi-task learning.

Summary updated

BibTeX
@misc{he2024multibalance,
  author = {Yun He and Xuxing Chen and Jiayi Xu and Renqin Cai and Yiling You and Jennifer Cao and Minhui Huang and Liu Yang and Yiqun Liu and Xiaoyi Liu and Rong Jin and Sem Park and Bo Long and Xue Feng},
  title = {{MultiBalance: Multi-Objective Gradient Balancing in Industrial-Scale Multi-Task Recommendation System}},
  year = {2024},
  eprint = {2411.11871},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.11871},
}
Figure