Skip to main content
QUICK REVIEW

[논문 리뷰] I2DFormer: Learning Image to Document Attention for Zero-Shot Image Classification

Muhammad Ferjad Naeem, Yongqin Xian|arXiv (Cornell University)|2022. 09. 21.
Domain Adaptation and Few-Shot LearningComputer Science인용 수 21
한 줄 요약

I2DFormer는 이미지와 문서 임베딩을 공동으로 학습하며, 패치를 문서 단어와 정렬하기 위해 새로운 Image to Document (I2D) Attention을 사용하여 zero-shot 및 generalized zero-shot 학습에서 속성 어휘 없이 AWA2, CUB, FLO에서 최첨단의 비지도 의미 임베딩을 가능하게 한다.

ABSTRACT

Despite the tremendous progress in zero-shot learning(ZSL), the majority of existing methods still rely on human-annotated attributes, which are difficult to annotate and scale. An unsupervised alternative is to represent each class using the word embedding associated with its semantic class name. However, word embeddings extracted from pre-trained language models do not necessarily capture visual similarities, resulting in poor zero-shot performance. In this work, we argue that online textual documents, e.g., Wikipedia, contain rich visual descriptions about object classes, therefore can be used as powerful unsupervised side information for ZSL. To this end, we propose I2DFormer, a novel transformer-based ZSL framework that jointly learns to encode images and documents by aligning both modalities in a shared embedding space. In order to distill discriminative visual words from noisy documents, we introduce a new cross-modal attention module that learns fine-grained interactions between image patches and document words. Consequently, our I2DFormer not only learns highly discriminative document embeddings that capture visual similarities but also gains the ability to localize visually relevant words in image regions. Quantitatively, we demonstrate that our I2DFormer significantly outperforms previous unsupervised semantic embeddings under both zero-shot and generalized zero-shot learning settings on three public datasets. Qualitatively, we show that our method leads to highly interpretable results where document words can be grounded in the image regions.

연구 동기 및 목표

  • 온라인 문서를 풍부한 시각적 설명으로 활용하여 ZSL를 위한 비지도 의미 임베딩을 고무한다.
  • 공유 임베딩 공간에서 이미지와 문서를 정렬하는 교차모달 프레임워크를 개발한다.
  • 패치-대-단어 I2D Attention 모듈을 통해 노이즈가 있는 문서에서 판별력을 갖춘 시각적 단어를 추출한다.
  • 매우 해석 가능하고 근거 있는 임베딩을 생성하고 보지 않은 클래스에 대한 일반화를 보여준다.

제안 방법

  • 공유 차원 r의 임베딩 공간을 갖는 이미지 변환기 F와 문서 변환기 G를 포함하는 이중 스트림 트랜스포머를 사용한다.
  • I2D Global: f_CLS(x)와 g_CLS(d)를 공동 공간으로 투영하고 s(x,d) = f_CLS(x) · g_CLS(d) 를 계산하여 글로벌 이미지–문서 임베딩을 학습한다.
  • I2D Attention: 이미지 패치 임베딩 f_p(x)와 문서 단어 임베딩 g_t(d) 사이의 교차 모달 주의 A(x,d)를 계산하여 패치 인식 표현을 생성하고, 주의된 패치 특징으로부터 로컬 점수 s_local(x,d)를 도출한다.
  • 정확한 이미지–문서 쌍의 호환성을 극대화하고 판별력 있는 로컬 연관성을 촉진하기 위해 L_CLS와 L_local의 크로스 엔트로피 손실로 학습한다.
  • 문서 임베딩(I2DEmb)은 이미지 수준의 언어 감독 없이 학습되지만 시각 입력에 의해 근거가 있으며, 어떤 ZSL 모델과도 다운스트림 ZSL을 가능하게 한다.

실험 결과

연구 질문

  • RQ1객체 클래스들을 설명하는 노이즈가 많은 온라인 문서가 제로샷 분류를 위한 시각적으로 정렬되고 판별력이 있는 임베딩으로 변환될 수 있는가?
  • RQ2이미지 패치를 문서 단어에 연결하는 교차 모달 주의가 전역 정렬보다 ZSL 성능을 향상시키는가?
  • RQ3학습된 문서 임베딩이 보지 않은 클래스에서 이미지 영역에 대해 해석 가능하고 근거를 둘 수 있는가?

주요 결과

  • I2DFormer는 ZSL 및 GZSL 설정에서 AWA2, CUB, FLO에 대해 이전의 비지도 의미 임베딩을 일관되게 능가한다.
  • I2D Attention 모듈은 I2DGlobal 단독 사용 대비 상당한 이득을 제공한다(핵심 데이터셋에서 ZSL/GZSL의 상대 향상 8–16포인트).
  • 학습된 문서 임베딩(I2DEmb)은 비지도 의미 임베딩 중 SOTA를 달성하며, 예를 들어 ZSL: AWA2 ≈ 76.4%, CUB ≈ 45.4%, FLO ≈ 40.0%.
  • GZSL에서 I2DFormer는 경쟁력 있는 조화 평균을 달성하며, 특히 FLO에서 (≈51.5%).
  • 정성적 분석은 모델이 판별력 있는 문서 단어를 특정 이미지 영역에 근거시키는 것을 보여주며, 보지 못한 클래스의 시각적 속성의 해석 가능한 로컬화를 가능하게 한다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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