Artificial Intelligence in Generation and Recognition