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

Sungyeon Kim, Boseung Jeong, Donghyun Kim, Suha Kwak
8/11/2024
cs.CVcs.LG

No official code found. Best implementation: sung-yeon-kim/R-Adapter-ECCV2024 (17 stars, MIT, last commit 2024-10-03).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

Official PyTorch Implementation of Efficient and Versatile Robust Fine-Tuning of Zero-shot Models, ECCV 2024

170PythonSep 30, 20242 years agoMIT

Similar Papers

Cite this paper

@article{kim2024efficient,
  title  = {Efficient and Versatile Robust Fine-Tuning of Zero-shot Models},
  author = {Sungyeon Kim and Boseung Jeong and Donghyun Kim and Suha Kwak},
  year   = {2024},
  eprint = {2408.05749},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.05749v1},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.05749.svg)](https://codeofpaper.com/paper/2408.05749)

Discussion