[논문 리뷰] NUWA-Infinity: Autoregressive over Autoregressive Generation for Infinite Visual Synthesis
NUWA-Infinity는 Nearby Context Pool과 Arbitrary Direction Controller를 갖춘 Autoregressive over Autoregressive 프레임워크를 도입하여 임의의 크기의 고해상도 이미지와 장시간 비디오를 생성하고, 무한한 시각 합성을 향상된 일관성과 효율성으로 가능하게 한다.
In this paper, we present NUWA-Infinity, a generative model for infinite visual synthesis, which is defined as the task of generating arbitrarily-sized high-resolution images or long-duration videos. An autoregressive over autoregressive generation mechanism is proposed to deal with this variable-size generation task, where a global patch-level autoregressive model considers the dependencies between patches, and a local token-level autoregressive model considers dependencies between visual tokens within each patch. A Nearby Context Pool (NCP) is introduced to cache-related patches already generated as the context for the current patch being generated, which can significantly save computation costs without sacrificing patch-level dependency modeling. An Arbitrary Direction Controller (ADC) is used to decide suitable generation orders for different visual synthesis tasks and learn order-aware positional embeddings. Compared to DALL-E, Imagen and Parti, NUWA-Infinity can generate high-resolution images with arbitrary sizes and support long-duration video generation additionally. Compared to NUWA, which also covers images and videos, NUWA-Infinity has superior visual synthesis capabilities in terms of resolution and variable-size generation. The GitHub link is https://github.com/microsoft/NUWA. The homepage link is https://nuwa-infinity.microsoft.com.
연구 동기 및 목표
- 임의의 크기의 고해상도 이미지와 긴-duration 비디오의 생성 동기부여 및 가능성 확대.
- 패치-수준과 토큰-수준 의존성을 모델링하는 자기회귀 over autoregressive 생성 메커니즘 제안.
- 가변 크기 및 긴 시퀀스 처리를 위한 효율성 및 정렬 메커니즘(근거리 컨텍스트 풀 및 임의 방향 컨트롤러) 도입.
- 무조건적 이미지 생성, 텍스트-대-이미지, 텍스트-대-비디오, 이미지 애니메이션, 이미지 아웃페인팅 등 HD 시각 합성 과제에 대한 평가.
- 고정 크기 생성 방법 및 기존 자기회귀 모델 대비 품질과 확장성에서 개선점 입증
제안 방법
- 글로벌 패치-수준 자기회귀 모델은 패치 사이의 의존성을 포착합니다.
- 로컬 토큰-수준 자기회귀 모델은 각 패치 내의 의존성을 포착합니다.
- 사전학습된 VQGAN 디코더가 시퀀스의 시각 토큰으로부터 각 패치를 재구성합니다.
- Nearby Context Pool은 최근에 생성된 패치를 캐시하여 선형 복잡도 확장으로 컨텍스트를 제공합니다.
- Arbitrary Direction Controller는 패치 생성 순서를 선택하고 순서 인식 동적 위치 임베딩을 할당합니다.
- 훈련은 네 가지 기본 순서에서 임의의 패치 순서를 사용하고 예측 토큰에 대해 크로스 엔트로피 손실을 사용합니다.
실험 결과
연구 질문
- RQ1NUWA-Infinity가 임의의 크기의 고해상도 이미지와 긴 비디오를 생성하면서 콘텐츠 일관성을 유지할 수 있는가?
- RQ2패치-수준 및 토큰-수준 autoregressive 의존성이 다양한 스케일에서 일관된 결과를 어떻게 만들어 내는가?
- RQ3Nearby Context Pool과 Arbitrary Direction Controller가 무한 시각 합성을 위한 효율성과 품질을 기존 방법보다 개선하는가?
- RQ4NUWA-Infinity가 무조건적 이미지 생성, 이미지 아웃페인팅, 이미지 애니메이션, 텍스트-대-이미지, 텍스트-대-비디오 등의 HD 작업에서 어떻게 성능을 보이는가?
주요 결과
- NUWA-Infinity는 패치를 타일링하고 NCP를 활용하여 매우 높은 해상도 이미지(예: 최대 38912×2048)까지 생성할 수 있습니다.
- 모델은 두 레벨의 자기회귀 구조를 통해 로컬 디테일과 글로벌 일관성을 유지합니다.
- NUWA-Infinity는 텍스트-투-이미지 HD 작업에서 Block-FID, CLIP-SIM, LHQC의 IS 측정에서 기준선 자기회귀 및 Mask-Predict 스타일 방법을 능가합니다.
- NUWA-Infinity는 긴 지속 시간의 비디오 생성을 지원하고 LHQ-V와 같은 비디오 작업에서 경쟁력 있거나 더 우수한 품질(FVD가 낮음)을 달성합니다.
- ADC는 이미지 아웃페인팅을 포함한 다양한 생성 순서를 가능하게 하고, 순서 인식 컨텍스트를 유지하기 위한 동적 위치 임베딩을 제공합니다.
- Pixel-Guided VQGAN은 비디오 출력의 시간적 일관성을 향상합니다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.