When you are awake, the world comes in at you through your senses. When you are asleep and dreaming, you create a world from within. An algorithm for deep learning, called “the wake sleep algorithm,” seems to capture this behavior.
I referenced the previous episode in this one, so you may as well have a link to it.
Here’s a link to a 13-minute, jargon heavy lecture on the wake sleep algorithm.