Skip to main content
QUICK REVIEW

[논문 리뷰] Emu: Generative Pretraining in Multimodality

Quan Sun, Qiying Yu|arXiv (Cornell University)|2023. 07. 11.
Multimodal Machine Learning ApplicationsComputer Science인용 수 29
한 줄 요약

Emu는 텍스트와 이미지를 모두 생성하기 위해 텍스트, 이미지, 비디오의 교차 멀티모달 데이터에 대해 통일된 자기회귀 objective로 선행 학습된 14B 트랜스포머 기반의 멀티모달 기본 모델로, 제로샷 및 파샷이 강력한 성능을 달성합니다.

ABSTRACT

We present Emu, a Transformer-based multimodal foundation model, which can seamlessly generate images and texts in multimodal context. This omnivore model can take in any single-modality or multimodal data input indiscriminately (e.g., interleaved image, text and video) through a one-model-for-all autoregressive training process. First, visual signals are encoded into embeddings, and together with text tokens form an interleaved input sequence. Emu is then end-to-end trained with a unified objective of classifying the next text token or regressing the next visual embedding in the multimodal sequence. This versatile multimodality empowers the exploration of diverse pretraining data sources at scale, such as videos with interleaved frames and text, webpages with interleaved images and text, as well as web-scale image-text pairs and video-text pairs. Emu can serve as a generalist multimodal interface for both image-to-text and text-to-image tasks, and supports in-context image and text generation. Across a broad range of zero-shot/few-shot tasks including image captioning, visual question answering, video question answering and text-to-image generation, Emu demonstrates superb performance compared to state-of-the-art large multimodal models. Extended capabilities such as multimodal assistants via instruction tuning are also demonstrated with impressive performance.

연구 동기 및 목표

  • 다양한 인터리브드 데이터 소스(이미지, 텍스트, 비디오)로부터 학습할 수 있는 하나의 일반 목적 멀티모달 모델 구축을 동기화한다.
  • 텍스트 토큰의 이산성 뿐만 아니라 연속 시각 임베딩을 모델링하는 통합 자기회귀 목표를 개발한다.
  • 이미지-텍스트, 텍스트-이미지, 멀티모달 맥락 포함 등 모달리티 간의 엔드투엔드 생성 및 이해를 가능하게 한다.
  • 프레이드 인터리브 프레임과 자막이 포함된 비디오, 이미지와 텍스트가 있는 웹페이지, 웹 규모의 이미지-텍스트 쌍 등 데이터 소스를 탐색한다.
  • 다양한 태스크에 대해 제로샷 및 파샷 성능을 평가하고, 멀티모달 인스트럭션 튜닝 능력을 시연한다.

제안 방법

  • 이미지 임베딩으로 변환하기 위해 Visual Encoder (EVA-CLIP)를 사용한다.
  • 2D 시각 신호를 1D 인과 잠재 공간으로 변환하여 통합 모델링을 위한 인과 트랜스포머를 도입한다.
  • 이미지와 시각 임베딩의 교차 시퀀스를 처리하기 위해 LLaMA에서 초기화된 Multimodal Modeling LLM를 구성한다.
  • 시각 임베딩에서 이미지를 생성하기 위해 latent diffusion 모델로 구성된 Visual Decoder를 사용한다.
  • 다음 요소를 예측하여 멀티모달 시퀀스의 가능도를 최대화하는 통합 objective로 사전 학습하며, 텍스트 토큰은 교차 엔트로피, 시각 임베딩은 L2 손실로 학습한다.
  • 이미지-텍스트 쌍(LAION-2B/LAION-COCO), 인터리브드 이미지-텍스트(MMC4), 비디오-텍스트(WebVid-10M), 인터리브드 비디오-텍스트(YT-Storyboard-1B) 등 다양한 웹 규모 데이터로 학습한다.
  • 멀티모달 인스트럭션 튜닝을 ShareGPT, Alpaca, LLaVA, VideoChat, Video-ChatGPT 등의 데이터 세트를 활용하여 Multimodal Modeling LLM에 LoRA를 적용한다.
Figure 1 : Emu as a generalist interface for diverse vision-language applications, such as image captioning, image/video question answering, in-context image-to-text and text-to-image generation, and image blending. More examples in Appendix D .
Figure 1 : Emu as a generalist interface for diverse vision-language applications, such as image captioning, image/video question answering, in-context image-to-text and text-to-image generation, and image blending. More examples in Appendix D .

실험 결과

연구 질문

  • RQ1Emu가 비디오, 이미지, 텍스트를 포함한 인터리브드 멀티모달 데이터로부터 통합 표현 및 생성 능력을 학습할 수 있는가?
  • RQ2이산 텍스트 토큰과 연속 시각 임베딩을 모두 포함하는 단일 자기회귀 목표가 기존 LMM 보다 제로샷 및 파샷 멀티모달 태스크를 개선하는가?
  • RQ3Emu가 이미지-텍스트, 텍스트-이미지, 맥락 내 멀티모달 생성을 포함한 일반 멀티모달 인터페이스로 작동할 수 있는가, 그리고 인스트럭션-튜닝된 멀티모달 어시스턴트가 가능하겠는가?

주요 결과

  • Emu는 이미지 캡션 생성 및 VQA 태스크에서 제로샷 성능이 강력하며, 예를 들어 제로샷 COCO 캡션 CIDEr 점수는 112.4이다.
  • 제로샷 설정에서 Emu(14B)는 VQA 및 VizWiz에서 여러 대형 멀티모달 모델보다 성능이 우수하며, Emu-I(인스트럭션 튜닝)가 눈에 띄는 이점을 제공한다.
  • MS-COCO에서의 제로샷 텍스트-이미지 생성에서 Emu는 경쟁력 있는 FID 11.66를 달성하며 특정 조건에서 여러 단일모달/멀티모달 베이스라인에 근접하거나 이를 능가한다.
  • 파샷 결과에서 인터리브드 데이터와 RICES 샘플 선택을 사용한 Emu는 Flamingo-9B 및 Kosmos-1에 비해 VQAv2, VizWiz, MSVDQA, MSRVTTQA에서 개선을 보인다.
  • 인스트럭션 튜닝은 이미지 및 비디오에 대한 다중 턴 대화와 지시 이행을 포함한 멀티모달 어시스턴트 능력을 향상시킨다.
Figure 2 : Emu unifies the modeling of different modalities in an auto-regressive manner. Visual signals are first encoded into embeddings, and together with text tokens form an interleaved sequence. The training objective is to either classify the next text token or regress the next visual embeddin
Figure 2 : Emu unifies the modeling of different modalities in an auto-regressive manner. Visual signals are first encoded into embeddings, and together with text tokens form an interleaved sequence. The training objective is to either classify the next text token or regress the next visual embeddin

이 논문 읽기

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

누빈트에서 이 논문 읽기

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