Perturbation-based remodeling of visual neural network representations