Skip to main content
QUICK REVIEW

[논문 리뷰] Learning to Compose Soft Prompts for Compositional Zero-Shot Learning

Nihal V. Nayak, Peilin Yu|arXiv (Cornell University)|2022. 04. 07.
Domain Adaptation and Few-Shot LearningComputer Science인용 수 41
한 줄 요약

우리는 구성 가능한 소프트 프롬프트(CSP)를 도입합니다. 이는 속성 및 객체 어휘 토큰을 학습하여 CLIP 기반 구성 제로샷 학습을 향상시키며, 표준 벤치마크에서 CLIP 및 CoOp 대비 상당한 이점을 달성합니다.

ABSTRACT

We introduce compositional soft prompting (CSP), a parameter-efficient learning technique to improve the zero-shot compositionality of large-scale pretrained vision-language models (VLMs) like CLIP. We develop CSP for compositional zero-shot learning, the task of predicting unseen attribute-object compositions (e.g., old cat and young tiger). VLMs have a flexible text encoder that can represent arbitrary classes as natural language prompts but they often underperform task-specific architectures on the compositional zero-shot benchmark datasets. CSP treats the attributes and objects that define classes as learnable tokens of vocabulary. During training, the vocabulary is tuned to recognize classes that compose tokens in multiple ways (e.g., old cat and white cat). At test time, we recompose the learned attribute-object vocabulary in new combinations to recognize novel classes. We show that CSP outperforms the CLIP on benchmark datasets by an average of 10.9 percentage points on AUC. CSP also outperforms CoOp, a soft prompting method that fine-tunes the prefix context tokens, by an average of 5.8 percentage points on AUC. We perform additional experiments to show that CSP improves generalization to higher-order attribute-attribute-object compositions (e.g., old white cat) and combinations of pretrained attributes and fine-tuned objects. The code is available at https://github.com/BatsResearch/csp.

연구 동기 및 목표

  • 비전-언어 모델의 제로샷 구성 능력을 속성-객체 개념을 적응 가능한 어휘 토큰으로 학습하여 개선합니다.
  • 테스트 시 unseen 클래스 조합에 대해 학습된 속성-객체 프롬프트를 재구성 가능하게 만듭니다.
  • 전체 모델 미세조정이 아닌 작은 어휘 토큰 집합만 조정함으로써 매개변수 효율성을 유지합니다.

제안 방법

  • 속성과 객체를 VLM 어휘에서 학습 가능한 토큰으로 취급합니다.
  • 사전학습된 CLIP 임베딩으로 토큰을 초기화하고 여러 속성-객체 프롬프트에서 이를 학습합니다.
  • "A photo of [attribute] [object]" 형태의 프롬프트를 고정 접두사 맥락과 학습 가능한 토큰으로 구성합니다.
  • VLM 임베딩 공간에서 코사인 유사도를 통해 이미지-텍스트 상호작용을 계산하고 교차 엔트로피 손실로 최적화합니다.
  • 추론 시 학습된 속성/객체 어휘를 재구성하여 새로운 조합을 인식합니다.
  • 매개변수 공간을 작게 유지합니다: (|A|+|O|) × d 만 학습합니다.

실험 결과

연구 질문

  • RQ1클립 기반 모델에서 구성 가능한 속성 및 객체 토큰 학습이 제로샷 구성성을 향상시킬 수 있습니까?
  • RQ2 CSP가 더 높은 차수의 구성 및 사전학습/미세조정된 어휘의 일반화에 얼마나 잘 작용합니까?
  • RQ3표준 데이터셋에서 CSP와 CLIP 및 소프트 프롬프트베이스라인 간의 상대적 이점은 무엇입니까?
  • RQ4속성-객체 구성으로의 학습이 속성-속성-객체 및 보지 못한 속성 시나리오에 일반화됩니까?

주요 결과

  • CSP는 세 벤치마크에서 CLS 기반의 CLIP 대비 평균 AUC 정확도를 폐쇄형 세계 설정에서 10.9 포인트 상승시켰습니다.
  • CSP는 동일 기준에서 CoOp 대비 평균 AUC 정확도를 5.8 포인트 상승시켰습니다.
  • 개방형 세계 설정에서 CSP는 MIT-States, UT-Zappos, C-GQA 등에서 뚜렷한 이점을 달성하고 여러 데이터셋에서 종종 작업 특화 아키텍처를 능가합니다.
  • CSP는 더 높은 차수 구성(attribute-attribute-object)으로 일반화되며 CLIP 대비 unseen 정확도가 향상됩니다.
  • 속성-객체 구성으로의 학습은 속성 분류, 속성-속성-객체 및 혼합 어휘 시나리오에서 CLIP의 성능을 향상시킵니다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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