对比线性化拉普拉斯:损失几何、有效修复与可靠核心
Contrastive Linearized Laplace: Loss Geometry, Valid Repairs, and Reliable Cores
AI总结:
本文针对对比学习无法提供可靠逐点不确定性估计的问题,提出基于线性化拉普拉斯近似的事后框架,通过半正定修复获得有效局部高斯近似,在宏基因组分箱和图像分类任务上实现了性能与校准度的提升。
摘要:
对比学习被广泛用于学习确定性表示,但它本身并不提供不确定性估计。事后不确定性估计方法,如线性化拉普拉斯近似(LLA),提供了一种无需重新训练编码器即可量化不确定性的方法。然而,我们发现直接使用LLA在对比嵌入上诱导的分布无法为下游任务提供可靠的逐点不确定性估计:仅嵌入方差无法反映最近邻检索或聚类分配等决策是否稳定。为解决这一局限,我们开发了一种基于LLA的事后框架,该框架将编码器的不确定性传播至下游任务。我们刻画了对比目标的曲率,并在需要时引入半正定修复,以获得有效的局部高斯近似,且无需重新训练编码器。我们在宏基因组分箱和图像分类任务中测试了所提方法。对于宏基因组分箱,后验共分配概率支持共识分区和可靠核心的选择,相较于现有基线取得了改进;额外的图像分类实验显示,在标准基准和真实组织病理学数据集上,校准度得到了提升。
英文摘要:
While contrastive learning is widely used to learn deterministic representations, it does not inherently provide estimates of uncertainty. Post-hoc uncertainty estimation methods, such as the Linearized Laplace approximation (LLA), offer a way to quantify uncertainty without retraining the encoder. However, we show that directly using the LLA induced distribution over the contrastive embedding does not yield reliable pointwise uncertainty estimates for downstream tasks: embedding variance alone does not reflect whether decisions such as nearest-neighbor retrieval or cluster assignment are stable. To address this limitation, we develop a post-hoc framework based on LLA that propagates encoder uncertainty through the downstream task. We characterize the curvature of contrastive objectives and introduce positive-semidefinite repairs where needed to obtain valid local Gaussian approximations without retraining the encoder. We test the proposed approach in metagenomic binning and image classification tasks. For metagenomic binning, posterior coassignment probabilities support consensus partitions and the selection of reliable cores, leading to improvements over existing baselines. Additional image classification experiments show calibration improvements on standard benchmarks and real histopathology datasets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。