arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1710.09805cs.LGcs.CLstat.ML
收藏

利用自嵌入特征改进负采样的词表示方法

Improving Negative Sampling for Word Representation using Self-embedded Features

University of Glagow(格拉斯哥大学);Shanghai Jiao Tong University(上海交通大学)

Long Chen, Fajie Yuan, Joemon M. Jose, Weinan Zhang

摘要:

虽然基于词流行度的负样本在跳跃语法模型中表现出了卓越的性能,但将流行(未观察到的)词过采样为负样本背后的理论动机仍然没有得到很好的理解。本文首先研究了在没有适当负采样器的情况下skipgram模型的梯度消失问题。通过从随机梯度下降(SGD)学习的角度进行深入的分析,我们证明了,无论是理论上还是直观上,负样本具有较大的内积分数比那些具有较低的分数SGD学习者在收敛速度和准确性方面的信息。理解这一点,我们提出了一种替代的采样算法,在每次SGD更新期间动态选择信息负样本。更重要的是,所提出的采样器在采样过程中考虑了多维自嵌入特征,这本质上使其比原始的基于流行度的(一维)采样器更有效。实验进一步验证了我们的观察,并表明,我们的细粒度采样器获得显着改善现有的,而不增加计算复杂性。

英文摘要:

Although the word-popularity based negative sampler has shown superb performance in the skip-gram model, the theoretical motivation behind oversampling popular (non-observed) words as negative samples is still not well understood. In this paper, we start from an investigation of the gradient vanishing issue in the skipgram model without a proper negative sampler. By performing an insightful analysis from the stochastic gradient descent (SGD) learning perspective, we demonstrate that, both theoretically and intuitively, negative samples with larger inner product scores are more informative than those with lower scores for the SGD learner in terms of both convergence rate and accuracy. Understanding this, we propose an alternative sampling algorithm that dynamically selects informative negative samples during each SGD update. More importantly, the proposed sampler accounts for multi-dimensional self-embedded features during the sampling process, which essentially makes it more effective than the original popularity-based (one-dimensional) sampler. Empirical experiments further verify our observations, and show that our fine-grained samplers gain significant improvement over the existing ones without increasing computational complexity.

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

↑