Skip to main content
QUICK REVIEW

[논문 리뷰] Transferring Pre-trained Multimodal Representations with Cross-modal Similarity Matching

Byoungjip Kim, Sungik Choi|arXiv (Cornell University)|2023. 01. 07.
Multimodal Machine Learning ApplicationsComputer Science인용 수 3
한 줄 요약

이 논문은 대규모 사전 훈련된 시각-언어 모델(CLIP-ViT)의 시각적 표현을 작은 학생 네트워크(예: ResNet-18)로 전이하기 위해 교차 모odal 유사도 매칭(CSM)과 맥락 기반 프롬프트 증강(CPA)을 사용하는 BeamCLIP을 제안한다. BeamCLIP는 ImageNet-1K에서 66.2%의 top-1 선형 프로브 정확도를 달성하여, 시각 전용 자기지도 학습(예: SimCLR: 51.8%, SwAV: 63.7%)을 뛰어넘고, 지도 학습 성능(69.8%)에 가까워진다.

ABSTRACT

Despite surprising performance on zero-shot transfer, pre-training a large-scale multimodal model is often prohibitive as it requires a huge amount of data and computing resources. In this paper, we propose a method (BeamCLIP) that can effectively transfer the representations of a large pre-trained multimodal model (CLIP-ViT) into a small target model (e.g., ResNet-18). For unsupervised transfer, we introduce cross-modal similarity matching (CSM) that enables a student model to learn the representations of a teacher model by matching the relative similarity distribution across text prompt embeddings. To better encode the text prompts, we design context-based prompt augmentation (CPA) that can alleviate the lexical ambiguity of input text prompts. Our experiments show that unsupervised representation transfer of a pre-trained vision-language model enables a small ResNet-18 to achieve a better ImageNet-1K top-1 linear probe accuracy (66.2%) than vision-only self-supervised learning (SSL) methods (e.g., SimCLR: 51.8%, SwAV: 63.7%), while closing the gap with supervised learning (69.8%).

연구 동기 및 목표

  • 원본 훈련 데이터에 접근할 수 없음에도 불구하고, 대규모 사전 훈련된 시각-언어 모델(예: CLIP-ViT)에서 작은 실용적 학생 네트워크로 효과적인 지식 전이를 가능하게 하기 위해.
  • 교수 모델의 임bedding 공간에서 정렬을 악화시킬 수 있는 텍스트 프롬프트의 어휘 모호성 문제를 해결하기 위해.
  • 대규모 사전 훈련된 모델에서 rich한 다중 모odal 표현을 전이하여, 작은 모델의 제로샷 및 선형 프로브 성능을 향상시키기 위해.
  • 재훈련 없이도 고품질의 시각적 표현을 효율적으로 전이할 수 있는 확장 가능하고 데이터 효율적인 방법을 개발하기 위해.

제안 방법

  • 교차 모달 유사도 매칭(CSM)은 교수 모델(CLIP-ViT)이 학습한 이미지 및 텍스트 임베딩 간의 상대적인 각도 유사도 분포를 유지하도록 학생 모델을 훈련시키며, 원본 쌍화된 데이터가 필요하지 않다.
  • 맥락 기반 프롬프트 증강(CPA)은 맥락 정보를 통합함으로써 텍스트 프롬프트 인코딩을 향상시키고, 어휘 모호성을 감소시키며 임베딩 공간 내의 의미 정렬을 향상시킨다.
  • 학생 네트워크(예: ResNet-18 또는 ResNet-50)는 교수 모델의 출력과 유사도 분포를 매칭하는 조건부 교차 엔트로피 손실을 사용하여 대비 학습을 수행한다.
  • 이 방법은 교수-학생 지식 전이 프레임워크를 사용하며, 학생 모델이 여러 텍스트 프롬프트를 통해 교수 모델의 이미지-텍스트 임베딩의 상대적 유사도 구조를 모방하도록 한다.
  • 이 방법은 비지도 학습이며, 타겟 데이터셋 레이블에 대한 미세조정이 필요 없으며, 사전 훈련된 교수 모델의 표현 구조에만 의존한다.
  • 이 방법은 CIFAR-10, CIFAR-100, Flowers102, ImageNet-1K 등 다양한 데이터셋에서 평가되어, 다양한 프롬프트 조건 하에서도 강건성을 입증한다.
