The resilience of reward-based training