프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

Hessian Geometry of Latent Space in Generative Models

생성 모델 잠재 공간의 헤세 기하

  • 연구 문제 확률적 생성 모델의 잠재 공간은 보간 시 급격한 변화를 보이지만, 기존의 pullback 기반 계량은 결정적 매핑을 가정하여 확산 모델이나 통계물리 모델에 직접 적용하기 어렵습니다.
  • 연구 방법 잠재 변수의 사후분포로부터 지수족의 로그 분할함수를 학습하고, 그 헤시안을 Fisher 계량으로 사용하여 측지선과 상 경계를 분석합니다.
  • 주요 결과 Ising과 TASEP에서 재구성된 자유에너지는 정확한 해와 잘 맞으며 기준선보다 낮은 RMSE를 보고합니다. 확산 모델의 2차원 단면에서는 측지선이 한 상 안에서는 대략 선형이지만 상 경계에서 비선형으로 바뀌는 결과가 보고됩니다.

생성 모델 잠재 공간의 곡률 문제

확산 모델과 같은 생성 모델의 잠재 공간은 보간할 때 이미지가 갑자기 바뀌는 불연속적 변화를 보입니다. 기존 연구는 결정적 생성 매핑을 가정하고 픽셀 공간이나 특징 공간의 유클리드 거리를 끌어당겨 잠재 계량을 정의해 왔습니다. 그러나 확률적으로 샘플링하는 확산 모델이나 통계물리 모델에서는 하나의 잠재 변수가 여러 이미지의 분포에 대응하므로 이런 pullback 방식을 그대로 적용하기 어렵습니다.

이 논문은 잠재 변수 t가 주어졌을 때 샘플 분포 p(x|t)를 가지는 모델을 대상으로 합니다. 연구는 2차원 잠재 공간 단면에 한정하여 Fisher 계량을 재구성하고, 이를 이용해 측지선 보간과 상 경계 구조를 분석하는 것을 목표로 합니다.

지수족 로그 분할함수와 Fisher 계량

지수족 분포 p(x|t)=exp(⟨f(x),t⟩−log Z(t))에서 Fisher 계량은 로그 분할함수의 헤시안과 같습니다. 이 논문은 이 성질을 이용해 로그 분할함수 log Z(t)를 학습하고, 그 헤시안으로 Fisher 계량 gF(t)=∇²log Zθ(t)를 얻습니다.

핵심 관찰은 N개의 표본 x1,...,xN이 p(x|t′)에서 나올 때 사후분포 p(t|x1,...,xN)의 N제곱근이 e^(−D_log Z(t)(t,t′))로 수렴한다는 점입니다. 여기서 D는 log Z에 대한 Bregman 발산이며, 지수족에서는 KL 발산과 같아집니다. 따라서 사후분포를 관찰하면 log Z의 정보를 복원할 수 있습니다.

2차원 잠재 공간에서는 Bryant–Amari–Armstrong 정리에 따라 해석적 리만 계량이 국소적으로 헤시안 표현을 가지므로, 지수족이 아닌 생성 모델의 2차원 단면에도 같은 틀을 적용할 수 있다고 저자들은 설명합니다.

사후분포 근사와 Jensen-Shannon 손실

방법은 두 단계로 진행됩니다. 첫 단계에서는 표본으로부터 사후분포 p(t|x1,...,xN)을 근사합니다. Ising과 TASEP처럼 표본이 픽셀 단위로 상관되지 않는 경우에는 U2-Net을 최대우도로 학습시키고, 확산 모델처럼 사전학습된 특징 추출기를 쓸 수 있는 경우에는 CLIP 임베딩 사이의 거리로 KL 발산을 근사합니다.

둘째 단계에서는 정규화된 분포 plogZ(t|t′)를 log Zθ(t)로부터 구성합니다. 이 분포는 사후분포와 Jensen-Shannon 발산 DJS으로 비교되며, 이 발산을 최소화해 θ를 학습합니다. 원문은 MSE 손실이 초기 최적화에서 기울기 소실을 겪기 때문에 이 정규화된 비교를 택했다고 설명합니다. MLP는 5개의 은닉층과 은닉 크기 512, ReLU 활성화로 구성되며, 학습 후에는 볼록 함수로 수렴한다고 보고됩니다.

