The human brain does much the same thing when it processes prediction error. The sensory information from sight is highly redundant like a video, and the same is true for sound, smell, and the other senses. The brain represents this information as patterns of firing neurons, and it’s advantageous (and efficient) to represent it with as few neurons as possible.