Implementation details.
We choose two popular text-to-image synthesis models, AttnGAN [1]} and DM-GAN [2]}, to evaluate our approach.
Note that both AttnGAN and DM-GAN are the stacked architecture with 3 generator-discriminator pairs. To reduce the computational cost, we only calculate the contrastive loss of the fake images of size 256x256 from the last generator.
