Generalizing in the Real World with Representation Learning