Skip to main content
QUICK REVIEW

[논문 리뷰] CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIP

Andreas Fürst, Elisabeth Rumetshofer|arXiv (Cornell University)|2021. 10. 21.
Domain Adaptation and Few-Shot LearningComputer Science참고 문헌 47인용 수 30
한 줄 요약

CLOOB는 CLIP의 대비 목적을 InfoLOOB로 대체하고 현대 Hopfield 네트워크를 사용하여 공분산 구조를 풍부하게 하며, 여러 데이터셋에서 무사전 전달(zero-shot) 전이 성능을 최신 상태로 끌어올립니다.

ABSTRACT

CLIP yielded impressive results on zero-shot transfer learning tasks and is considered as a foundation model like BERT or GPT3. CLIP vision models that have a rich representation are pre-trained using the InfoNCE objective and natural language supervision before they are fine-tuned on particular tasks. Though CLIP excels at zero-shot transfer learning, it suffers from an explaining away problem, that is, it focuses on one or few features, while neglecting other relevant features. This problem is caused by insufficiently extracting the covariance structure in the original multi-modal data. We suggest to use modern Hopfield networks to tackle the problem of explaining away. Their retrieved embeddings have an enriched covariance structure derived from co-occurrences of features in the stored embeddings. However, modern Hopfield networks increase the saturation effect of the InfoNCE objective which hampers learning. We propose to use the InfoLOOB objective to mitigate this saturation effect. We introduce the novel "Contrastive Leave One Out Boost" (CLOOB), which uses modern Hopfield networks for covariance enrichment together with the InfoLOOB objective. In experiments we compare CLOOB to CLIP after pre-training on the Conceptual Captions and the YFCC dataset with respect to their zero-shot transfer learning performance on other datasets. CLOOB consistently outperforms CLIP at zero-shot transfer learning across all considered architectures and datasets.

연구 동기 및 목표

  • CLIP의 설명 회피 문제를 넘어 기능 공분산의 개선된 활용을 동기화합니다.
  • 교차모달 표현을 강화하기 위한 현대 Hopfield 네트워크 기반 공분산 강화 제안.
  • 대조 학습을 위한 비포화(Objective)인 InfoLOOB를 도입합니다.
  • 다양한 데이터셋과 아키텍처에서 CLIP에 비해 제로샷 전이 성능 향상을 입증합니다.

제안 방법

  • 표준 CLIP 스타일 대조 학습을 CLOOB로 대체하여 이미지 및 텍스트 임베딩을 저장하는 두 개의 현대 Hopfield 네트워크를 통해 강화된 임베딩을 검색합니다.
  • 저장된 패턴을 사용한 소프트맥스 기반 주의(attention)로 검색 결과 U_x, U_y, V_x, V_y를 계산합니다( Hopfield 검색).
  • 검색된 앵커에 대한 정렬(정렬) 제약을 적용하고 두 대칭 항목(이미지-텍스트 및 텍스트-이미지)을 활용하여 InfoLOOB 손실에 정규화된 검색 임베딩을 사용합니다.
  • InfoLOOB 손실은 포화 특성이 없는 로그-소프트맥스 비율 형태의 두 항을 계산하여 정렬이 증가할 때도 계속 개선되도록 합니다.
  • InfoLOOB의 비포화 특성에 대한 이론적 근거를 제공하고 이를 정당화합니다.
  • Conceptual Captions 및 YFCC에서 사전학습한 후 일곱 개의 다운스트림 데이터셋에서 제로샷 전이를 평가합니다.

실험 결과

연구 질문

  • RQ1현대 Hopfield 네트워크가 CLIP을 넘어 멀티모달 임베딩의 공분산 구조를 풍부하게 할 수 있는가?
  • RQ2InfoNCE를 InfoLOOB로 교체하면 포화가 감소하고 제로샷 성능이 유지되거나 향상되는가?
  • RQ3CC 및 YFCC에서 사전학습했을 때 표준 벤치마크 데이터셋에서 CLOOB의 제로샷 전이는 어떻게 되는가?
  • RQ4 Hopfield 기반 공분산 강화가 임베딩의 표현 균일성 및 고유값 스펙트럼에 미치는 실증적 효과는 무엇인가?

주요 결과

  • CLOOB는 고려된 모든 아키텍처와 데이터 세트(CC 및 YFCC 사전학습 포함)에서 제로샷 전이 성능이 CLIP보다 일관되게 우수합니다.
  • 현대 Hopfield 네트워크는 학습 중 임베딩 공분산 행렬의 유효 고유값을 증가시키며 공분산 구조를 풍부하게 함을 나타냅니다.
  • InfoLOOB는 InfoNCE의 포화를 피하고 고차원 구면(hypersphere)에서 이미지/텍스트 임베딩을 더 균일하게 만들어 학습을 돕습니다.
  • 변형에 대한 분석은 시너지 효과를 보여줍니다: Hopfield 강화와 InfoLOOB의 조합이 각 구성 요소만 사용한 경우보다 우수합니다.
  • 더 큰 비전 인코더(예: ResNet 변형)는 CLOOB 성능을 향상시키며 대부분의 작업에서 CLIP을 능가하는 경우가 많습니다.
  • CLOOB는 여러 제로샷 데이터셋 및 설정에서 CLIP 재구현과 비교하여 우수하거나 동등한 결과를 달성합니다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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