Energy-based Approaches to Representation Learning