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

GDA:面向鲁棒测试时自适应的广义扩散方法

GDA: Generalized Diffusion for Robust Test-time Adaptation

Amazon(亚马逊公司);Columbia University(哥伦比亚大学)

Yun-Yun Tsai, Fu-Chen Chen, Albert Y. C. Chen, Junfeng Yang, Che-Chun Su, Min Sun, Cheng-Hao Kuo

AI总结:

本文提出广义扩散自适应方法GDA,通过边际熵损失与风格内容保持损失迭代引导扩散生成,在不修改模型权重的情况下提升模型对多种分布外样本的测试时自适应能力,并在多个OOD基准上取得最优分类准确率提升。

摘要:

机器学习模型在遇到具有意外分布偏移的分布外(OOD)样本时,泛化能力会受到影响。对于视觉任务,近期研究表明,采用扩散模型的测试时自适应方法能够在不修改模型权重的情况下,通过生成与模型域对齐的新样本,在OOD样本上实现最先进的准确率提升。然而,这些研究主要关注像素级损坏,因此缺乏对更广泛OOD类型的自适应泛化能力。我们提出广义扩散自适应(GDA),这是一种新颖的基于扩散的测试时自适应方法,对多样化的OOD类型具有鲁棒性。具体而言,GDA在反向采样过程中,通过应用由模型导出的边际熵损失,并结合风格与内容保持损失,迭代地引导扩散过程。换句话说,GDA将模型的输出行为与样本的语义信息作为一个整体加以考虑,从而在生成过程中减少下游任务的歧义。在多种流行模型架构和OOD基准上的评估表明,GDA在扩散驱动的自适应方面始终优于先前工作。值得注意的是,它在ImageNet-C上取得了4.4%至5.02%的最高分类准确率提升,在Rendition、Sketch和Stylized基准上取得了2.5%至7.4%的提升。这一性能凸显了GDA对更广泛OOD基准的泛化能力。

英文摘要:

Machine learning models struggle with generalization when encountering out-of-distribution (OOD) samples with unexpected distribution shifts. For vision tasks, recent studies have shown that test-time adaptation employing diffusion models can achieve state-of-the-art accuracy improvements on OOD samples by generating new samples that align with the model's domain without the need to modify the model's weights. Unfortunately, those studies have primarily focused on pixel-level corruptions, thereby lacking the generalization to adapt to a broader range of OOD types. We introduce Generalized Diffusion Adaptation (GDA), a novel diffusion-based test-time adaptation method robust against diverse OOD types. Specifically, GDA iteratively guides the diffusion by applying a marginal entropy loss derived from the model, in conjunction with style and content preservation losses during the reverse sampling process. In other words, GDA considers the model's output behavior with the semantic information of the samples as a whole, which can reduce ambiguity in downstream tasks during the generation process. Evaluation across various popular model architectures and OOD benchmarks shows that GDA consistently outperforms prior work on diffusion-driven adaptation. Notably, it achieves the highest classification accuracy improvements, ranging from 4.4\% to 5.02\% on ImageNet-C and 2.5\% to 7.4\% on Rendition, Sketch, and Stylized benchmarks. This performance highlights GDA's generalization to a broader range of OOD benchmarks.

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

↑