Skip to main content
QUICK REVIEW

[論文レビュー] Neural Gaffer: Relighting Any Object via Diffusion

Haian Jin, Yuan Li|arXiv (Cornell University)|Jun 11, 2024
Neural Networks and ApplicationsComputer Science被引用数 3
ひとこと要約

Neural Gaffer は、HDR 環境マップを条件として用いることで、任意の環境光条件下で単一の画像から任意の物体を高精度で再照明するエンドツーエンドの 2D 再照明拡散モデルを提案する。物理ベースの素材と HDR 照明を備えたオブジェクト中心の合成データセット上で事前学習済みの拡散モデルを微調整することにより、明示的なシーン分解を必要とせず、多様なシーンや照明状況において最先端の汎化性能と正確性を達成する。

ABSTRACT

Single-image relighting is a challenging task that involves reasoning about the complex interplay between geometry, materials, and lighting. Many prior methods either support only specific categories of images, such as portraits, or require special capture conditions, like using a flashlight. Alternatively, some methods explicitly decompose a scene into intrinsic components, such as normals and BRDFs, which can be inaccurate or under-expressive. In this work, we propose a novel end-to-end 2D relighting diffusion model, called Neural Gaffer, that takes a single image of any object and can synthesize an accurate, high-quality relit image under any novel environmental lighting condition, simply by conditioning an image generator on a target environment map, without an explicit scene decomposition. Our method builds on a pre-trained diffusion model, and fine-tunes it on a synthetic relighting dataset, revealing and harnessing the inherent understanding of lighting present in the diffusion model. We evaluate our model on both synthetic and in-the-wild Internet imagery and demonstrate its advantages in terms of generalization and accuracy. Moreover, by combining with other generative methods, our model enables many downstream 2D tasks, such as text-based relighting and object insertion. Our model can also operate as a strong relighting prior for 3D tasks, such as relighting a radiance field.

研究の動機と目的

  • 任意の物体に対して任意の照明条件下で単一画像再照明を実現する挑戦に応えること。これには、従来の手法が特定のカテゴリ、複数視点入力、または制御された撮影環境を必要としているという制限を克服することを目的とする。
  • 幾何、素材、照明の明示的分解を伴わずにエンドツーエンドの再照明を実現し、モデルベースの逆レンダリングによる誤差や曖昧さを回避すること。
  • 事前学習済みの拡散モデルに内在する照明理解を、物理ベースの合成再照明データセット上で微調整することで活用し、多様なオブジェクトと照明条件にわたる汎化を実現すること。
  • 画像条件付きおよびテキスト条件付きの再照明をサポートし、オブジェクトの挿入や他の生成モデルとの統合といった応用を可能とすること。
  • 2段階のパイプラインを用いて神経的レイトランスフィールドの再照明を支援する強力な再照明事前知識を提供すること。

提案手法

  • 多様な素材、形状、HDR 環境マップを備えたオブジェクト中心の画像の合成データセット上で、事前学習済みの拡散モデルを微調整し、照明事前知識を学習する。
  • ターゲット環境マップの低ダイナミックレンジ(LDR)版と正規化された高ダイナミックレンジ(HDR)版の両方を条件として用いることで、スペクトルエネルギーと方向性照明の手がかりを保持する。
  • 回転に敏感な条件付け機構を採用し、CLIP埋め込みブランチを介して、デフォルト照明座標系とターゲット照明座標系間の相対的な 3D 回転を符号化することで、正しい照明方向の整合性を保証する。
  • 2段階の 3D 再照明パイプラインを採用する:第1段階では、2D 再照明モデルからのガイドランスを用いて拡散モデルが再照明されたレイトランスフィールドを生成する。第2段階では、ノイズ低減と詳細強化のため、拡散ガイドランス損失を適用する。
  • テキストto画像および画像to画像生成モデルと統合し、テキストまたはソース画像を条件として用いることで、テキストベースの再照明とオブジェクト挿入を可能にする。
  • 3D 再照明の第2段階で、新しい損失関数(式 4)を適用し、正確な鏡面反射と影の詳細に向けた拡散プロセスをガイドする。
Figure 1: Single-image relighting results on real data. Neural Gaffer supports single-image relighting for various input images under diverse lighting conditions, using either image-conditioned input (i.e., an environment map) or text-conditioned input (i.e., a description of the target lighting). T
Figure 1: Single-image relighting results on real data. Neural Gaffer supports single-image relighting for various input images under diverse lighting conditions, using either image-conditioned input (i.e., an environment map) or text-conditioned input (i.e., a description of the target lighting). T

実験結果

リサーチクエスチョン

  • RQ1事前学習済みの拡散モデルを、明示的なシーン分解を伴わず、カテゴリに依存しない一般化可能な単一画像再照明に効果的に微調整できるか?
  • RQ2HDR 環境マップをどのように条件として用いることで、鏡面反射ややわらかい影といった物理的に正確な照明効果を保持できるか?
  • RQ32D 拡散ベースの再照明モデルは、神経的レイトランスフィールドの 3D 再照明にどの程度強力な事前知識として機能できるか?
  • RQ4モデルは、多様な実世界および合成シーンにわたって、回転や照明条件の変化に対しても一貫した照明を維持できるか?
  • RQ5LDR と HDR 環境マップの両方を条件として用いることで、片方のみを用いる場合と比較して、再照明の精細さがどの程度向上するか?

主な発見

  • Neural Gaffer は、合成および実環境のベンチマークで SOTA の性能を達成し、定量的評価では、アブレーション変種と比較して優れた PSNR(25.822)と LPIPS(0.036)を示した。
  • アブレーションスタディにより、LDR と HDR 環境マップの両方が不可欠であることが確認された。いずれかを省略すると、誤った反射や鏡面反射が生じる。これは定性的および定量的比較で裏付けられた。
  • 回転する環境マップに対しても一貫した照明を維持し、照明の方向変化に対して高い耐性を示した。
  • 2段階の 3D 再照明パイプラインは視覚的品質を顕著に向上させた。第1段階を省略すると、誤った鏡面反射が生じ、第2段階を省略すると、特に影領域でノイズとぼやけが増加した。
  • 第2段階の拡散ガイドランス損失を SDS 損失に置き換えると、過剰に彩度が高く、不自然でノイズの多い結果が得られ、本手法の損失関数の重要性が浮き彫りになった。
  • 他の生成モデルと統合することで、高精度なテキストベースの再照明とオブジェクト挿入を実現し、2D 編集タスクにおける広範な応用可能性を示した。
Figure 2: Model architecture. Neural Gaffer is an img2img latent diffusion model conditioned on the input image and rotated lighting maps.
Figure 2: Model architecture. Neural Gaffer is an img2img latent diffusion model conditioned on the input image and rotated lighting maps.

この論文を読む

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

Nubintでこの論文を読む

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