To best interpret new sensory information, populations of sensory neurons must represent the lessons of past experience. How do they do this? The same solution to this problem is now reported in two very different sensory systems, providing a classic example of computational convergence.