Hierarchical Representation Learning with Connectionist Models