AI-driven anomaly detection