Since the generated data is based on discrete symbols (words), we usually adopt policy gradient method (Yu et al., 2017) to update model parameters of the generator.
given a bunch of translation candidates sampled from the generator, confidence scores calculated by the discriminator are employed as rewards to update the generator.