Representation Learning Beyond Linear Prediction Functions