arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.12383cs.LGcs.AI
收藏

对比表示学习的泛化分析

Generalization Analysis for Contrastive Representation Learning

Hong Kong Baptist University(香港浸会大学);Texas A&M University(得克萨斯农工大学);University of Sydney(悉尼大学)

Yunwen Lei, Tianbao Yang, Yiming Ying, Ding-Xuan Zhou

摘要:

最近,对比学习在解决各种机器学习任务方面取得了令人印象深刻的成功。然而,现有的泛化分析是非常有限的,甚至没有意义。特别是,现有的泛化误差界线性依赖于否定示例的数量$k$,而在实践中广泛表明,选择大的$k$是必要的,以保证在下游任务中的对比学习的良好泛化。在本文中,我们为对比学习建立了新的泛化界限,该界限不依赖于$k$,直到对数项。我们的分析使用的经验覆盖数和Rademacher复杂性的结构性结果,利用Lipschitz连续性的损失函数。对于自约束Lipschitz损失函数,我们进一步改善我们的结果,发展乐观的界限,这意味着在低噪声条件下的快速速率。我们将我们的结果应用于深度神经网络的线性表示和非线性表示的学习,对于这两种情况,我们推导出Rademacher复杂性界,以获得改进的泛化界。

英文摘要:

Recently, contrastive learning has found impressive success in advancing the state of the art in solving various machine learning tasks. However, the existing generalization analysis is very limited or even not meaningful. In particular, the existing generalization error bounds depend linearly on the number $k$ of negative examples while it was widely shown in practice that choosing a large $k$ is necessary to guarantee good generalization of contrastive learning in downstream tasks. In this paper, we establish novel generalization bounds for contrastive learning which do not depend on $k$, up to logarithmic terms. Our analysis uses structural results on empirical covering numbers and Rademacher complexities to exploit the Lipschitz continuity of loss functions. For self-bounding Lipschitz loss functions, we further improve our results by developing optimistic bounds which imply fast rates in a low noise condition. We apply our results to learning with both linear representation and nonlinear representation by deep neural networks, for both of which we derive Rademacher complexity bounds to get improved generalization bounds.

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

↑