Great Models Think Alike: 利用模型间潜空间一致性提升模型可靠性
Great Models Think Alike: Improving Model Reliability via Inter-Model Latent Agreement
AI总结:
针对深度学习模型过度自信导致可靠性不足的问题,提出通过衡量目标模型与基础模型潜空间的邻域一致性评估可靠性,并以事后方式融合该一致性至预测置信度,经理论与多场景实验验证有效提升模型可靠性。
摘要:
机器学习的可靠应用对深度学习方法的实际部署至关重要。一个核心挑战是模型常因过度自信而不可靠。本文通过衡量目标模型的潜空间与基础模型(foundation model)潜空间之间的一致性来评估模型可靠性。但由于两个潜空间存在不一致性(如任意旋转、维度不同),直接衡量一致性难度较大。为解决该问题,我们设计了潜空间间的邻域一致性度量指标,且发现该一致性与模型预测的可靠性具有出人意料的强相关性。进一步地,我们证明以事后(post-hoc)方式将邻域一致性融入模型预测置信度,可显著提升其可靠性。理论分析与在多数据集上开展的故障检测广泛实验,验证了该方法在分布内和分布外场景下均有效。
英文摘要:
Reliable application of machine learning is of primary importance to the practical deployment of deep learning methods. A fundamental challenge is that models are often unreliable due to overconfidence. In this paper, we estimate a model's reliability by measuring \emph{the agreement between its latent space, and the latent space of a foundation model}. However, it is challenging to measure the agreement between two different latent spaces due to their incoherence, \eg, arbitrary rotations and different dimensionality. To overcome this incoherence issue, we design a \emph{neighborhood agreement measure} between latent spaces and find that this agreement is surprisingly well-correlated with the reliability of a model's predictions. Further, we show that fusing neighborhood agreement into a model's predictive confidence in a post-hoc way significantly improves its reliability. Theoretical analysis and extensive experiments on failure detection across various datasets verify the effectiveness of our method on both in-distribution and out-of-distribution settings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。