Adaptation of learning agents through artificial perception