arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.19647cs.LGcs.AIstat.ML
收藏

CAdam:基于置信度的在线学习优化方法

CAdam: Confidence-Based Optimization for Online Learning

Institute for Interdisciplinary Information Sciences (IIIS), Tsinghua University(清华大学交叉信息研究院);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系);Tencent TEG(腾讯科技(探索)院);East China Normal University(华东师范大学)

Shaowen Wang, Anan Liu, Jian Xiao, Huan Liu, Yuekui Yang, Cong Xu, Qianqian Pu, Suncong Zheng, Wei Zhang, Di Wang, Jie Jiang, Jian Li

AI总结:

CAdam 通过评估动量与梯度的一致性来决定是否更新参数,以区分分布偏移与噪声,从而提升在线学习在分布变化和噪声环境下的适应速度与模型性能。

摘要:

现代推荐系统经常采用在线学习,以利用新收集的数据动态更新模型。在这些场景中,更新神经网络最常用的优化器是 Adam 优化器,它结合了动量($m_t$)和自适应学习率($v_t$)。然而,在线学习数据具有易变性,其特点是频繁的分布偏移和噪声的存在,这对 Adam 的标准优化过程构成了重大挑战:(1)Adam 可能使用过时的动量和梯度平方的平均值,导致对分布变化的适应变慢;(2)Adam 的性能会受到数据噪声的不利影响。为了缓解这些问题,我们提出了 CAdam,一种基于置信度的优化策略,它在决定更新之前评估每个参数维度上动量与梯度之间的一致性。如果动量和梯度同步,CAdam 按照 Adam 的原始公式进行参数更新;如果不同步,则暂时停止更新,并在后续迭代中监测数据分布的潜在变化。该方法使 CAdam 能够区分真实的分布偏移和单纯的噪声,并更快地适应新的数据分布。在各种存在分布偏移或噪声的设置中,我们的实验表明,CAdam 优于其他知名优化器,包括原始 Adam。此外,在真实推荐系统中的大规模 A/B 测试中,与 Adam 相比,CAdam 显著提升了模型性能,使系统的商品交易总额(GMV)大幅增加。

英文摘要:

Modern recommendation systems frequently employ online learning to dynamically update their models with freshly collected data. The most commonly used optimizer for updating neural networks in these contexts is the Adam optimizer, which integrates momentum ($m_t$) and adaptive learning rate ($v_t$). However, the volatile nature of online learning data, characterized by its frequent distribution shifts and presence of noise, poses significant challenges to Adam's standard optimization process: (1) Adam may use outdated momentum and the average of squared gradients, resulting in slower adaptation to distribution changes, and (2) Adam's performance is adversely affected by data noise. To mitigate these issues, we introduce CAdam, a confidence-based optimization strategy that assesses the consistency between the momentum and the gradient for each parameter dimension before deciding on updates. If momentum and gradient are in sync, CAdam proceeds with parameter updates according to Adam's original formulation; if not, it temporarily withholds updates and monitors potential shifts in data distribution in subsequent iterations. This method allows CAdam to distinguish between the true distributional shifts and mere noise, and to adapt more quickly to new data distributions. In various settings with distribution shift or noise, our experiments demonstrate that CAdam surpasses other well-known optimizers, including the original Adam. Furthermore, in large-scale A/B testing within a live recommendation system, CAdam significantly enhances model performance compared to Adam, leading to substantial increases in the system's gross merchandise volume (GMV).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