arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.06245cs.CLcs.LG
收藏

噪声对比估计中硬否定的理解

Understanding Hard Negatives in Noise Contrastive Estimation

Rutgers University(罗格斯大学)

Wenzheng Zhang, Karl Stratos

摘要:

反例的选择是噪声对比估计中的一个重要问题。最近的研究发现,硬否定--模型下得分最高的不正确例子--在实践中是有效的,但它们的使用没有正式的理由。我们开发分析工具来了解硬底片的作用。具体来说,我们认为对比损失作为交叉熵损失的梯度的有偏估计,并从理论和经验上表明,设置负分布的模型分布的结果减少偏差。我们还得到了一个一般形式的分数函数,统一了文本检索中使用的各种架构。通过将硬否定与适当的评分函数相结合,我们在具有挑战性的zero-shot实体链接任务上获得了强有力的结果。

英文摘要:

The choice of negative examples is important in noise contrastive estimation. Recent works find that hard negatives -- highest-scoring incorrect examples under the model -- are effective in practice, but they are used without a formal justification. We develop analytical tools to understand the role of hard negatives. Specifically, we view the contrastive loss as a biased estimator of the gradient of the cross-entropy loss, and show both theoretically and empirically that setting the negative distribution to be the model distribution results in bias reduction. We also derive a general form of the score function that unifies various architectures used in text retrieval. By combining hard negatives with appropriate score functions, we obtain strong results on the challenging task of zero-shot entity linking.

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

↑