Skip to main content
QUICK REVIEW

[논문 리뷰] Continuous-Multiple Image Outpainting in One-Step via Positional Query and A Diffusion-based Approach

Shaofeng Zhang, Jinfa Huang|arXiv (Cornell University)|2024. 01. 28.
Advanced Numerical Analysis TechniquesEngineering인용 수 3
한 줄 요약

이 논문은 위치 쿼리 메커니즘과 확산 기반 생성을 사용하는 일단계, 연속 다중 이미지 확장 방법인 PQDiff를 제안한다. 반복 단계나 사전 훈련된 백본이 필요 없이 임의의 연속적인 확장 배수를 지원하며, 기존 최고 성능(SOTA) 방법 대비 10.2% 이내의 추론 시간으로 상태 기반 FID 점수(Scenery: 21.512, Building Facades: 25.310, WikiArts: 36.212)를 달성한다.

ABSTRACT

Image outpainting aims to generate the content of an input sub-image beyond its original boundaries. It is an important task in content generation yet remains an open problem for generative models. This paper pushes the technical frontier of image outpainting in two directions that have not been resolved in literature: 1) outpainting with arbitrary and continuous multiples (without restriction), and 2) outpainting in a single step (even for large expansion multiples). Moreover, we develop a method that does not depend on a pre-trained backbone network, which is in contrast commonly required by the previous SOTA outpainting methods. The arbitrary multiple outpainting is achieved by utilizing randomly cropped views from the same image during training to capture arbitrary relative positional information. Specifically, by feeding one view and positional embeddings as queries, we can reconstruct another view. At inference, we generate images with arbitrary expansion multiples by inputting an anchor image and its corresponding positional embeddings. The one-step outpainting ability here is particularly noteworthy in contrast to previous methods that need to be performed for $N$ times to obtain a final multiple which is $N$ times of its basic and fixed multiple. We evaluate the proposed approach (called PQDiff as we adopt a diffusion-based generator as our embodiment, under our proposed extbf{P}ositional extbf{Q}uery scheme) on public benchmarks, demonstrating its superior performance over state-of-the-art approaches. Specifically, PQDiff achieves state-of-the-art FID scores on the Scenery ( extbf{21.512}), Building Facades ( extbf{25.310}), and WikiArts ( extbf{36.212}) datasets. Furthermore, under the 2.25x, 5x and 11.7x outpainting settings, PQDiff only takes extbf{40.6\%}, extbf{20.3\%} and extbf{10.2\%} of the time of the benchmark state-of-the-art (SOTA) method.

연구 동기 및 목표

  • 기존 이미지 확장 방법이 다단계 및 고정된 확장 배수를 요구함에 따라 유연성과 효율성의 부족을 해결하기 위해.
  • 단일 추론 단계에서 임의의 연속적인 확장 배수(N ∈ ℝ)를 지원함으로써 이산적이고 다단계적인 접근의 한계를 극복하기 위해.
  • 사전 훈련된 백본 네트워크에 대한 의존성을 제거하여, 보다 우수한 일반화 능력과 낮은 계산 비용을 갖춘 훈련에서부터 시작할 수 있도록 하기 위해.
  • 학습 가능한 또는 사인 함수 기반 위치 임베딩을 사용해 입력 쿼드와 생성 영역 간의 상대적 위치 관계를 학습하기 위해.

제안 방법

  • 모델은 위치 쿼리 메커니즘을 사용하며, 기준 쿼드와 그 상대 위치(위치 임베딩으로 표현)가 확산 기반 생성기로 입력되어 확장된 이미지 내용을 예측한다.
  • 훈련 중에는 동일한 이미지에서 무작위로 추출한 쿼드를 입력 및 쿼리 쌍으로 사용하여 임의의 상대 위치와 스케일을 시뮬레이션함으로써, 미리 정의된 확장 비율 외의 비율에 대한 일반화 능력을 확보한다.
  • 위치 임베딩은 입력 쿼드와 타겟 영역 간의 상대 좌표(m, n)에서 유도되며, 이는 MLP 또는 사인 함수를 통해 D차원 공간으로 매핑된다.
  • 확산 모델은 생성된 이미지에 대해 픽셀 단위의 L1 손실을 사용하여 훈련되며, GAN 기반 판별기 구성 요소 없이도 고해상도 생성을 가능하게 한다.
  • 이 방법은 일단계 추론을 지원한다: 입력 이미지와 원하는 확장 비율이 주어지면, 모델은 단일 순방향 전파를 통해 전체 확장된 이미지를 직접 생성한다.
  • 이 방법은 모듈식이며, 다양한 아키텍처에 적용 가능하며, GAN 기반 모델(PQGAN)에의 성공적 통합과 다양한 위치 임베딩 유형에 대한 분석을 통해 이를 입증한다.
