TREE AND FOREST MODELING WITH LATENT REPRESENTATION