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

评估邻近场景中的模型泛化能力

Assessing Model Generalization in Vicinity

Australian National University(澳大利亚国立大学);Baidu(百度)

Yuchi Liu, Yifan Sun, Jingdong Wang, Liang Zheng

AI总结:

本文提出无标签的 VRP 方法,通过融合邻近测试样本响应估计分类模型分布外准确率,并提升平均置信度、有效不变性等指标与真实准确率的相关性。

摘要:

本文评估分类模型在分布外测试集上的泛化能力,且不依赖真实标签。常见方法通常计算与特定模型属性相关的无监督指标,如置信度或不变性,这些指标与分布外准确率相关。然而,这些指标通常针对每个测试样本单独计算,从而可能导致由虚假模型响应引发的问题,例如过高或过低的置信度。为应对这一挑战,我们建议将相邻测试样本的响应纳入每个单独样本的正确性评估。本质上,如果模型对邻近样本持续表现出较高的正确性分数,则其正确预测目标样本的可能性会增加,反之亦然。随后,将所得分数在所有测试样本上取平均,以提供模型准确率的整体指示。该方法在邻近风险公式下开发,名为 vicinal risk proxy(VRP,邻近风险代理),可在不依赖标签的情况下计算准确率。我们表明,将 VRP 方法应用于平均置信度和有效不变性等现有泛化指标时,在方法和实验上均持续优于这些基线。这使其与模型准确率具有更强的相关性,尤其是在具有挑战性的分布外测试集上。

英文摘要:

This paper evaluates the generalization ability of classification models on out-of-distribution test sets without depending on ground truth labels. Common approaches often calculate an unsupervised metric related to a specific model property, like confidence or invariance, which correlates with out-of-distribution accuracy. However, these metrics are typically computed for each test sample individually, leading to potential issues caused by spurious model responses, such as overly high or low confidence. To tackle this challenge, we propose incorporating responses from neighboring test samples into the correctness assessment of each individual sample. In essence, if a model consistently demonstrates high correctness scores for nearby samples, it increases the likelihood of correctly predicting the target sample, and vice versa. The resulting scores are then averaged across all test samples to provide a holistic indication of model accuracy. Developed under the vicinal risk formulation, this approach, named vicinal risk proxy (VRP), computes accuracy without relying on labels. We show that applying the VRP method to existing generalization indicators, such as average confidence and effective invariance, consistently improves over these baselines both methodologically and experimentally. This yields a stronger correlation with model accuracy, especially on challenging out-of-distribution test sets.

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

↑