Skip to main content
QUICK REVIEW

[논문 리뷰] Align and Prompt: Video-and-Language Pre-training with Entity Prompts

Dongxu Li, Junnan Li|arXiv (Cornell University)|2021. 12. 17.
Multimodal Machine Learning ApplicationsComputer Science인용 수 17
한 줄 요약

이 논문은 비디오-텍스트 대비 학습과 새로운 프롬프팅 엔티티 모델링(Prompting Entity Modeling, PEM) 작업을 통해 교차 모odal 정렬을 향상시키는 비디오-언어 사전학습 프레임워크인 AlPro를 제안한다. 객체 검출기 없이 자기지도 학습 엔티티 프롬프터를 사용해 의사 레이블을 생성함으로써, MSRVTT에서 제로샷 검색에서 5.4%의 절대적 성능 향상을 이룩하며, 텍스트-비디오 검색 및 비디오QA에서 최신 기준(SOTA) 성능을 달성한다.

ABSTRACT

Video-and-language pre-training has shown promising improvements on various downstream tasks. Most previous methods capture cross-modal interactions with a transformer-based multimodal encoder, not fully addressing the misalignment between unimodal video and text features. Besides, learning fine-grained visual-language alignment usually requires off-the-shelf object detectors to provide object information, which is bottlenecked by the detector's limited vocabulary and expensive computation cost. We propose Align and Prompt: an efficient and effective video-and-language pre-training framework with better cross-modal alignment. First, we introduce a video-text contrastive (VTC) loss to align unimodal video-text features at the instance level, which eases the modeling of cross-modal interactions. Then, we propose a new visually-grounded pre-training task, prompting entity modeling (PEM), which aims to learn fine-grained region-entity alignment. To achieve this, we first introduce an entity prompter module, which is trained with VTC to produce the similarity between a video crop and text prompts instantiated with entity names. The PEM task then asks the model to predict the entity pseudo-labels (i.e~normalized similarity scores) for randomly-selected video crops. The resulting pre-trained model achieves state-of-the-art performance on both text-video retrieval and videoQA, outperforming prior work by a substantial margin. Our code and pre-trained models are available at https://github.com/salesforce/ALPRO.

연구 동기 및 목표

  • 비디오-언어 사전학습에서 단모달 비디오 및 텍스트 특징 간의 정렬 불일치 문제를 해결한다.
  • 객체 검출기가 제공하는 세밀한 시각-언어 감독의 한계, 즉 어휘 제약과 높은 계산 비용을 극복한다.
  • 고정된 오프라인 특징에 의존하지 않고도 희박하게 샘플링된 비디오 프레임에서 효과적인 교차 모달 학습을 가능하게 한다.
  • 자기지도 프롬프팅 메커니즘을 통해 세밀한 영역-엔티티 정렬을 강화한다.
  • 텍스트-비디오 검색 및 비디오QA와 같은 최종 비디오-언어 작업에서 최신 기준 성능을 달성한다.

제안 방법

  • 비디오-텍스트 대비 학습(VTC) 손실을 도입하여 인스턴스 수준에서 단모달 비디오 및 텍스트 특징를 정렬함으로써 교차 모달 상호작용 모델링을 향상시킨다.
  • 비디오 영역과 텍스트 엔티티 간의 세밀한 정렬을 학습하기 위해 전용 엔티티 프롬프터 모듈을 사용하는 새로운 사전학습 작업인 프롬프팅 엔티티 모델링(PEM)을 제안한다.
  • 지식 기반 애너테이션 없이 비디오 컷과 텍스트 프롬프트(예: "{ENTITY}의 영상") 간의 유사도를 계산하는 자기지도 학습 엔티티 프롬프터를 설계하여 의사 레이블을 생성한다.
  • 다양한 템플릿(예: "한 {ENTITY}의 영상")을 사용한 프롬프트 앙상블을 통해 의사 레이블의 품질을 향상시킨다.
  • 웹 기반의 비디오-텍스트 쌍에서 VTC, PEM, 마스킹 언어 모델링(MLM), 비디오-텍스트 매칭(VTM) 손실을 종합적으로 사용해 엔드 투 엔드 방식으로 비디오-언어 트랜스포머를 사전학습한다.
  • 고정된 오프라인 특징을 피하기 위해 비디오에서 희박하게 프레임을 샘플링하여 시각 백본의 효율적인 엔드 투 엔드 학습을 가능하게 한다.
