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

优化自监督学习中的噪声:从重要性抽样到噪声对比估计

Optimizing the Noise in Self-Supervised Learning: from Importance Sampling to Noise-Contrastive Estimation

University of Helsinki(赫尔辛基大学);Université Paris-Saclay(巴黎萨克雷大学);Inria(法国国家信息与自动化研究所);CEA(法国原子能和替代能源委员会)

Omar Chehab, Alexandre Gramfort, Aapo Hyvarinen

摘要:

自监督学习是一种越来越受欢迎的无监督学习方法,实现了最先进的结果。一种流行的方法是在分类任务中对比数据点和噪声点:这需要一个良好的噪声分布,而噪声分布是出了名的难以指定。虽然缺乏全面的理论,但人们普遍认为,最佳噪声分布在实践中应该等于数据分布,就像生成对抗网络(GANs)一样。我们在这里从经验和理论上挑战这一假设。我们转向噪声对比估计(NCE),它将这种自我监督任务作为基于能量的数据模型的估计问题。这将噪声分布的最优性与估计器的样本效率联系起来,样本效率被严格定义为其渐近方差或均方误差。在特殊的情况下,只有归一化常数是未知的,我们表明,NCE恢复家庭的重要性抽样估计的最佳噪声确实是等于数据分布。然而,在能量也是未知的一般情况下,我们证明了最佳的噪声密度是数据密度乘以基于Fisher得分的校正项。特别地,最优噪声分布不同于数据分布,并且甚至来自不同的族。然而,我们清醒地得出结论,最佳噪声可能很难从中采样,并且与选择等于数据的噪声分布相比,效率的增益可能是适度的。

英文摘要:

Self-supervised learning is an increasingly popular approach to unsupervised learning, achieving state-of-the-art results. A prevalent approach consists in contrasting data points and noise points within a classification task: this requires a good noise distribution which is notoriously hard to specify. While a comprehensive theory is missing, it is widely assumed that the optimal noise distribution should in practice be made equal to the data distribution, as in Generative Adversarial Networks (GANs). We here empirically and theoretically challenge this assumption. We turn to Noise-Contrastive Estimation (NCE) which grounds this self-supervised task as an estimation problem of an energy-based model of the data. This ties the optimality of the noise distribution to the sample efficiency of the estimator, which is rigorously defined as its asymptotic variance, or mean-squared error. In the special case where the normalization constant only is unknown, we show that NCE recovers a family of Importance Sampling estimators for which the optimal noise is indeed equal to the data distribution. However, in the general case where the energy is also unknown, we prove that the optimal noise density is the data density multiplied by a correction term based on the Fisher score. In particular, the optimal noise distribution is different from the data distribution, and is even from a different family. Nevertheless, we soberly conclude that the optimal noise may be hard to sample from, and the gain in efficiency can be modest compared to choosing the noise distribution equal to the data's.

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

↑