Figure 1: PQDiff can outpaint images with arbitrary and continuous multiples in one step (b). In contrast, previous methods (a) outpaint images with discrete multiples in multiple steps. Note that $N$ x here means an $N$ -times larger image needs to be generated, while 2.25x, 5x, and 11.7x are adopt
Figure 1: PQDiff can outpaint images with arbitrary and continuous multiples in one step (b). In contrast, previous methods (a) outpaint images with discrete multiples in multiple steps. Note that $N$ x here means an $N$ -times larger image needs to be generated, while 2.25x, 5x, and 11.7x are adopt

실험 결과

연구 질문

  • RQ1확산 기반 이미지 확장 모델이 단일 추론 단계에서 임의의 연속적인 확장 배수를 갖는 이미지를 생성할 수 있는가?
  • RQ2사전 훈련된 백본에 의존하지 않고도 입력 쿼드와 생성 영역 간의 상대적 위치 관계를 학습할 수 있는가?
  • RQ3표준 확산 또는 GAN 기반 접근 방식과 비교해 위치 쿼리 메커니즘은 이미지 품질과 추론 효율성 측면에서 어떻게 성능을 내는가?
  • RQ4다양한 위치 임베딩 유형(학습 가능한 vs. 사인 함수 기반)이 확장 성능에 미치는 영향은 무엇인가?
  • RQ5스케일 특화 미세조정 없이도 다양한 이미지 스케일과 종횡비에 대해 일반화할 수 있는가?

주요 결과

  • PQDiff는 Scenery 데이터셋에서 21.512, Building Facades에서 25.310, WikiArts에서 36.212의 최고 성능(FID 점수)를 달성하여 이전 SOTA 방법을 초월한다.
  • 2.25배, 5배, 11.7배 확장 설정에서 PQDiff는 기준 SOTA 방법 대비 추론 시간을 각각 40.6%, 20.3%, 10.2%로 줄였다.
  • 사전 훈련된 백본 없이도 훈련을 시작한 모델가 경쟁적인 성능을 달성하여, 위치 쿼리가 강력한 조건 제공에 효과적임을 입증한다.
  • 사인 함수 기반 위치 임베딩이 학습 가능한 및 임베딩 없음 기반 베이스라인보다 우수하며, 위치 정보가 포함될 경우 FID 점수가 30점 이상 감소한다.
  • 분석 결과, 훈련 중 쿼드 비율이 고정되어 있을 경우(예: 0.50) 성능 저하가 심각하게 발생함을 확인하여, 일반화를 위해 다양한 쿼드 비율이 중요함을 시사한다.
  • GAN 기반 모델(PQGAN)에 위치 쿼리 통합을 통해 기존 GAN 대비 FID 및 PSNR 점수가 향상되었으며, 이는 위치 쿼리 파라다임의 광범위한 적용 가능성을 보여준다.
Figure 2: Framework of PQDiff. RPE in Eq. 1 means relative positional embeddings (we give the pseudo-code to calculate the RPE in Appendix A ). For training, we randomly crop the image twice with different random crop ratios to obtain two views. Then, we compute the relative positional embeddings of
Figure 2: Framework of PQDiff. RPE in Eq. 1 means relative positional embeddings (we give the pseudo-code to calculate the RPE in Appendix A ). For training, we randomly crop the image twice with different random crop ratios to obtain two views. Then, we compute the relative positional embeddings of

이 논문 읽기

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

누빈트에서 이 논문 읽기

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