Regularizing Flat Latent Variables with Hierarchical Structures