Figure 11: Training examples for free energy reconstruction. Ground truth images with known generation parameters.
CLIP-induced latent distribution. Predicted…

Figure 11 : Training examples for free energy reconstruction. Ground truth images with known generation parameters. CLIP-induced latent distribution. Predicted distribution from our convex model.

원문 · CC BY 4.0 · Lobashev, Alexander, Guskov, Dmitry, Larchenko, Maria, Tamm, Mikhail · Hessian Geometry of Latent Space in Generative Models · 원문 그림 인용 · 원본 PDF 24쪽에서 그림 영역을 추출했습니다.

Ising과 TASEP 자유에너지 재구성

Ising 모델과 TASEP은 정확한 자유에너지가 알려진 모델이므로 방법의 검증에 사용됩니다. Ising 데이터셋은 128×128 격자와 주기 경계 조건으로 구성되며, TASEP은 M=16384 사이트의 1차원 격자에서 N=150000개의 정상 상태 구성을 사용합니다.

결과 표에서 제안 방법은 Ising의 자유에너지 RMSE가 0.0883 ± 0.0006으로, Mean-as-Stat의 0.0981 ± 0.0010과 PCA-VAE의 0.1669 ± 0.0018보다 낮습니다. 편미분 RMSE도 같은 표에 보고되지만, 이 지표들은 자유에너지 재구성 오차로서 낮을수록 좋은 값입니다. TASEP에서 제안 방법의 자유에너지 RMSE는 0.0112 ± 0.00008이며, Mean-as-Stat 0.0529와 PCA-VAE 0.0524보다 낮습니다. 저자들은 재구성된 자유에너지가 정확한 해와 잘 일치한다고 해석하며, TASEP 결과는 경계 근처를 제외하고 거의 정확하다고 보고합니다.

Table 1: Performance results (RMSE) for ISING and TASEP
models. F stands for Free Energy

Table 1 : Performance results (RMSE) for ISING and TASEP models. F stands for Free Energy.

원문 · CC BY 4.0 · Lobashev, Alexander, Guskov, Dmitry, Larchenko, Maria, Tamm, Mikhail · Hessian Geometry of Latent Space in Generative Models · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

확산 모델 잠재 단면의 측지선과 상 경계

확산 모델 실험은 Stable Diffusion 1.5(Dreamshaper8)에 DDIM 스케줄러로 50 추론 단계와 classifier free guidance 5를 적용한 설정에서 수행됩니다. 세 개의 초기 잠재 z0, z1, z2를 만들고 z = z0 + α(z1 − z0) + β(z2 − z0)로 2차원 격자를 구성합니다. 각 초기 삼중항마다 60000개의 이미지를 생성하며, 결정적 샘플링을 위해 η=0으로 설정합니다.

Figure 7: (A) Geodesic (ours) and linear interpolation between images. Note that our interpolation variant is more
perceptually smooth. (B) Illustration of 60…

Figure 7 : (A) Geodesic (ours) and linear interpolation between images. Note that our interpolation variant is more perceptually smooth. (B) Illustration of 60 000 generated by StableDiffusion images with geodesic plots (C) First and second derivatives of the log-partition function of diffusion model. Note, that second derivatives are diagonal components of the Fisher metric.

원문 · CC BY 4.0 · Lobashev, Alexander, Guskov, Dmitry, Larchenko, Maria, Tamm, Mikhail · Hessian Geometry of Latent Space in Generative Models · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

이 설정에서 저자들은 재구성된 log Z가 부드럽지 않고 미분에 급격한 변화가 있다고 보고합니다. 측지선은 한 상 안에서는 대략 선형이지만 상 경계에서는 비선형으로 벗어납니다. 제안 측지선 보간은 선형 보간보다 지각적으로 더 매끄럽다고 제시됩니다. 이 결과는 Stable Diffusion과 CLIP 거리 기반 사후 근사에 대한 것이며, 다른 특징 추출기나 다른 생성 모델로 확장된 결과는 아닙니다.

