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

测试时自适应引发更强的准确率一致性与一致性在线趋势

Test-Time Adaptation Induces Stronger Accuracy and Agreement-on-the-Line

Carnegie Mellon University(卡内基梅隆大学);Bosch Center for AI(博世人工智能中心)

Eungyeup Kim, Mingjie Sun, Christina Baek, Aditi Raghunathan, J. Zico Kolter

AI总结:

本文发现测试时自适应(TTA)能显著增强模型在分布外(OOD)数据上的准确率在线(ACL)和一致性在线(AGL)趋势,从而无需OOD标注数据即可高精度估计模型性能并选择最佳超参数与自适应策略。

摘要:

最近,Miller等人(2021)和Baek等人(2022)通过实验证明了分布内(ID)与分布外(OOD)准确率和一致性之间存在强线性相关性。这些趋势被称为准确率在线(ACL)和一致性在线(AGL),它们使得无需标注数据即可进行OOD模型选择和性能估计成为可能。然而,这些现象在某些分布偏移下也会失效,例如CIFAR10-C高斯噪声,这构成了一个关键瓶颈。在本文中,我们有一个关键发现:最近的测试时自适应(TTA)方法不仅提升了OOD性能,而且显著增强了模型中的ACL和AGL趋势,即使在之前模型表现出非常弱相关性的分布偏移下也是如此。为了分析这一点,我们重新审视了Miller等人(2021)提出的理论条件,这些条件概述了线性模型中实现完美ACL所需的分布偏移类型。令人惊讶的是,在将TTA应用于深度模型的倒数第二层特征嵌入空间后,这些条件得到了满足。特别是,TTA使得数据分布将复杂的偏移压缩为在特征空间中可由单一缩放变量表达的偏移。我们的结果表明,通过将TTA与基于AGL的估计方法相结合,我们可以在更广泛的分布偏移集合下高精度地估计模型的OOD性能。这为我们提供了一种简单的系统,无需任何OOD标注数据即可选择最佳超参数和自适应策略。

英文摘要:

Recently, Miller et al. (2021) and Baek et al. (2022) empirically demonstrated strong linear correlations between in-distribution (ID) versus out-of-distribution (OOD) accuracy and agreement. These trends, coined accuracy-on-the-line (ACL) and agreement-on-the-line (AGL), enable OOD model selection and performance estimation without labeled data. However, these phenomena also break for certain shifts, such as CIFAR10-C Gaussian Noise, posing a critical bottleneck. In this paper, we make a key finding that recent test-time adaptation (TTA) methods not only improve OOD performance, but drastically strengthen the ACL and AGL trends in models, even in shifts where models showed very weak correlations before. To analyze this, we revisit the theoretical conditions from Miller et al. (2021) that outline the types of distribution shifts needed for perfect ACL in linear models. Surprisingly, these conditions are satisfied after applying TTA to deep models in the penultimate feature embedding space. In particular, TTA causes the data distribution to collapse complex shifts into those can be expressed by a singular scaling variable in the feature space. Our results show that by combining TTA with AGL-based estimation methods, we can estimate the OOD performance of models with high precision for a broader set of distribution shifts. This lends us a simple system for selecting the best hyperparameters and adaptation strategy without any OOD labeled data.

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

↑