Learning Representations for Hierarchies with Minimal Support