Artificial intelligence learns to talk back