Skip to main content
QUICK REVIEW

[논문 리뷰] Beyond Surface Statistics: Scene Representations in a Latent Diffusion Model

Yida Chen, Fernanda Viégas|arXiv (Cornell University)|2023. 06. 09.
Generative Adversarial Networks and Image SynthesisComputer Science인용 수 3
한 줄 요약

이 논문은 2D 이미지로만 훈련된 잠재 확산 모델(LDMs)이 3D 시점 기하학적 구조의 내부 표현을 갖는지 조사한다. 선형 프로빙 및 간섭 실험을 통해 LDMs가 노이즈 제거 과정의 초기 단계에서 깊이와 두드러진 객체/배경 구분의 선형 표현을 인코딩하고, 이러한 표현이 이미지 생성에 인과적 영향을 미친다는 것을 입증한다. 이는 LDMs가 표면 통계를 넘어서 더 깊은 이해를 습득한다는 것을 시사한다.

ABSTRACT

Latent diffusion models (LDMs) exhibit an impressive ability to produce realistic images, yet the inner workings of these models remain mysterious. Even when trained purely on images without explicit depth information, they typically output coherent pictures of 3D scenes. In this work, we investigate a basic interpretability question: does an LDM create and use an internal representation of simple scene geometry? Using linear probes, we find evidence that the internal activations of the LDM encode linear representations of both 3D depth data and a salient-object / background distinction. These representations appear surprisingly early in the denoising process$-$well before a human can easily make sense of the noisy images. Intervention experiments further indicate these representations play a causal role in image synthesis, and may be used for simple high-level editing of an LDM's output. Project page: https://yc015.github.io/scene-representation-diffusion-model/

연구 동기 및 목표

  • 잠재 확산 모델(LDMs)이 표면 통계를 넘어서 3D 시점 기하학적 구조의 내부 표현을 학습하는지 확인하는 것.
  • 그러한 표현이 노이즈 제거 과정의 초기 단계에서 나타나며, 이미지 생성 과정에서 인과적으로 관여하는지 조사하는 것.
  • 이러한 내부 표현을 조작하여 깊이 및 두드러짐과 같은 고수준 시점 속성 제어가 가능한지 탐색하는 것.
  • LDMs가 단순히 픽셀-단어 상관관계를 암기하는 것이 아니라, 세계와 유사한 내부 모델을 구축한다는 증거를 제공하는 것.

제안 방법

  • 사전 훈련된 스테이블 디퓨전 LDM의 중간 활성화에 선형 프로빙을 적용하여 연속적 깊이 및 두드러진 객체/배경 구분의 표현을 탐지한다.
  • 노이즈 제거 단계의 다양한 시점에서 내부 활성화에 대해 프로빙 분류기를 훈련하여 기하학적 표현이 언제 나타나는지 평가한다.
  • 내부 깊이 및 두드러짐 표현을 수정하여 간섭 실험을 수행하고, 생성된 이미지에 미치는 영향을 측정한다.
  • 목표 깊이 맵과 간섭된 출력 간의 차이를 정량화하기 위해 평균 제곱근 오차(RMSE)를 사용한다. 이는 빈도 간섭과 비교한다.
  • 기본 프로빙을 사용하여 각 노이즈 제거 단계에서 복원된 RGB 이미지에 적용된 오프더셔프 모델을 평가한다.
  • 세밀한 간섭을 통해 특정 깊이 수준에 새로운 두드러진 객체를 삽입하여 내부 표현 편집을 통한 시점 기하학 제어를 시연한다.
Figure 1: LDM has an internal representation of depth and saliency that develops in the early denoising steps. Row 1: decoded images. Rows 2 & 4 are predictions of probing classifiers based on the LDM’s internal activations. Rows 3 & 5 are baseline predictions from off-the-shelf models that take dec
Figure 1: LDM has an internal representation of depth and saliency that develops in the early denoising steps. Row 1: decoded images. Rows 2 & 4 are predictions of probing classifiers based on the LDM’s internal activations. Rows 3 & 5 are baseline predictions from off-the-shelf models that take dec

실험 결과

연구 질문

  • RQ12D 이미지로만 훈련된 잠재 확산 모델이 3D 시점 깊이의 내부 표현을 갖는가?
  • RQ2모델은 내부 활성화에서 두드러진 객체와 배경을 구분하는 표현도 인코딩하는가?
  • RQ3이러한 기하학적 표현은 노이즈 제거 과정의 어느 단계에서 나타나는가?
  • RQ4이러한 내부 표현이 최종 이미지 출력을 형성하는 데 인과적 역할을 하는가?
  • RQ5이러한 내부 표현을 조작함으로써 시점 기하학의 고수준 편집이 가능한가?

주요 결과

  • 선형 프로빙을 통해 LDM의 내부 활성화가 명시적 깊이 지도 없이도 연속적 깊이와 두드러진 객체/배경 구분의 선형 표현을 인코딩하고 있음을 확인했다.
  • 이러한 기하학적 표현은 노이즈 제거 과정의 초기 단계에서 나타나며, 인간의 인지가 통합된 구조를 인식할 수 있는 시점보다 훨씬 이르다.
  • 간섭 실험 결과, 내부 깊이 표현을 수정함으로써 중앙값 RMSE가 0.63으로 떨어졌고, 이는 빈도 간섭의 1.02보다 유의미하게 낮아, 인과적 역할을 확인했다.
  • 세밀한 간섭을 통해 원하는 깊이 수준에 새로운 두드러진 객체를 성공적으로 삽입하여 내부 표현 편집을 통한 시점 기하학 제어를 입증했다.
  • 깊이 및 두드러짐에 대한 모델의 내부 표현은 강건하고 해석 가능했으며, 훈련되지 않은 랜덤 기준에 대해서도 높은 프로빙 정확도를 보였다.
  • 이러한 발견들은 LDMs가 표면 통계를 넘어서 더 깊은 이해를 습득하고 있으며, 세계 모델링이나 컴퓨터 그래픽스 파이프라인의 일부를 재현할 가능성이 있음을 시사한다.
Figure 2: Probing performance of salient object segmentation and depth estimation on test set. For both tasks, performance grew rapidly in the early denoising process and converged after step 5. The black dashed line is the baseline performance measured on a randomized LDM at step 15, significantly
Figure 2: Probing performance of salient object segmentation and depth estimation on test set. For both tasks, performance grew rapidly in the early denoising process and converged after step 5. The black dashed line is the baseline performance measured on a randomized LDM at step 15, significantly

이 논문 읽기

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

누빈트에서 이 논문 읽기

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