Site Logo
mnjm

SimGAN Paper Notes: Better way to learn from Simulated images

Posted on Last edited 4 mins

simgan gan paper

Introduction

Proposed Approach

Pasted-image-20240531143736.png

Loss Functions

Discriminator Loss Function

For Discriminator, the loss function is cross entropy

$$ \mathcal{L}{D}(\phi) = -\sum_ilog(D{\phi}(\tilde{x}i)) - \sum_j\log{(1-D{\phi}(y_j))} $$

Refiner

For the Refiner, the loss function here is made up of two parts:

$$ l_{real}(\theta;\tilde{x_i},Y) = -\sum_i(1-D_{\phi}(R_{\theta}(x_i))) $$

$$ \mathcal{L}R(\theta) = -\sum_i\log{(1-D{\phi}(R_{\theta}(x_i)))} \quad +\lambda||R_{\theta}(x_i)-x_i||_1 $$

Training Algorithm

Pasted-image-20240531144456.png

Training Loop

Suggested improvements

Local - adversarial Loss

Pasted-image-20240531144810.png

History of refined images to train Discriminator

Datasets

Results

Result

Pasted-image-20240531145028.png

A set of randomly shuffled real and refined images was shown to people to differentiate. Above is the confusion matrix of the experiment. This proves that the samples were hard to differentiate.

Pasted-image-20240531145043.png

Pasted-image-20240531145137.png

A simple CNN model was trained on these refined synthetic images, showcasing better results compared to other models trained using real images