Skip to main content
QUICK REVIEW

[논문 리뷰] Consistency-guided Prompt Learning for Vision-Language Models

Shuvendu Roy, Ali Etemad|arXiv (Cornell University)|2023. 06. 01.
Multimodal Machine Learning ApplicationsComputer Science인용 수 10
한 줄 요약

CoPrompt는 프례프팅과 어댑터를 입력 교란과 함께 사용하여 일관성 가이드형 파인 튜닝 프레임워크를 제시하고, 비전-언어 모델의 소수-shot 성능은 향상시키면서 제로샷 일반화도 보존합니다. 11개 데이터셋에서 기본-노년(zero-shot) 일반화 및 교차 데이터셷/도메인 일반화에 대해 최신 SOTA를 달성합니다.

ABSTRACT

We propose Consistency-guided Prompt learning (CoPrompt), a new fine-tuning method for vision-language models. Our approach improves the generalization of large foundation models when fine-tuned on downstream tasks in a few-shot setting. The basic idea of CoPrompt is to enforce a consistency constraint in the prediction of the trainable and pre-trained models to prevent overfitting on the downstream task. Additionally, we introduce the following two components into our consistency constraint to further boost the performance: enforcing consistency on two perturbed inputs and combining two dominant paradigms of tuning, prompting and adapter. Enforcing consistency on perturbed input serves to further regularize the consistency constraint, thereby improving generalization. Moreover, the integration of adapters and prompts not only enhances performance on downstream tasks but also offers increased tuning flexibility in both input and output spaces. This facilitates more effective adaptation to downstream tasks in a few-shot learning setting. Experiments show that CoPrompt outperforms existing methods on a range of evaluation suites, including base-to-novel generalization, domain generalization, and cross-dataset evaluation. On generalization, CoPrompt improves the state-of-the-art on zero-shot tasks and the overall harmonic mean over 11 datasets. Detailed ablation studies show the effectiveness of each of the components in CoPrompt. We make our code available at https://github.com/ShuvenduRoy/CoPrompt.

연구 동기 및 목표

  • 대규모 비전-언어 기초 모델을 소수-shot 설정에서 파인튜닝할 때 과적합 문제를 다룬다.
  • 텍스트 및 이미지 가지에서 학습 가능한 모델과 프리트레인 모델 간의 일관성을 강화한다.
  • 입력 교란 및 프례프팅-어댑터 프레임워크를 결합하여 일관성 제약을 보강한다.
  • 기저-노년 일반화, 교차 데이터셋 평가 및 도메인 일반화가 이전의 SOTA 방법보다 향상되었음을 보여준다.

제안 방법

  • CLIP를 비전-언어 백본으로 채택하고 멀티모달 프례프팅으로 확장한다.
  • 텍스트 및 이미지 가지의 학습 가능한 임베딩과 프리트레인 임베딩 간의 코사인 기반 일관성 손실을 도입한다.
  • 텍스트 가지에는 GPT로 생성된 서술 텍스트를, 이미지 가지에는 이미지 증강을 사용하는 입력 교란을 적용한다.
  • 일관성 제약을 적용하면서 텍스트와 이미지 가지 모두에 어댑터를 포함시켜 학습 용량을 증가시킨다.
  • 일관성 손실과 감독 손실을 결합하여 최종 목적 함수 L = L_ce + lambda * L_cc를 구성한다.
Figure 1: Comparison between the CoPompt and existing prompting approach.
Figure 1: Comparison between the CoPompt and existing prompting approach.

실험 결과

연구 질문

  • RQ1일관성 가이드형 파인튜닝 접근법이 제로샷 능력을 유지하면서 소수-shot 다운스트림 성능을 향상시킬 수 있는가?
  • RQ2교란 입력에서의 교차모달 일관성을 강제하면 신규 클래스 및 데이터셋 간 일반화가 향상되는가?
  • RQ3일관성 제약하에서 어댑터와 프례프팅을 통합 프레임워크로 추가하는 것이 어떤 영향을 미치는가?
  • RQ4다양한 구성요소(텍스트 vs. 이미지 일관성, 교란, 어댑터)가 overall 성능에 어떻게 기여하는가?

주요 결과

  • CoPrompt는 기반-노년 일반화에서 최첨단을 달성하며, 신규 정확도에서 기존 SOTA 대비 2.09 포인트 향상니다.
  • CoPrompt는 11개 데이터셋에서 MaPLe 대비 하모닉 평균이 1.93 포인트 향상되었습니다.
  • 데이터셋 전체에서 기초 정확도에서 이전 방법을 능가하고 신규 정확도는 유지되거나 향상되어 기저-노년 간의 trade-off를 완화합니다.
  • CoPrompt는 교차 데이터셋 및 도메인 일반화가 강하며 EuroSAT 및 DTD와 같은 데이터셋에서 특히 큰 개선을 보입니다.
  • 어블레이션 연구를 통해 어댑터, 입력 교란, 그리고 일관성 제약이 각각 성능에 기여하며, 텍스트 일관성이 두드러진 영향과 코사인 거리가 유효한 기준임이 나타났습니다.
Figure 2: Performance comparison on base-to-novel generalization.
Figure 2: Performance comparison on base-to-novel generalization.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.