Autoencoders are neural network models that learn to compress and decompress images.They can be used as generative image models to generate random images or images from text.Autoencoders can also be utilized in semi-supervised learning to train a language model to produce vector representations of images from captions.Adversarial networks, like generative adversarial networks (GANs), are trained to predict certain outputs and not predict others.