arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.07187stat.MLcs.CLcs.LG
收藏

基于Gramian估计的超大规模语料库训练

Efficient Training on Very Large Corpora via Gramian Estimation

Google Research(谷歌研究院)

Walid Krichene, Nicolas Mayoraz, Steffen Rendle, Li Zhang, Xinyang Yi, Lichan Hong, Ed Chi, John Anderson

摘要:

我们研究了使用神经网络嵌入模型在非常大的语料库上学习相似性函数的问题。这些模型通常使用SGD进行训练,对随机观察到的和未观察到的对进行采样,样本数量随语料库大小二次增长,因此扩展到非常大的语料库非常昂贵。我们提出了新的有效的方法来训练这些模型,而不必采样未观察到的对。受矩阵分解的启发,我们的方法依赖于添加一个全局二次惩罚的所有对的例子,并表示为两个广义Gramian的矩阵内积这个术语。我们表明,这一项的梯度可以有效地计算保持估计的Gramian,并开发方差减少计划,以提高质量的估计。我们进行了大规模的实验,显示出显着改善的训练时间和泛化质量相比,传统的采样方法。

英文摘要:

We study the problem of learning similarity functions over very large corpora using neural network embedding models. These models are typically trained using SGD with sampling of random observed and unobserved pairs, with a number of samples that grows quadratically with the corpus size, making it expensive to scale to very large corpora. We propose new efficient methods to train these models without having to sample unobserved pairs. Inspired by matrix factorization, our approach relies on adding a global quadratic penalty to all pairs of examples and expressing this term as the matrix-inner-product of two generalized Gramians. We show that the gradient of this term can be efficiently computed by maintaining estimates of the Gramians, and develop variance reduction schemes to improve the quality of the estimates. We conduct large-scale experiments that show a significant improvement in training time and generalization quality compared to traditional sampling methods.

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

↑