[논문 리뷰] One Transformer Fits All Distributions in Multi-Modal Diffusion at Scale
UniDiffuser는 멀티모달 데이터(이미지-텍스트)에 대해 마진, 조건부, 공동 분포를 공동으로 학습하는 단일 트랜스포머 기반 확산 모델을 제시하여 다양한 생성 작업을 경쟁력 있는 품질로 가능하게 한다.
This paper proposes a unified diffusion framework (dubbed UniDiffuser) to fit all distributions relevant to a set of multi-modal data in one model. Our key insight is -- learning diffusion models for marginal, conditional, and joint distributions can be unified as predicting the noise in the perturbed data, where the perturbation levels (i.e. timesteps) can be different for different modalities. Inspired by the unified view, UniDiffuser learns all distributions simultaneously with a minimal modification to the original diffusion model -- perturbs data in all modalities instead of a single modality, inputs individual timesteps in different modalities, and predicts the noise of all modalities instead of a single modality. UniDiffuser is parameterized by a transformer for diffusion models to handle input types of different modalities. Implemented on large-scale paired image-text data, UniDiffuser is able to perform image, text, text-to-image, image-to-text, and image-text pair generation by setting proper timesteps without additional overhead. In particular, UniDiffuser is able to produce perceptually realistic samples in all tasks and its quantitative results (e.g., the FID and CLIP score) are not only superior to existing general-purpose models but also comparable to the bespoken models (e.g., Stable Diffusion and DALL-E 2) in representative tasks (e.g., text-to-image generation).
연구 동기 및 목표
- 마진, 조건부, 공동 분포를 포괄할 수 있는 일반적인 멀티모달 생성 프레임워크를 동기부여한다.
- 하나의 모델로 여러 모달리티를 다루는 통합 확산 기반 접근법을 개발한다.
- 트랜스포머 기반 백본이 대규모 모달 간 상호작용을 효율적으로 모델링할 수 있음을 보여준다.
- 통합 모델이 추가 학습 오버헤드 없이 무조건적, 조건부, 공동 생성을 다양한 작업으로 수행할 수 있음을 보여준다.
제안 방법
- 다양한 모달리티에서 perturbed 데이터의 노이즈를 예측하는 것이 분포의 마진, 조건부, 공동 분포를 학습하는 것을 가능하게 하도록 확산 모델링을 재정의한다.
- 다양한 타임스텝을 가질 수 있는 모달리티들에 노이즈를 perturb하고 모든 모달리티의 노이즈를 출력하는 공동 노이즈 예측기를 학습한다.
- 이미지와 텍스트 인코딩의 잠재 임베딩에서 작동하는 변형된 트랜스포머 백본(U-ViT)으로 모델을 매개변수화한다.
- 이미지의 두 부분 잠재: AE 기반 임베딩과 CLIP 의미 임베딩으로 인코딩하고, 텍스트는 CLIP과 GPT-2 디코더를 이용하여 공유 잠재 공간에서 인코딩한다.
- 다양한 모달리티와 서로 다른 타임스텝에서 공동 노이즈 예측기를 학습하기 위한 단일 회귀 손실을 사용하고 샘플링 중에 분류기 없이 가이드를 가능하게 한다.
- 타임스텝을 조정하고 통합 노이즈 예측기를 활용하여 무조건적, 조건부, 공동 생성을 위한 샘플링을 시연한다.
실험 결과
연구 질문
- RQ1하나의 확산 모델이 작업별 아키텍처 없이 멀티모달 데이터의 마진, 조건부, 공동 분포를 포착할 수 있는가?
- RQ2 unified 프레임워크에서 서로 다른 조건 설정을 구현하기 위해 모달리티 간 타임스텝은 어떻게 처리해야 하는가?
- RQ3트랜스포머 기반 백본이 대규모 이미지-텍스트 데이터셋에서도 다양한 생성 작업에서 경쟁력 있는 샘플 품질을 제공하며 효과적으로 확장되는가?
주요 결과
- UniDiffuser는 적절한 타임스텝을 설정하여 이미지, 텍스트, 텍스트-에서-이미지, 이미지-에서-텍스트, 이미지-텍스트 쌍 생성 전반에서 지각적으로 현실적인 샘플을 달성한다.
- 제로샷 MS-COCO FID에서 UniDiffuser는 9.71에 도달해 여러 맞춤형 모델과 경쟁적이며 보고된 설정에서 Versatile Diffusion보다 우수하다.
- UniDiffuser는 CFG 스케일 및 CLIP, FID 등의 지표에서 텍스트-에서-이미지 및 이미지-에서-텍스트 생성 모두에서 Versatile Diffusion보다 일관되게 우수한 성능을 보인다.
- 조건부 및 공동 샘플링 모두에서 무료로 적용 가능한 분류기 없는 가이드는 추가 학습 없이 이미지-텍스트 정렬 및 샘플 품질을 향상시킨다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.