12

Play Video Games with Generative AI: GAIL

In the preceding chapters, we have seen how we can use generative AI to produce both simple (restricted Boltzmann machines) and sophisticated (variational autoencoders, generative adversarial models) images, musical notes (MuseGAN), and novel text (BERT, GPT-3).

In all these prior examples, we have focused on generating complex data using deep neural networks. However, neural networks can also be used to learn rules for how an entity (such as a video game character or a vehicle) should respond to an environment to optimize a reward; as we will describe in this chapter, this field is known as reinforcement learning (RL). While RL is not intrinsically tied to either deep learning or generative AI, the ...

Get Generative AI with Python and TensorFlow 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.