Generative Adversarial Networks (GANs) are a class of machine learning models introduced by Goodfellow et al. (2014). GANs consist of two neural networks: a generator ((G)) and a discriminator ((D)). The generator aims to generate data that is indistinguishable from real data, while the discriminator aims to differentiate between real and generated data. The two networks engage in a minimax game, where the generator tries to improve its generation quality to fool the discriminator, and the discriminator tries to become more accurate in distinguishing real from fake data.
Mathematically, the GAN objective can be formulated as:
[
\min_G \max_D V(D, G) = \mathbb{E}{\mathbf{x} \sim p{\text{data}}(\mathbf{x})}[\log D(\mathbf{x})] + \mathbb{E}{\mathbf{z} \sim p{\mathbf{z}}(\mathbf{z})}[\log (1 - D(G(\mathbf{z})))]
]
\paragraph{}
Cycle-GANs, proposed by Zhu et al. (2017), extend GANs to handle image-to-image translation tasks without paired training data. Given two domains, such as photos and paintings, Cycle-GANs learn to translate images from one domain to another and back again, while ensuring that the "cycle consistency" is maintained. The generator networks ((G_{A \to B}) and (G_{B \to A})) and the discriminators are used to enforce the translation and consistency constraints.
Mathematically, the Cycle-GAN objective is given by:
[
\mathcal{L}{\text{CycleGAN}} = \mathcal{L}{\text{GAN}}(G_{A \to B}, D_B) + \mathcal{L}{\text{GAN}}(G{B \to A}, D_A) + \lambda \mathcal{L}{\text{cycle}}(G{A \to B}, G_{B \to A})
]
Finally, StyleGANs, introduced by Karras et al. (2019), are a type of GAN designed for high-quality image synthesis. They allow control over various aspects of image style, such as resolution, content, and style elements. StyleGANs use a mapping network to map a latent vector to an intermediate style space and then generate images with adaptive instance normalization. This architecture provides control over both global and local image features.
Mathematically, StyleGAN involves complex architectural elements, including the mapping network and adaptive instance normalization. The overall objective aligns with the standard GAN formulation.
\paragraph{}
This constituted a major part of my internship at wandercraft and probably was the largest contribution, it is still under developmenet at the time of writing this report.
\paragraph{}
Still on the subject of sim2real transfert, the
Assistant
Sure, here's a more convincing and rigorous rewrite of the section on GANs:
\subsubsection{Generative Adversarial Networks (GANs)}
Generative Adversarial Networks (GANs) are a class of machine learning models introduced by Goodfellow et al. (2014) that have revolutionized the field of computer vision and machine learning. GANs consist of two neural networks: a generator ((G)) and a discriminator ((D)). The generator aims to generate data that is indistinguishable from real data, while the discriminator aims to differentiate between real and generated data. The two networks engage in a minimax game, where the generator tries to improve its generation quality to fool the discriminator, and the discriminator tries to become more accurate in distinguishing real from fake data.
Mathematically, the GAN objective can be formulated as:
[
\min_G \max_D V(D, G) = \mathbb{E}{\mathbf{x} \sim p{\text{data}}(\mathbf{x})}[\log D(\mathbf{x})] + \mathbb{E}{\mathbf{z} \sim p{\mathbf{z}}(\mathbf{z})}[\log (1 - D(G(\mathbf{z})))]
]
This objective function is typically optimized using gradient descent, with the generator and discriminator updates being computed separately. The generator update is given by:
[
\frac{dG}{dt} = - \frac{1}{2} \frac{\partial}{\partial G} \left( (D(G(\mathbf{z})) - \mathbf{1}) \right)
]
And the discriminator update is given by:
[
\frac{dD}{dt} = - \frac{1}{2} \frac{\partial}{\partial D} \left( (1 - D(G(\mathbf{z})) - \mathbf{1}) \right)
]
The GAN architecture is composed of multiple layers, with the generator and discriminator each consisting of multiple layers. The generator and discriminator are typically built using convolutional neural networks (CNNs), which are well-suited for image-to-image translation tasks.
\paragraph{}
Cycle-GANs,