paper-with-me

홈 › Papers

Contrastive Adapters for Foundation Model Group Robustness

2022-07-14 · Michael Zhang, Christopher Ré

While large pretrained foundation models (FMs) have shown remarkable zero-shot classification robustness to dataset-level distribution shifts, their robustness to subpopulation or group shifts is relatively underexplored. We study this problem, and find that FMs such as CLIP may not be robust to various group shifts. Across 9 robustness benchmarks, zero-shot classification with their embeddings results in gaps of up to 80.7 percentage points (pp) between average and worst-group accuracy. Unfortunately, existing methods to improve robustness require retraining, which can be prohibitively expensive on large foundation models. We also find that efficient ways to improve model inference (e.g., via adapters, lightweight networks with FM embeddings as inputs) do not consistently improve and can sometimes hurt group robustness compared to zero-shot (e.g., increasing the accuracy gap by 50.1 pp on CelebA). We thus develop an adapter training strategy to effectively and efficiently improve FM group robustness. Our motivating observation is that while poor robustness results from groups in the same class being embedded far apart in the foundation model "embedding space," standard adapter training may not bring these points closer together. We thus propose contrastive adapting, which trains adapters with contrastive learning to bring sample embeddings close to both their ground-truth class embeddings and other sample embeddings in the same class. Across the 9 benchmarks, our approach consistently improves group robustness, raising worst-group accuracy by 8.5 to 56.0 pp over zero-shot. Our approach is also efficient, doing so without any FM finetuning and only a fixed set of frozen FM embeddings. On benchmarks such as Waterbirds and CelebA, this leads to worst-group accuracy comparable to state-of-the-art methods that retrain entire models, while only training $\leq$1% of the model parameters.

📄 PDF Abstract BibTeX arXiv:2207.07180

Code (0)

등록된 구현이 없습니다.

Tasks

Contrastive Learningmodelzero-shot-classificationZero-Shot Learning

Methods 이 논문이 사용한 방법론

CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…
Contrastive Learning 설명 없음
Adapter 설명 없음

Similar Papers 제목 키워드 기반

Improving Robustness of Foundation Models in Domain Adaptation with Soup-Adapters

2025-07-08 · Marco Roschkowski arxiv

In this paper, we tackle two fundamental problems in few-shot domain adaptation of foundation models. First, hyperparameter tuning is often impractical due to the lack of large validation datasets. Second, model robustne…

Domain Adaptation

Efficient Test Time Adapter Ensembling for Low-resource Language Varieties

2021-09-10 · Findings (EMNLP) 2021 11 · Xinyi Wang, Yulia Tsvetkov, Sebastian Ruder, Graham Neubig

Adapters are light-weight modules that allow parameter-efficient fine-tuning of pretrained models. Specialized language and task adapters have recently been proposed to facilitate cross-lingual transfer of multilingual p…

Cross-Lingual Transfernamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)+3

Mantis: Lightweight Calibrated Foundation Model for User-Friendly Time Series Classification

2025-02-21 · Vasilii Feofanov, Songkang Wen, Marius Alonso, Romain Ilbert 외

In recent years, there has been increasing interest in developing foundation models for time series data that can generalize across diverse downstream tasks. While numerous forecasting-oriented foundation models have bee…

Contrastive LearningTime SeriesTime Series Classification

How to Enhance Downstream Adversarial Robustness (almost) without Touching the Pre-Trained Foundation Model?

2025-04-15 · Meiqi Liu, Zhuoqun Huang, Yue Xing

With the rise of powerful foundation models, a pre-training-fine-tuning paradigm becomes increasingly popular these days: A foundation model is pre-trained using a huge amount of data from various sources, and then the d…

Adversarial RobustnessContrastive Learning

PeVL: Pose-Enhanced Vision-Language Model for Fine-Grained Human Action Recognition

2024-01-01 · CVPR 2024 1 · Haosong Zhang, Mei Chee Leong, Liyuan Li, Weisi Lin

Recent progress in Vision-Language (VL) foundation models has revealed the great advantages of cross-modality learning. However due to a large gap between vision and text they might not be able to sufficiently utiliz…

Action RecognitionContrastive LearningLanguage ModelingLanguage Modelling+1