Improving Training Stability for Multitask Ranking Models in Recommender Systems
About
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. 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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Commonsense Reasoning | WinoGrande | Accuracy54.85 | 776 | |
| Boolean Question Answering | BoolQ | Accuracy57.46 | 307 | |
| Question Answering | ARC-E | Accuracy47.69 | 242 | |
| Multitask Language Understanding | MMLU | Accuracy25.36 | 206 | |
| Science Question Answering | SciQ | Normalized Accuracy73.4 | 44 | |
| Physical Commonsense Reasoning | PIQA | Accuracy72.74 | 41 | |
| Question Answering | OpenBookQA | Normalized Accuracy32.4 | 35 | |
| Commonsense Reasoning | HellaSwag | HellaSwag Score53.34 | 27 | |
| Question Answering | ARC-C | Accuracy (Normalized)27.73 | 11 | |
| Natural Language Understanding and Reasoning | Standard Downstream Benchmarks Two-Shot (val) | ARC-E Accuracy (Normalized)52.86 | 11 |