The generator, G, is trained to produce sequences that cannot be distinguished from the ground truth by an adversarially trained discriminator, D, akin to a two-player min-max optimization problem. The generator is also trained to minimize the cross-entropy loss L MLE (G) between the ground truth X i+1 , and the generator output Y i . The following objective summarizes both goals: where λ G and λ M are hyperparameters and L cGAN (G, D) and L MLE (G) are defined in Eqs. (5) and (7) of <cite>[7]</cite> respectively.