Skip to main content
QUICK REVIEW

[논문 리뷰] Neural Gaffer: Relighting Any Object via Diffusion

Haian Jin, Yuan Li|arXiv (Cornell University)|2024. 06. 11.
Neural Networks and ApplicationsComputer Science인용 수 3
한 줄 요약

Neural Gaffer는 단일 이미지에서 임의의 환경 조명 조건 하에서 어떤 객체라도 고해상도 재조명이 가능한 엔드 투 엔드 2D 재조명 확산 모델을 제안한다. 이는 조건으로 HDR 환경 맵만을 사용한다. 물리기반 재질과 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.

연구 동기 및 목표

  • 임의의 객체와 어떤 조명 조건에서도 단일 이미지 재조명 문제를 해결함으로써, 이전 방법들이 특정 카테고리, 다중 시점 입력 또는 통제된 촬영 설정을 필요로 하는 한계를 극복하고자 한다.
  • 기하학적 구조, 재질, 조명을 명시적으로 분해하지 않고도 엔드 투 엔드 재조명을 가능하게 하여 모델 기반 역조명의 정확도 부족과 모호함을 피하고자 한다.
  • 사전 훈련된 확산 모델이 내재한 조명 이해 능력을 활용하기 위해, 물리기반 재조명 데이터셋으로 사전 훈련된 모델을 미세조정함으로써 다양한 객체와 조명 조건에 대한 일반화 능력을 확보하고자 한다.
  • 이미지 조건 및 텍스트 조건 재조명을 모두 지원함으로써, 객체 삽입 및 다른 생성 모델과의 통합 등 다양한 응용을 가능하게 하고자 한다.
  • 신경 렌디언스 필드의 재조명과 같은 3D 작업을 위한 강력한 재조명 사전 지식을 제공하고자 하며, 이는 이중 단계 파이프라인을 통해 수행된다.

제안 방법

  • 다양한 재질, 형태, HDR 환경 맵를 갖춘 객체 중심의 합성 이미지 데이터셋으로 사전 훈련된 확산 모델을 미세조정하여 조명 사전 지식을 학습한다.
  • 목표 환경 맵의 저다이나믹 레인지(LDR) 및 정규화된 고다이나믹 레인지(HDR) 버전을 모두 조건으로 사용하여 스펙트럼 에너지와 방향성 조명 신호를 유지한다.
  • CLIP 임bedding 브랜치를 통해 기본 및 목표 조명 좌표 프레임 간의 상대 3D 회전을 인코딩하는 회전 인식 조건화 메커니즘을 사용하여 올바른 조명 방향 정렬을 보장한다.
  • 이중 단계 3D 재조명 파이프라인을 적용한다: 첫 번째 단계에서는 2D 재조명 모델의 가이던스를 활용해 확산 모델이 재조명된 레이디안스 필드를 생성하고, 두 번째 단계에서는 노이즈 감소 및 세부 사항 향상을 위해 확산 가이던스 손실을 적용한다.
  • 텍스트 기반 재조명 및 객체 삽입을 가능하게 하기 위해 텍스트-이미지 및 이미지-이미지 생성 모델과 통합하여, 텍스트 또는 소스 이미지를 조건으로 사용한다.
  • 3D 재조명의 두 번째 단계에서 제안된 손실 함수(Eqn. 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사전 훈련된 확산 모델을 효과적으로 미세조정하여, 명시적인 시점 분해 없이 일반적인 목적의 카테고리에 구애받지 않는 단일 이미지 재조명을 수행할 수 있는가?
  • RQ2어떻게 확산 모델을 HDR 환경 맵로 조건화하여 물리적으로 정확한 조명 효과, 예를 들어 반사광과 부드러운 그림자를 유지할 수 있는가?
  • RQ32D 확산 기반 재조명 모델이 신경 렌디언스 필드의 3D 재조명에 강력한 사전 지식으로 기능할 수 있는 정도는 어느 정도인가?
  • RQ4모델은 다양한 실제 및 합성 시점에서 일관된 조명을 유지하면서, 환경 맵의 회전과 조명 조건 변화에 대해 어떻게 일반화되는가?
  • RQ5LDR와 HDR 환경 맵 조건화를 병행할 경우, 단독으로 하나의 조건만 사용하는 것보다 재조명의 정확도가 어떻게 향상되는가?

주요 결과

  • Neural Gaffer는 합성 및 실제 환경 모두에서 최고 성능(SOTA)을 기록하며, 정량적 결과에서 약 25.822의 PSNR와 0.036의 LPIPS를 확보하여 분석 변형보다 뛰어난 성능을 보였다.
  • 절단 분석 결과, LDR 및 HDR 환경 맵 모두 필수적임을 확인: 둘 중 하나를 생략할 경우 반사나 반사광이 잘못 구현됨을 정량적·정성적 비교로 입증하였다.
  • 모델은 환경 맵의 회전에 대해 일관된 조명을 유지하며, 조명 방향 변화에 대한 강건성을 입증하였다.
  • 이중 단계 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.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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