Conditional Generative Adversarial Nets
Conditional Generative Adversarial Nets
- Link : https://arxiv.org/abs/1411.1784
Abstract
์ด ์ฐ๊ตฌ์์๋ ์กฐ๊ฑด๋ถ GAN(CGAN)์ ์๊ฐํ๋ค. CGAN์ generator์ discriminator์ ์กฐ๊ฑด๋ถ ์ ๋ณด $y$๋ฅผ ์ ๋ ฅ์ผ๋ก ์ ๊ณตํ์ฌ ๊ตฌ์ฑ๋๋ค.
Introduction
๊ธฐ์กด์ GAN์ ์์ฑํ ๋ฐ์ดํฐ๋ฅผ ํต์ ํ ์ ์์ง๋ง, ์ด ๋ ผ๋ฌธ์์๋ Conditional GAN์ ํตํด ์กฐ๊ฑด์ ๋ง๋ ๋ฐ์ดํฐ๋ฅผ ์์ฑํ๋ ์ฆ, data generation process๋ฅผ ํต์ ํ๋ ๋ฐฉ๋ฒ์ ์๊ฐํ๋ค. ์ฌ๊ธฐ์ ๋งํ๋ ์กฐ๊ฑด์ class label์ด๋, ๋ณต์ํ ๋ฐ์ดํฐ์ ์ผ๋ถ ๋๋ ๋ค๋ฅธ ํ์์ ๋ฐ์ดํฐ(different modality)๊ฐ ๋ ์ ์๋ค.
3 Conditional Adversarial Nets
3.1 Generative Adversarial Nets
GAN์ ์์ฑ ๋ชจ๋ธ์ ํ์ตํ๋ ์ฐธ์ ํ ๋ฐฉ๋ฒ์ด๋ค. GAN์ ๋ ๊ฐ์ ์ ๋์ (adversarial) ๋ชจ๋ธ์ธ generator $G$์ discriminator $D$๋ก ๊ตฌ์ฑ๋์ด ์๋ค.
$G$์ $D$๋ ๋์์ ํ์ต์ด ์งํ๋๋ฉฐ, $G$๋ $log \ (1-D(G(z)))$๋ฅผ ์ต์ํํ๋๋ก, $D$๋ $log \ D(X)$๋ฅผ ์ต์ํํ๋๋ก ํ์ต๋๋ค.
$\underset{G}{min}\ \underset{D}{max}V(D,G) = E_{x\sim p_{data(x)}}[logD(x)]+E_{z\sim p_{z(z)}}[log(1-D(G(z)))]$
GAN์ ๋ํ ์์ธํ ์ค๋ช ์ Generative Adversarial Nets
3.2 Conditional Adversarial Nets
GAN์ generator์ discriminator๊ฐ ๋ชจ๋ ์ถ๊ฐ ์ ๋ณด์ธ $y$์ ๋ํด conditioned onํ์ฌ condtional model๋ก ํ์ฅํ ์ ์๋ค. $y$๋ class labels๋ ๋ค๋ฅธ ํ์์ ๋ฐ์ดํฐ(other modalities)์ ๊ฐ์ ๋ณด์กฐ์ ์ธ ์ ๋ณด๊ฐ ๋ ์ ์๊ณ , ์ด๋ฅผ discriminator์ generator์ ์ถ๊ฐ์ input layer๋ก ๋ฃ์ด์ค์ผ๋ก์จ ์กฐ๊ฑด์ ๋ถ์ฌํ ์ ์๋ค.
Generator์์๋ ์ฌ์ ์ ๋ ฅ ๋ ธ์ด์ฆ $p_z(z)$์ $y$๊ฐ hidden representation์ผ๋ก ๊ฒฐํฉํ๊ณ , discriminator์์๋ $x$์ $y$๊ฐ ์ ๋ ฅ๊ณผ discriminative function์ ๋ค์ด๊ฐ๋ค.
$\underset{G}{min}\ \underset{D}{max}V(D,G)=E_{x\sim p_{data}(x)}[log \ D(x | y)] + E_{z\sim p_z(z)}[log \ (1-D(G(z | y)))]$ |
Experimental Results
๊ทธ๋ฆผ์ ๋ณด๋ฉด ๊ฐ ํ๋ง๋ค MNIST digits์ ๋ง๊ฒ ์ด๋ฏธ์ง๊ฐ ์์ฑ๋์์์ ๋ณผ ์ ์๋ค.
Leave a comment