arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.05767cs.CL
收藏

多样性是对比学习所需的一切:梯度幅度的谱界

Diversity Is All You Need for Contrastive Learning: Spectral Bounds on Gradient Magnitudes

Department of Computer Science University of Cambridge(计算机科学系剑桥大学)

Peter Ochieng

AI总结:

本文通过谱界分析InfoNCE梯度,提出谱感知批次选择与批内白化,提升对比学习效率,在ImageNet-100上显著加速收敛。

摘要:

我们推导了非渐近谱带,通过对齐度、温度和批次谱来界定平方InfoNCE梯度范数,恢复了1/τ²定律,并在合成数据和ImageNet上紧密跟踪批次平均梯度。使用有效秩R_eff作为各向异性代理,我们设计了谱感知的批次选择方法,包括一个快速的贪心构建器。在ImageNet-100上,Greedy-64在相同精度下将达到67.5% top-1的时间比随机选择缩短15%(比Pool-P3缩短24%);CIFAR-10也显示出类似的提升。批内白化促进各向同性,并将50步梯度方差降低1.37倍,与我们的理论上界相匹配。

英文摘要:

We derive non-asymptotic spectral bands that bound the squared InfoNCE gradient norm via alignment, temperature, and batch spectrum, recovering the \(1/τ^{2}\) law and closely tracking batch-mean gradients on synthetic data and ImageNet. Using effective rank \(R_{\mathrm{eff}}\) as an anisotropy proxy, we design spectrum-aware batch selection, including a fast greedy builder. On ImageNet-100, Greedy-64 cuts time-to-67.5\% top-1 by 15\% vs.\ random (24\% vs.\ Pool--P3) at equal accuracy; CIFAR-10 shows similar gains. In-batch whitening promotes isotropy and reduces 50-step gradient variance by \(1.37\times\), matching our theoretical upper bound.

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

↑