Matching Representation to Perception