Figure 1: ImageNet-1K top-1 linear probe accuracy on ResNet-18 representations. By transferring CLIP-ViT [ 32 ] vision-language representations to ResNet-18, the BeamCLIP can learn better visual representations than vision-only self-supervised learning (SSL) methods in terms of the linear probe accu
Figure 1: ImageNet-1K top-1 linear probe accuracy on ResNet-18 representations. By transferring CLIP-ViT [ 32 ] vision-language representations to ResNet-18, the BeamCLIP can learn better visual representations than vision-only self-supervised learning (SSL) methods in terms of the linear probe accu

실험 결과

연구 질문

  • RQ1큰 사전 훈련된 시각-언어 모델인 CLIP-ViT에서 표현을 전이함으로써, 작은 학생 모델이 ImageNet-1K에서 더 높은 선형 프로브 정확도를 달성할 수 있는가?
  • RQ2원본 훈련 데이터에 접근할 수 없음에도 불구하고, 교차 모달 유사도 매칭(CSM)이 교수 모델의 상대적 유사도 구조를 학생 모델로 효과적으로 전이할 수 있는가?
  • RQ3맥락 기반 프롬프트 증강(CPA)이 전이 과정에서 텍스트 임베딩의 정렬성과 강건성을 얼마나 향상시키는가?
  • RQ4SimCLR 및 SwAV와 같은 시각 전용 자기지도 학습(SSL) 방법과 비교해 BeamCLIP의 전이 성능는 어떠한가?
  • RQ5BeamCLIP는 클래스 이름이 일치하지 않거나 무작위로 추출된 이름을 사용하는 데이터셋으로 일반화 가능한가? 이러한 조건 하에서의 성능는 어떠한가?

주요 결과

  • BeamCLIP는 ResNet-18를 사용하여 ImageNet-1K에서 66.2%의 top-1 선형 프로브 정확도를 달성하였으며, 비지도 설정에서 SimCLR(51.8%)와 SwAV(63.7%)를 모두 뛰어넘었다.
  • 이 방법은 자기지도 학습과 지도 학습 간의 성능 격차의 90% 이상를 메워내며, 지도 학습 모델의 69.8% 정확도에 가까워졌다.
  • 맥락 기반 프롬프트 증강(CPA)을 적용한 BeamCLIP는 Flowers102에서 75.86%의 top-1 정확도를 달성하여, 새로운 프롬프트 조건 하에서도 강력한 제로샷 일반화 성능를 보였다.
  • 텍스트 프롬프트가 타겟 데이터셋의 클래스 이름과 일치하지 않거나 무작위로 추출된 경우에도 BeamCLIP는 높은 성능를 유지하여 프롬프트 불일치에 대한 강건성을 입증하였다.
  • 정성적 결과에서는 BeamCLIP-RN50가 CLIP-RN50보다 훨씬 더 적은 오류 매칭을 보이며, 이미지-텍스트 검색 정확도를 크게 향상시켰다.
  • 제거 실험 결과, CSM와 CPA 모두 필수적인 구성 요소임을 확인하였으며, CSM는 핵심적인 유사도 전이를 담당하고, CPA는 프롬프트 품질과 정렬을 향상시킨다.
Figure 2: Overview of the BeamCLIP. Representation transfer can be viewed as a task in which, given a query input, a student model learns to regress a vector representation of a teacher model. The BeamCLIP first measures the normalized cross-modal similarity of the query image compared to anchor tex
Figure 2: Overview of the BeamCLIP. Representation transfer can be viewed as a task in which, given a query input, a student model learns to regress a vector representation of a teacher model. The BeamCLIP first measures the normalized cross-modal similarity of the query image compared to anchor tex

이 논문 읽기

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

누빈트에서 이 논문 읽기

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