arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.05749cs.CVcs.LG
收藏

零样本模型的高效通用鲁棒微调

Efficient and Versatile Robust Fine-Tuning of Zero-shot Models

POSTECH(浦项科技大学);Korea University(高丽大学)

Sungyeon Kim, Boseung Jeong, Donghyun Kim, Suha Kwak

AI总结:

针对零样本模型微调存在的OOD泛化下降、计算成本高的问题,提出R-Adapter方法,结合轻量模块、自集成技术与MPM-NCE损失,仅微调13%的CLIP参数就在多任务上取得SOTA,拓展了鲁棒微调的应用场景。

摘要:

大规模图文预训练模型可实现零样本分类,并在各类数据分布上提供稳定的准确率。然而,在下游任务中优化这些模型通常需要微调,这会降低对分布外(OOD)数据的泛化能力,且需要大量计算资源。我们提出鲁棒适配器(R-Adapter),这是一种将零样本模型微调到下游任务的新方法,可同时解决上述两个问题。该方法将轻量级模块集成到预训练模型中,并采用新型自集成技术提升OOD鲁棒性,同时大幅降低存储开销。此外,我们提出了专为视觉语言下游任务微调设计的MPM-NCE损失,可确保多组图文对的精准对齐与判别性特征学习。通过将鲁棒微调基准从分类拓展至跨模态检索、开放词汇分割等多样任务,我们验证了R-Adapter的广泛适用性。大量实验表明,仅微调CLIP编码器13%的参数,R-Adapter就在多种任务上取得了当前最优性能。

英文摘要:

Large-scale image-text pre-trained models enable zero-shot classification and provide consistent accuracy across various data distributions. Nonetheless, optimizing these models in downstream tasks typically requires fine-tuning, which reduces generalization to out-of-distribution (OOD) data and demands extensive computational resources. We introduce Robust Adapter (R-Adapter), a novel method for fine-tuning zero-shot models to downstream tasks while simultaneously addressing both these issues. Our method integrates lightweight modules into the pre-trained model and employs novel self-ensemble techniques to boost OOD robustness and reduce storage expenses substantially. Furthermore, we propose MPM-NCE loss designed for fine-tuning on vision-language downstream tasks. It ensures precise alignment of multiple image-text pairs and discriminative feature learning. By extending the benchmark for robust fine-tuning beyond classification to include diverse tasks such as cross-modal retrieval and open vocabulary segmentation, we demonstrate the broad applicability of R-Adapter. Our extensive experiments demonstrate that R-Adapter achieves state-of-the-art performance across a diverse set of tasks, tuning only 13% of the parameters of the CLIP encoders.

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

↑