arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.04844cs.LGmath.OC
收藏

频率感知的SGD用于具有可证明益处的高效嵌入学习

Frequency-aware SGD for Efficient Embedding Learning with Provable Benefits

Georgia Institute of Technology(佐治亚理工学院);Facebook

Yan Li, Dhruv Choudhary, Xiaohan Wei, Baichuan Yuan, Bhargav Bhushanam, Tuo Zhao, Guanghui Lan

摘要:

嵌入式学习在推荐系统和自然语言建模等领域有着广泛的应用。为了有效地学习质量嵌入,自适应学习率算法已经证明了优于SGD的经验性能,这主要归功于它们依赖于令牌的学习率。然而,令牌依赖的学习率的效率的潜在机制仍然未被探索。我们表明,将频率信息的令牌嵌入学习问题导致可证明有效的算法,并证明常见的自适应算法隐式利用的频率信息在很大程度上。具体来说,我们提出了(基于计数器的)频率感知的随机梯度下降,它为每个令牌应用依赖于频率的学习率,并且当令牌分布不平衡时,与SGD相比,表现出可证明的加速。经验上,我们表明,所提出的算法能够改善或匹配自适应算法的基准推荐任务和大规模的工业推荐系统,缩小SGD和自适应算法之间的性能差距。我们的结果是第一次表明令牌依赖的学习率可证明地提高了非凸嵌入学习问题的收敛性。

英文摘要:

Embedding learning has found widespread applications in recommendation systems and natural language modeling, among other domains. To learn quality embeddings efficiently, adaptive learning rate algorithms have demonstrated superior empirical performance over SGD, largely accredited to their token-dependent learning rate. However, the underlying mechanism for the efficiency of token-dependent learning rate remains underexplored. We show that incorporating frequency information of tokens in the embedding learning problems leads to provably efficient algorithms, and demonstrate that common adaptive algorithms implicitly exploit the frequency information to a large extent. Specifically, we propose (Counter-based) Frequency-aware Stochastic Gradient Descent, which applies a frequency-dependent learning rate for each token, and exhibits provable speed-up compared to SGD when the token distribution is imbalanced. Empirically, we show the proposed algorithms are able to improve or match adaptive algorithms on benchmark recommendation tasks and a large-scale industrial recommendation system, closing the performance gap between SGD and adaptive algorithms. Our results are the first to show token-dependent learning rate provably improves convergence for non-convex embedding learning problems.

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

↑