프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

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

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

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

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

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

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

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

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

비밀번호를 잊었어요.

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

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

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

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

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

논문 해설

An Introduction to Deep Generative Modeling

심층 생성 모델링 입문

  • 연구 문제 잠재 변수와 데이터 사이의 대응이 없는 상태에서 생성기를 어떻게 학습할지가 핵심 문제입니다.
  • 연구 방법 정규화 흐름, 변분 오토인코더, 생성적 대립 신경망의 세 접근법을 생성기 구조와 목적 함수 관점에서 비교합니다.
  • 주요 결과 moons 예제에서 real NVP와 OT-Flow가 두 반달 분포를 생성했고, MNIST 예제에서 VAE 샘플은 흐리고 GAN 샘플은 선명하지만 일부는 숫자가 아닙니다.

생성 모델의 문제 설정

심층 생성 모델(DGM)은 많은 은닉층을 가진 신경망으로 복잡한 고차원 확률분포를 샘플로부터 근사하는 모델입니다. 이 논문은 생성기 g는 단순한 잠재분포 Z에서 샘플을 받아 데이터 분포 X와 비슷한 점을 만들도록 학습되어야 한다는 문제에서 출발합니다. 핵심 어려움은 잠재 변수 z와 데이터 x 사이에 대응 관계가 대개 알려져 있지 않다는 점입니다. 따라서 생성 샘플과 실제 데이터의 차이를 측정하는 목적 함수를 설계하는 것이 학습의 중심 과제가 됩니다. 저자들은 이 과제를 정규화 흐름, 변분 오토인코더, 생성적 대립 신경망의 세 접근법으로 나누어 정식화합니다.

가역 생성기와 정규화 흐름

정규화 흐름은 생성기 g_θ를 미분동형 사상으로 가정하고, 잠재공간의 차원 q가 데이터 공간의 차원 n과 같다고 봅니다. 이 가정에서는 변수 변환 공식으로 우도를 적분 없이 근사할 수 있습니다. 유한 정규화 흐름은 계산이 쉬운 야코비안 행렬식을 가진 층 f_j를 합성하여 g_θ를 만들며, 역변환과 로그 행렬식을 계산해 최대우도 손실을 최소화합니다. real NVP는 입력을 두 블록으로 나누고 한 블록을 바꾸는 아핀 변환을 교대로 적용하므로 역변환과 야코비안 행렬식을 쉽게 얻을 수 있습니다. 이 방식은 잠재공간과 데이터공간의 차원이 같은 문제에만 직접 적용된다고 설명됩니다.

연속 정규화 흐름과 최적수송

연속 정규화 흐름(CNF)은 상미분방정식의 해로 생성기를 정의합니다. 속도장 v_θ를 적분하여 z에서 y(T)로 가는 변환을 얻고, 역변환은 최종값 문제를 역방향으로 적분하여 구합니다. 로그 행렬식은 야코비 항등식을 이용해 속도장의 발산에 대한 적분으로 계산됩니다. 최적수송과 연결하기 위해 저자들은 L2 수송 비용을 더한 정규화 문제를 제시하고, 이 문제에서 특성곡선이 직선이 된다고 설명합니다. OT-Flow는 흐름을 포텐셜의 기울기로 정의하고 Hamilton-Jacobi-Bellman 조건을 벌점으로 넣어 학습하는 접근으로 소개됩니다.

변분 오토인코더와 증거 하한

변분 오토인코더(VAE)는 생성기가 비가역적일 때 우도를 직접 계산할 수 없다는 문제를 다룹니다. 이를 위해 인코더 e_ψ(z|x)로 잠재 사후분포를 근사하고, 증거 하한(ELBO)을 최대화하는 방식으로 생성기와 근사 사후분포를 함께 학습합니다. 손실은 재구성 항과 근사 사후분포를 잠재분포 방향으로 끌어당기는 KL 항으로 나뉩니다. MNIST 실험에서는 근사 사후분포를 가우시안으로 두고, 재매개변수화 기법으로 샘플을 평균과 공분산 및 표준정규 잡음의 함수로 표현하여 미분을 가능하게 합니다.

생성적 대립 신경망과 안장점 학습

생성적 대립 신경망(GAN)은 우도를 계산하지 않고 데이터 공간에서 생성 분포와 실제 분포를 구분하는 판별기를 함께 학습합니다. 원래 형식은 이진 분류의 교차 엔트로피 손실을 사용하며, 판별기는 최대화하고 생성기는 최소화하는 안장점 문제가 됩니다. Wasserstein GAN은 Wasserstein-1 거리를 Kantorovich-Rubinstein 형식으로 쓰고, 립시츠 1 조건을 만족하는 신경망 f_φ로 근사합니다. 다만 이 립시츠 제약을 충분히 보장하는 것은 어렵다고 설명됩니다.

moons 예제의 검증 설정과 결과

