Sometimes seeing artifacts causes learning