A form of short-term memory called serial dependence can predict how effectively perceptual learning transfers to novel visual locations.