Figure 5: Free energy of diffusion model reconstructed with
CLIP distance

Figure 5 : Free energy of diffusion model reconstructed with CLIP distance.

원문 · CC BY 4.0 · Lobashev, Alexander, Guskov, Dmitry, Larchenko, Maria, Tamm, Mikhail · Hessian Geometry of Latent Space in Generative Models · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Figure 6: The fractal structure of phase boundary in the interpolation landscape of diffusion model. The last plot represent
the parameter variations 10−5 betw…

Figure 6 : The fractal structure of phase boundary in the interpolation landscape of diffusion model. The last plot represent the parameter variations 10−5 between neighboring images. The small changes in latent space cause switching between a mountain and a lion.

원문 · CC BY 4.0 · Lobashev, Alexander, Guskov, Dmitry, Larchenko, Maria, Tamm, Mikhail · Hessian Geometry of Latent Space in Generative Models · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Figure 12: First- and second-order derivatives of the diffusion model’s free energy. Discontinuities mark first-order phase
transitions and second-order transi…

Figure 12 : First- and second-order derivatives of the diffusion model’s free energy. Discontinuities mark first-order phase transitions and second-order transitions. Regions of constant derivative correlate with visually distinct phases.

원문 · CC BY 4.0 · Lobashev, Alexander, Guskov, Dmitry, Larchenko, Maria, Tamm, Mikhail · Hessian Geometry of Latent Space in Generative Models · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.
Figure 13: Free energy derivatives of diffusion model’s free energy reconstructed with clip distance. Overlaid grid highlights
regions of constant derivative,…

Figure 13 : Free energy derivatives of diffusion model’s free energy reconstructed with clip distance. Overlaid grid highlights regions of constant derivative, correlating with visually distinct phases.

원문 · CC BY 4.0 · Lobashev, Alexander, Guskov, Dmitry, Larchenko, Maria, Tamm, Mikhail · Hessian Geometry of Latent Space in Generative Models · 원문 그림 인용 · 원본 PDF 26쪽에서 그림 영역을 추출했습니다.

결정적 샘플링에서의 경로 길이와 곡률 비교

결정적 샘플링 조건에서 제안 측지선, 선형 보간, Wang/Shao 방식의 경로를 CLIP 길이, 픽셀 길이, PPL로 비교합니다. 표에서 CLIP 길이는 제안 측지선 72.3 ± 4.00, 선형 73.6 ± 3.54, Wang/Shao 73.6 ± 4.37이며, PPL은 3.12 ± 0.16, 3.17 ± 0.23, 3.19 ± 0.21입니다. 저자들은 이 결과를 결정적 샘플링에서 기존 기준선과 대체로 비슷하다고 봅니다.

평균 곡률은 제안 측지선이 0.367 ± 0.691, 선형 보간이 0.00 ± 0.00, Wang/Shao 방식이 1.33 ± 0.53입니다. 저자들은 Wang/Shao 경로의 높은 곡률을 유한차분 Jacobian에서 생긴 고주파 잡음으로 해석합니다. 이 비교는 결정적 샘플링 조건에 한정되며, 확률적 샘플링에서의 같은 결과는 이 표로 확인되지 않습니다.

Table 2: Comparison of trajectory lengths and curvature in deterministic sampling regime

Table 2 : Comparison of trajectory lengths and curvature in deterministic sampling regime.

원문 · CC BY 4.0 · Lobashev, Alexander, Guskov, Dmitry, Larchenko, Maria, Tamm, Mikhail · Hessian Geometry of Latent Space in Generative Models · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

Lipschitz 발산에 대한 이론적 예시

논문은 확산 모델의 역 과정이 서로 떨어진 저차원 다양체로 매핑될 때 Lyapunov 지수가 발산할 수 있다고 제시합니다. 이를 설명하기 위해 Proposition 4.1은 목표분포가 분산 σ²인 두 가우시안의 혼합이고 잠재 분포가 표준정규분포인 경우를 다룹니다.

