Adaptive AI algorithms