AI-based detection