Figure 1 : Generating supervision for region-entity alignment. Above : previous methods ( e.g . ActBERT [ 57 ] ) rely on object detectors with expensive computation cost and limited object categories, leaving text data unexploited. Below : AlPro generates soft entity labels with a prompter module, w
Figure 1 : Generating supervision for region-entity alignment. Above : previous methods ( e.g . ActBERT [ 57 ] ) rely on object detectors with expensive computation cost and limited object categories, leaving text data unexploited. Below : AlPro generates soft entity labels with a prompter module, w

실험 결과

연구 질문

  • RQ1인스턴스 수준의 비디오-텍스트 특징 정렬이 비디오-언어 모델의 교차 모달 표현 학습에 기여하는가?
  • RQ2객체 검출기를 기반으로 하지 않고 자기지도 엔티티 프롬프터가 세밀한 영역-엔티티 정렬을 위한 고품질 의사 레이블을 생성할 수 있는가?
  • RQ3엔티티 수와 프레임 수가 사전학습 모델의 최종 작업 성능에 미치는 영향은 어떠한가?
  • RQ4제안된 PEM 작업이 텍스트-비디오 검색 및 비디오QA와 같은 비디오-언어 이해 벤치마크에서 측정 가능한 성능 향상을 이끌어내는가?
  • RQ5프롬프팅 기반 프레임워크는 이미지-텍스트 또는 비디오 전용 표현 학습으로 효과적으로 확장될 수 있는가?

주요 결과

  • AlPro는 MSRVTT에서 제로샷 텍스트-비디오 검색 작업에서 R1 점수를 5.4% 절대적으로 향상시켜 이전 최신 기준 방법을 능가한다.
  • MSVD-QA 벤치마크에서 프롬프트 앙상블을 사용한 AlPro는 45.9%의 정확도를 달성하여 앙상블 없이 기준 모델보다 0.9% 향상된 성능을 보였다.
  • 8~16개의 프레임을 샘플링한 모델이 성능과 계산 비용 간 최적의 균형을 이룩하였으며, MSRVTT-FT에서 34.2%의 R1, MSRVTT-ZS에서 24.7%의 R1를 기록했다.
  • PEM을 추가하면 기준 모델(MLM+VTM+VTC) 대비 일관되게 성능 향상을 이끌어내며, 빈도가 높은 1,000개의 엔티티를 사용할 경우 최고의 성능을 기록했다.
  • 1,000개를 초과해 엔티티를 사용할 경우 저빈도 엔티티로 인해 노이즈가 발생하여 성능이 저하되며, 엔티티 선택의 최적 균형이 있음을 시사한다.
  • 프롬프트 앙상블은 의사 레이블 품질을 크게 향상시켜, MSRVTT-ZS에서 R1를 22.6%에서 24.1%로, MSVD-QA에서 정확도를 45.0%에서 45.9%로 상향시켰다.
Figure 2 : AlPro pre-training framework. Left : the video-language pre-training model contains a space-time video encoder, a text encoder, and a multi-modal encoder, all of which are transformer-based. Besides two canonical objectives masked language modeling (MLM) and video-text matching (VTM), we
Figure 2 : AlPro pre-training framework. Left : the video-language pre-training model contains a space-time video encoder, a text encoder, and a multi-modal encoder, all of which are transformer-based. Besides two canonical objectives masked language modeling (MLM) and video-text matching (VTM), we

이 논문 읽기

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

누빈트에서 이 논문 읽기

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