Adaptive path-integral autoencoder: representation learning and planning for dynamical systems*This article is an updated version of: Ha J-S, Park Y-J, Chae H-J, Park S-S and Choi H-L 2018 Adaptive path-integral autoencoders: representation learning and planning for dynamical systems Advances in Neural Information Processing Systems vol 31, ed S Bengio et al (Red Hook, NY: Curran Associates, Inc.) pp 8927–38. (20th December 2019)