moons 예제는 두 반달 모양 분포를 2차원 잠재공간에서 생성하는 실험입니다. real NVP 실험에서는 여섯 개의 층을 사용하고, 각 층의 스케일과 이동 신경망은 은닉 차원 128의 아핀 층 세 개로 구성됩니다. 학습 가중치는 205,848개이며 ADAM으로 20,000번의 최대우도 학습 단계를 수행하고, 각 단계는 256개 점의 미니배치를 사용합니다. 결과는 생성 샘플과 역변환 히스토그램으로 시각화되며, 잠재 변수가 가우시안과 대략 일치하지만 완전히 일치하지는 않음을 보여줍니다. OT-Flow 실험은 약 1,229개의 학습 파라미터를 사용하며, 이 실험의 결과는 같은 데이터에서 다른 방법의 정량 비교로 해석되지 않습니다.

Figure 2: Visualizing the training data of the two moons dataset in Example 1. Here, the data distribution
(samples represented by blue squares in right subplo…

Figure 2 : Visualizing the training data of the two moons dataset in Example 1. Here, the data distribution (samples represented by blue squares in right subplot) form two disjoint half moon shaped clusters. As the dataset does not live on a lower dimensional manifold, we assume an intrinsic dimension of two and try to find a generator from the q = 2 dimensional normal distribution (left subplot) to the data. In practice, it is common to model the generator as an invertible transformation, which simplifies the training; see Section 3.

원문 · CC BY 4.0 · Lars Ruthotto, Eldad Haber · An Introduction to Deep Generative Modeling · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.
Figure 5: Normalizing flow results for the moon problem described in Example 1. Here, we use a real NVP
approach with six hidden layers to transform samples fro…

Figure 5 : Normalizing flow results for the moon problem described in Example 1. Here, we use a real NVP approach with six hidden layers to transform samples from the standard normal distribution (red dots) to match the given data (blue squares). In the first subplot from the left, we show one batch of the training data. In the second subplot, we show the likelihood estimate superimposed by generated samples (blue square). Here, it is worth noting that, due to the flow model’s smoothness, the two half-moons appear to be connected. In the third subplot, we show the generator’s hidden layers for six randomly chosen latent variables as inputs (red dots). Due to the alternating fashion of the layers, the transformation for every layer is limited to one of the coordinates. In the fourth subplot, we show a two-dimensional histogram of the inverse transformation applied to 50,000 samples from the moon data set, superimposed by a few randomly chosen examples. As expected, the latent variables do approximately, but not perfectly, match a Gaussian distribution; see, for example, a narrow blue line passing approximately vertically through the origin that separates the parts associated with each cluster of the dataset.

원문 · CC BY 4.0 · Lars Ruthotto, Eldad Haber · An Introduction to Deep Generative Modeling · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.
Figure 6: Continuous normalizing flow results for the moon problem described in Example 1. Here, we use
the OT-Flow approach [36] to transform samples from the…

Figure 6 : Continuous normalizing flow results for the moon problem described in Example 1. Here, we use the OT-Flow approach [36] to transform samples from the standard normal distribution (red dots) to match the given data (blue squares). In the first subplot from the left, we show one batch of the training data. In the second subplot, we show the likelihood estimate superimposed by generated samples (blue square). Despite the smoothness of the model, the two half-moons appear almost disconnected. In the third subplot, we show the hidden layers of the generator for six randomly chosen latent variables as inputs (red dots). Since the training is regularized by the transport costs, the characteristics are almost straight lines, which allows to invert the flow by integrating backwards in time. In the fourth subplot, we show a two-dimensional histogram of the inverse transformation applied to 50,000 samples from the moon data set, superimposed by a few randomly chosen examples. As expected, the latent variables do approximately, but not entirely, match a Gaussian distribution. In particular, note the narrow gap in the center of the domain that separates the parts associated with each cluster of the dataset.

원문 · CC BY 4.0 · Lars Ruthotto, Eldad Haber · An Introduction to Deep Generative Modeling · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

MNIST 예제의 생성 결과와 한계

MNIST 실험은 28×28 픽셀의 손글씨 숫자 이미지를 2차원 잠재공간에서 생성하는 예제입니다. VAE로 학습한 생성기의 샘플은 실제 이미지보다 흐리게 나타나며, 그럼에도 대부분의 샘플에서 손글씨 숫자를 알아볼 수 있다고 보고됩니다. 반면 GAN 계열의 샘플은 더 선명하지만 숫자로 보이지 않는 샘플도 포함되어 있습니다. 근사 사후분포의 샘플 분포는 표준정규분포와 다르게 나타나므로, 잠재공간 샘플링에 대한 우려가 남습니다.

Figure 3: Illustration of the MNIST image generation process in Example 2. Here, the intrinsic dimension of
the dataset (right) is unknown but assumed to be mu…

Figure 3 : Illustration of the MNIST image generation process in Example 2. Here, the intrinsic dimension of the dataset (right) is unknown but assumed to be much less than the number of pixels per image, n = 784. In our example, we define the latent variable to be distributed according to the q = 2-dimensional standard normal distribution (left). Compared to the moons example (see Figure 2), the generator cannot be assumed to be invertible. This complicates the density estimation and the training process.

원문 · CC BY 4.0 · Lars Ruthotto, Eldad Haber · An Introduction to Deep Generative Modeling · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Figure 7: Illustrating the error caused by the approximated posterior (21) in the variational autoencoder for
two example images from the MNIST dataset (row-wi…

Figure 7 : Illustrating the error caused by the approximated posterior (21) in the variational autoencoder for two example images from the MNIST dataset (row-wise). For the images in the left column, we compute the log posterior (up to a constant shift) on a rectangular grid and depict its maximum a posteriori (MAP) estimate with a blue square (second column). The third column shows the reconstruction associated with the MAP estimate, which looks comparable to the true image in both cases. For these examples, the approximate posteriors and their MAP points (red dots in the second and fourth column) are slightly different from the true posterior. The impact of this error is different in both cases. In the example shown in the first row, we observe a substantial reconstruction error (right column) leading to an incorrect digit. The situation is slightly better for the example in the bottom row, where the reconstruction error is minimal. However, we note that the true posteriors in both cases are far from being Gaussian. This motivates the use of more sophisticated approximate posteriors.

원문 · CC BY 4.0 · Lars Ruthotto, Eldad Haber · An Introduction to Deep Generative Modeling · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.
Figure 9: Comparison of true MNIST images (top left) to randomly drawn samples from the trained VAE,
DCGAN, and WGAN (first, second, and third column, respectiv…

Figure 9 : Comparison of true MNIST images (top left) to randomly drawn samples from the trained VAE, DCGAN, and WGAN (first, second, and third column, respectively). While most samples from the generator trained using the VAE framework clearly show hand-written digits, the images tend to be blurry. While the best images generated using the GAN approaches are indistinguishable from the true MNIST images, there are more samples in which no hand-written digit is shown. The human eye can easily detect those as fakes.

원문 · CC BY 4.0 · Lars Ruthotto, Eldad Haber · An Introduction to Deep Generative Modeling · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

세 접근법의 비교와 적용 범위

정규화 흐름은 가역성과 야코비안 계산이 가능한 경우에 우도를 직접 다룰 수 있지만, 잠재 차원이 데이터의 고유 차원과 같다는 제한이 있습니다. VAE는 비가역 생성기와 다른 잠재 차원을 다룰 수 있으나 근사 사후분포의 오차가 남습니다. GAN은 우도를 계산하지 않고 샘플만으로 생성기를 학습하지만, 안장점 문제 때문에 학습이 어렵고 하이퍼파라미터에 민감하다고 저자들은 설명합니다. 최대우도 학습에서 KL 발산은 대칭이 아니므로 생성기의 지지집합에 영향을 준다는 점도 함께 고려해야 합니다.

논문 정보

저자
Lars Ruthotto, Eldad Haber
학회·저널
arXiv · 프리프린트
최초 공개일
2021년 3월 9일
등록일
2026년 11월 6일
수정일
2021년 4월 12일
버전
v2
arXiv
2103.05180
분류
cs.LG
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

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

초록

Deep generative models (DGM) are neural networks with many hidden layers trained to approximate complicated, high-dimensional probability distributions using a large number of samples. When trained successfully, we can use the DGMs to estimate the likelihood of each observation and to create new samples from the underlying distribution. Developing DGMs has become one of the most hotly researched fields in artificial intelligence in recent years. The literature on DGMs has become vast and is growing rapidly. Some advances have even reached the public sphere, for example, the recent successes in generating realistic-looking images, voices, or movies; so-called deep fakes. Despite these successes, several mathematical and practical issues limit the broader use of DGMs: given a specific dataset, it remains challenging to design and train a DGM and even more challenging to find out why a particular model is or is not effective. To help advance the theoretical understanding of DGMs, we introduce DGMs and provide a concise mathematical framework for modeling the three most popular approaches: normalizing flows (NF), variational autoencoders (VAE), and generative adversarial networks (GAN). We illustrate the advantages and disadvantages of these basic approaches using numerical experiments. Our goal is to enable and motivate the reader to contribute to this proliferating research area. Our presentation also emphasizes relations between generative modeling and optimal transport.

원문 인용

Lars Ruthotto, Eldad Haber (2021). An Introduction to Deep Generative Modeling. arXiv:2103.05180v2. https://arxiv.org/abs/2103.05180v2

BibTeX
@misc{ruthotto2021introduction,
  title = {{An Introduction to Deep Generative Modeling}},
  author = {Lars Ruthotto and Eldad Haber},
  year = {2021},
  eprint = {2103.05180},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.05180v2}
}

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

논문 미리 보기
계정 보안

Google 계정 연결

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

Refivu

회원탈퇴

Refivu
Refivu

회원가입