Tag machine learning in AI detection