명제의 결론은 x=0에서 Lyapunov 지수 λ=β/2·(1+1−σ²/σ⁴)의 형태를 가지며, σ가 0으로 갈수록 발산한다는 것입니다. 저자들은 x=0을 상 전이 경계로 해석합니다. 이 명제는 특정 SDE와 가우시안 혼합 설정에서의 결론이며, 실제 확산 모델 전체에 대한 증명으로 제시된 것은 아닙니다.

Figure 8: Illustration of Proposition 4.1

Figure 8 : Illustration of Proposition 4.1

원문 · CC BY 4.0 · Lobashev, Alexander, Guskov, Dmitry, Larchenko, Maria, Tamm, Mikhail · Hessian Geometry of Latent Space in Generative Models · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

적용 범위와 한계

이 방법의 이론적 보장은 지수족 데이터 분포에 대한 Theorem 3.1과 3.2에 기반합니다. 2차원 단면에 대한 Bryant–Amari–Armstrong 정리는 해석적 계량의 국소 표현을 제공하지만, 확산 모델 실험에서의 결과는 CLIP 거리 기반 사후 근사와 특정 Stable Diffusion 설정에 의존합니다. 원문은 다른 특징 추출기에서도 상 경계가 안정적이었다고 보고하지만, 다른 생성 모델과 설정에서의 일반성은 이 논문의 실험으로 확인되지 않습니다.

또한 상 경계 근처의 분석은 Fisher 계량이 해석적이지 않고 매끄럽지 않은 영역을 가리키지만, 확률적 샘플링에서의 같은 곡률 비교는 제시되지 않았습니다. 노이즈를 추가한 η=0.1 설정에서는 경계가 부드러워진다고 보고되어, 상 경계의 존재가 샘플링 설정에 민감함을 보여 줍니다.

Figure 9: Free energy surface of a diffusion model ( η =
0.1) reconstructed using CLIP distance. Noise injection
smooths the free energy landscape, suppressing…

Figure 9 : Free energy surface of a diffusion model ( η = 0.1) reconstructed using CLIP distance. Noise injection smooths the free energy landscape, suppressing sharp phase boundaries (compare with Fig. 5).

원문 · CC BY 4.0 · Lobashev, Alexander, Guskov, Dmitry, Larchenko, Maria, Tamm, Mikhail · Hessian Geometry of Latent Space in Generative Models · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.

논문 정보

저자
Lobashev, Alexander, Guskov, Dmitry, Larchenko, Maria, Tamm, Mikhail
학회·저널
arXiv · 프리프린트
최초 공개일
2025년 6월 12일
등록일
2026년 10월 29일
수정일
2025년 6월 12일
버전
v1
arXiv
2506.10632
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

This paper presents a novel method for analyzing the latent space geometry of generative models, including statistical physics models and diffusion models, by reconstructing the Fisher information metric. The method approximates the posterior distribution of latent variables given generated samples and uses this to learn the log-partition function, which defines the Fisher metric for exponential families. Theoretical convergence guarantees are provided, and the method is validated on the Ising and TASEP models, outperforming existing baselines in reconstructing thermodynamic quantities. Applied to diffusion models, the method reveals a fractal structure of phase transitions in the latent space, characterized by abrupt changes in the Fisher metric. We demonstrate that while geodesic interpolations are approximately linear within individual phases, this linearity breaks down at phase boundaries, where the diffusion model exhibits a divergent Lipschitz constant with respect to the latent space. These findings provide new insights into the complex structure of diffusion model latent spaces and their connection to phenomena like phase transitions. Our source code is available at https://github.com/alobashev/hessian-geometry-of-diffusion-models.

원문 인용

Lobashev, Alexander, Guskov, Dmitry, Larchenko, Maria, Tamm, Mikhail (2025). Hessian Geometry of Latent Space in Generative Models. arXiv:2506.10632v1. https://arxiv.org/abs/2506.10632v1

BibTeX
@misc{alexander2025hessian,
  title = {{Hessian Geometry of Latent Space in Generative Models}},
  author = {Lobashev, Alexander and Guskov, Dmitry and Larchenko, Maria and Tamm, Mikhail},
  year = {2025},
  eprint = {2506.10632},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.10632v1}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입