From latent dynamics to meaningful representations