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

基于扩散增强的文本与图像增广测试时自适应方法

Diffusion-Enhanced Test-time Adaptation with Text and Image Augmentation

Institute of High Performance Computing (IHPC), Agency for Science, Technology and Research (A*STAR)(高性能计算研究所(新加坡科技研究局));National University of Singapore(新加坡国立大学);Harbin Institute of Technology(哈尔滨工业大学);Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)(穆罕默德·本·扎耶德人工智能大学);Australian National University(澳大利亚国立大学);Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))

Chun-Mei Feng, Yuanyang He, Jian Zou, Salman Khan, Huan Xiong, Zhen Li, Wangmeng Zuo, Rick Siow Mong Goh, Yong Liu

AI总结:

本文提出IT3A方法,通过预训练生成模型对测试样本进行图文多模态增强,并利用余弦相似度过滤虚假增强,以适配器替代提示调优,在零样本测试时自适应中准确率提升5.50%。

摘要:

现有的测试时提示调优(TPT)方法主要关注单模态数据,通常以增强图像为主,并利用置信度评分来过滤不准确的图像。然而,尽管图像生成模型能够产生视觉上多样化的图像,单模态数据增强技术仍然无法充分捕捉不同模态所提供的全面知识。此外,我们注意到,当增强图像数量有限时,基于TPT的方法性能会显著下降,而由于生成式增强的计算开销较大,这种情况并不少见。为了解决这些问题,我们提出了IT3A,这是一种新颖的测试时自适应方法,利用预训练生成模型对来自未知新领域的每个测试样本进行多模态增强。通过结合来自预训练视觉模型和语言模型的增强数据,我们提升了模型对未知新测试数据的适应能力。此外,为了在生成各种视觉和文本增强时确保关键语义被准确保留,我们在增强图像和文本的logits与原始测试数据之间采用余弦相似度过滤。这一过程使我们能够过滤掉一些虚假增强和不恰当的图文组合。为了充分利用生成模型在不同模态上提供的多样化增强,我们用适配器替换了提示调优,以便更灵活地利用文本模板。我们在具有分布偏移和领域差距的测试数据集上的实验表明,在零样本设置下,IT3A优于最先进的测试时提示调优方法,准确率提升了5.50%。

英文摘要:

Existing test-time prompt tuning (TPT) methods focus on single-modality data, primarily enhancing images and using confidence ratings to filter out inaccurate images. However, while image generation models can produce visually diverse images, single-modality data enhancement techniques still fail to capture the comprehensive knowledge provided by different modalities. Additionally, we note that the performance of TPT-based methods drops significantly when the number of augmented images is limited, which is not unusual given the computational expense of generative augmentation. To address these issues, we introduce IT3A, a novel test-time adaptation method that utilizes a pre-trained generative model for multi-modal augmentation of each test sample from unknown new domains. By combining augmented data from pre-trained vision and language models, we enhance the ability of the model to adapt to unknown new test data. Additionally, to ensure that key semantics are accurately retained when generating various visual and text enhancements, we employ cosine similarity filtering between the logits of the enhanced images and text with the original test data. This process allows us to filter out some spurious augmentation and inadequate combinations. To leverage the diverse enhancements provided by the generation model across different modals, we have replaced prompt tuning with an adapter for greater flexibility in utilizing text templates. Our experiments on the test datasets with distribution shifts and domain gaps show that in a zero-shot setting, IT3A outperforms state-of-the-art test-time prompt tuning methods with a 5.50% increase in accuracy.

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

↑