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)|Jan 28, 2024
Advanced Numerical Analysis TechniquesEngineering被引用数 3
ひとこと要約

本稿では、位置的クエリ機構と拡散モデルを用いた1ステップで連続的な複数倍の画像アウトペイント手法PQDiffを提案する。反復的手順や事前学習済みバックボーンを必要とせず、任意で連続的な拡張倍率が可能であり、SOTAのFIDスコア(Sceneryで21.512、Building Facadesで25.310、WikiArtsで36.212)を達成し、先行SOTA手法の最大10.2%の推論時間で実行可能である。

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.

研究の動機と目的

  • 既存の画像アウトペイント手法に見られる柔軟性の欠如と効率の低さを是正する。具体的には、複数ステップと固定された拡張倍率に依存する問題を解決する。
  • 1回の推論ステップで任意で連続的な拡張倍率(N ∈ ℝ)を実現する。離散的で複数ステップを要するアプローチの制限を超える。
  • 事前学習済みバックボーンネットワークへの依存を排除し、微調整なしで学習を開始でき、一般化性能が向上し、計算コストが低減される。
  • 入力クロップと生成領域間の相対的位置関係を、学習可能なまたは正弦波的な位置埋め込みを用いて学習する。

提案手法

  • モデルは位置的クエリ機構を用い、基準クロップとその相対的位置(位置埋め込みとして)を拡散ベースの生成器に供給し、拡張された画像コンテンツを予測する。
  • 学習段階では、同じ画像からランダムに抽出したクロップペアを入力とクエリとして用い、任意の相対的位置とスケールをシミュレートすることで、未観測の拡張比にも一般化可能にする。
  • 位置埋め込みは、入力クロップとターゲット領域間の相対座標(m, n)から得られ、MLPまたは正弦波関数を介してD次元空間にマッピングされる。
  • 拡散モデルは、生成画像に対してピixエルワイズL1損失を用いて訓練され、GANベースの識別器を必要とせず、高精細な生成を実現する。
  • 1ステップ推論をサポートする:入力画像と希望する拡張倍率が与えられると、モデルは1回の順伝播で完全な拡張画像を直接生成する。
  • アーキテクチャに依存しないモジュラー構造を採用しており、GANSベースのモデル(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拡散ベースの画像アウトペイントモデルは、1回の推論ステップで任意で連続的な拡張倍率を持つ画像を生成できるか?
  • RQ2事前学習済みバックボーンに依存せず、入力クロップと生成領域間の相対的位置関係を学習できるか?
  • RQ3標準の拡散モデルやGANベースのアプローチと比較して、位置的クエリ機構は画像品質と推論効率の面で優れているか?
  • RQ4異なる位置埋め込みタイプ(学習可能 vs. 正弦波)がアウトペイント性能に与える影響は何か?
  • RQ5スケールやアスペクト比が多様な画像に対しても、スケール固有の微調整なしに一般化できるか?

主な発見

  • PQDiffは、Sceneryデータセットで21.512、Building Facadesで25.310、WikiArtsで36.212というSOTAのFIDスコアを達成し、先行SOTA手法を上回った。
  • 2.25倍、5倍、11.7倍のアウトペイント設定において、PQDiffはそれぞれベンチマークSOTA手法の40.6%、20.3%、10.2%の推論時間にまで短縮された。
  • 事前学習済みバックボーンを一切使用せずに学習を開始したモデルも競争力のある性能を示し、位置的クエリが強力な条件付けを提供していることを示した。
  • 正弦波的な位置埋め込みは、学習可能な埋め込みや埋め込みなしのベースラインを上回り、位置情報が含まれるとうなって30点以上FIDスコアが低下した。
  • アブレーションスタディの結果、学習時のクロップ比が固定されている(例: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

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。