That's the wake sleep algorithm for undirected graphical models.
Hinton had a course on Coursera around 2015 that covered a lot of pre NN deep learning. Sadly I don't think it's up anymore.
There is this with a 2012 date:
https://www.youtube.com/playlist?list=PLoRl3Ht4JOcdU872GhiYW...
There is this with a 2012 date:
https://www.youtube.com/playlist?list=PLoRl3Ht4JOcdU872GhiYW...