Improving Training Stability for Multitask Ranking Models in Recommender Systems

Jiaxi Tang, Yoel Drori, Daryl Chang, Maheswaran Sathiamoorthy, Justin Gilmer +4 more
2/17/2023
26 citations
cs.LG

Official code: tensorflow/recommenders (2,038 stars, Python, Apache-2.0, TensorFlow, last commit 2026-01-23). 1 more implementation below.

Abstract

Recommender systems play an important role in many content platforms. While most recommendation research is dedicated to designing better models to improve user experience, we found that research on stabilizing the training for such models is severely under-explored.

Show full abstract

As recommendation models become larger and more sophisticated, they are more susceptible to training instability issues, i.e., loss divergence, which can make the model unusable, waste significant resources and block model developments. In this paper, we share our findings and best practices we learned for improving the training stability of a real-world multitask ranking model for YouTube recommendations. We show some properties of the model that lead to unstable training and conjecture on the causes. Furthermore, based on our observations of training dynamics near the point of training instability, we hypothesize why existing solutions would fail, and propose a new algorithm to mitigate the limitations of existing solutions. Our experiments on YouTube production dataset show the proposed algorithm can significantly improve training stability while not compromising convergence, comparing with several commonly used baseline methods.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
tensorflow/recommendersOfficial2,038PythonApache-2.02026-01-23
ledmaster/clippy-adagradCommunity11PythonMIT2023-10-29
TensorFlowApache-2.0

TensorFlow Recommenders is a library for building recommender system models using TensorFlow.

2,038300Python, ShellJun 26, 202010 months agoApache-2.0
recommenderrecommender-systemtensorflowtensorflow-recommenders
MIT

PyTorch Implementation of Improving Training Stability for Multitask Ranking Models in Recommender Systems

111PythonOct 19, 20233 years agoMIT

Similar Papers

Cite this paper

@article{tang2023improving,
  title  = {Improving Training Stability for Multitask Ranking Models in Recommender Systems},
  author = {Jiaxi Tang and Yoel Drori and Daryl Chang and Maheswaran Sathiamoorthy and Justin Gilmer and Li Wei and Xinyang Yi and Lichan Hong and Ed H. Chi},
  year   = {2023},
  eprint = {2302.09178},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.09178v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.09178.svg)](https://codeofpaper.com/paper/2302.09178)

Discussion