Reward-guided exploration