Learning Latent Hierarchical Structures Via Probabilistic Models And Deep Learning