Adaptive learning in artificial intelligence