Introduction
In the landscape of modern recommendation systems, Multi-Task Learning (MTL) has become a standard paradigm. By training a single model to handle multiple objectives simultaneously—such as predicting Click-Through Rate (CTR) and Post-Click Conversion Rate (CTCVR)—developers can leverage shared representations to improve overall performance. However, MTL often suffers from the "seesaw problem," a phenomenon where optimizing for one task inadvertently degrades the performance of another due to conflicting gradients.
Existing research has attempted to mitigate this by balancing task-specific losses or gradients. However, researchers from Huawei have identified a critical oversight in these approaches: they ignore the role of the optimizer. In this paper, we present Parameter Update Balancing (PUB), a novel optimization algorithm that balances the actual parameter updates generated by modern adaptive optimizers like Adam and AdaGrad, rather than just the raw gradients.
The Gradient-Update Gap
The core motivation behind PUB is the observation that in modern deep learning, the gradient is rarely the final change applied to a model's weights. Adaptive optimizers utilize momentum and task-specific learning rates, causing the actual parameter update to deviate significantly from the direction and magnitude of the raw gradient.
If an optimization strategy balances gradients but the optimizer subsequently twists those directions, the resulting training remains unbalanced. PUB addresses this by ensuring that the final updates applied to the model parameters are Pareto optimal across all tasks, effectively solving the "seesaw problem" at the point of application.
The PUB Algorithm
The PUB algorithm treats multi-task optimization as a Pareto optimization problem centered on "utility." The process can be summarized in four key steps:
- Utility Definition: For each task $i$, a utility function is defined to measure how much the total model update $\Delta \theta$ contributes to that specific task's objective.
- Pareto Optimization: The algorithm seeks a set of task weights ($\alpha$) such that the resulting update is Pareto optimal—meaning no task's utility can be increased without decreasing the utility of another.
- Convex Formulation: The authors demonstrate that the optimal balance can be found by solving the matrix equation $D^\top D \alpha = 1/\alpha$, where $D$ represents the matrix of updates for each task.
- Practical Efficiency: To ensure the algorithm is viable for massive industrial models, PUB utilizes a sequential optimization approach (Concave-Convex Procedure). Furthermore, the task weights are recalculated periodically (every 10 to 100 steps) rather than at every iteration, significantly reducing computational overhead.
Experimental Evaluation
The researchers validated PUB across three diverse environments to test its efficacy and generalizability:
- AliExpress Dataset: A large-scale recommendation benchmark. PUB consistently outperformed state-of-the-art (SOTA) methods like MGDA, CAGrad, and NashMTL across four different countries, reliably improving the Average AUC for both CTR and CTCVR tasks.
- NYUv2 Dataset: To test generalizability beyond recommendations, PUB was applied to a computer vision benchmark involving semantic segmentation and depth estimation. It achieved the highest overall performance improvement ($\Delta m\%$), proving its utility in diverse MTL contexts.
- HUAWEI AppGallery: In a real-world online A/B test on a commercial platform with hundreds of millions of users, PUB delivered a +4.06% increase in eCPM (effective cost per mille) and a notable improvement in CTR.
Key Insights
- Compatibility: PUB is "plug-and-play" and can be combined with other Update Manipulation Methods (UMM) like gradient clipping or AdaTask. The research shows that these combinations often yield synergistic improvements.
- Robustness to Scale: Unlike "scale-free" methods such as NashMTL, which may struggle when task losses differ by orders of magnitude, PUB remains robust, making it particularly suitable for industrial recommendation systems where loss scales are often highly imbalanced.
- Computational Throughput: Despite the mathematical complexity of Pareto optimization, PUB's periodic weight searching allows it to maintain high training speeds, achieving up to 67% higher throughput than complex competitors like NashMTL.
Conclusion and Future Work
PUB represents a significant shift in MTL optimization by focusing on the actual parameter updates rather than intermediate gradients. By accounting for the behavior of modern adaptive optimizers, PUB provides a more accurate and effective way to balance conflicting tasks in complex recommendation models.
While the method introduces a minor computational overhead (approximately 16% in tests), its significant gains in revenue metrics and AUC make it a compelling choice for large-scale production environments. Future research will focus on the theoretical convergence of PUB and its interaction with the internal "moments" of optimizers over extended training durations.
Summary updated