arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.11093cs.LGcs.CV
收藏

SODA:测试时数据适配器的稳健训练

SODA: Robust Training of Test-Time Data Adaptors

Peking University(北京大学);Hong Kong Baptist University(香港浸会大学);University of Technology Sydney(悉尼科技大学);National University of Defense Technology(国防科技大学)

Zige Wang, Yonggang Zhang, Zhen Fang, Long Lan, Wenjing Yang, Bo Han

AI总结:

针对测试时数据适配中零阶优化导致的性能受限问题,提出SODA方法,利用高置信度伪标签优化适配器并保留低置信度数据信息,显著提升分布偏移下模型性能且无需访问模型参数。

摘要:

将部署到测试分布的模型进行适配可以缓解由分布偏移引起的性能下降。然而,隐私问题可能使得模型参数不可访问。一种有前景的方法是使用零阶优化(ZOO)来训练一个数据适配器,以调整测试数据以适应已部署的模型。然而,使用ZOO训练的数据适配器通常只能带来有限的改进,因为数据适配器可能导致数据特征的潜在损坏。为解决此问题,我们重新审视了ZOO在测试时数据适配中的上下文。我们发现该问题直接源于用于优化数据适配器的梯度估计不可靠,而这本质上是由分配给测试数据的伪标签的不可靠性所致。基于这一观察,我们提出了伪标签稳健数据适配(SODA)以提高数据适配的性能。具体来说,SODA利用高置信度的预测标签作为可靠标签,通过ZOO优化数据适配器以进行标签预测。对于低置信度预测的数据,SODA鼓励适配器保留数据信息以减轻数据损坏。实验结果表明,在无需访问模型参数的情况下,SODA能够显著提升已部署模型在存在分布偏移时的性能。

英文摘要:

Adapting models deployed to test distributions can mitigate the performance degradation caused by distribution shifts. However, privacy concerns may render model parameters inaccessible. One promising approach involves utilizing zeroth-order optimization (ZOO) to train a data adaptor to adapt the test data to fit the deployed models. Nevertheless, the data adaptor trained with ZOO typically brings restricted improvements due to the potential corruption of data features caused by the data adaptor. To address this issue, we revisit ZOO in the context of test-time data adaptation. We find that the issue directly stems from the unreliable estimation of the gradients used to optimize the data adaptor, which is inherently due to the unreliable nature of the pseudo-labels assigned to the test data. Based on this observation, we propose pseudo-label-robust data adaptation (SODA) to improve the performance of data adaptation. Specifically, SODA leverages high-confidence predicted labels as reliable labels to optimize the data adaptor with ZOO for label prediction. For data with low-confidence predictions, SODA encourages the adaptor to preserve data information to mitigate data corruption. Empirical results indicate that SODA can significantly enhance the performance of deployed models in the presence of distribution shifts without requiring access to model parameters.

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

↑